recv_frame
goto recv_frame;
recv_frame:
unsigned int OnAssocRsp(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnDeAuth(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnDisassoc(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAtim(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int on_action_spct(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAction_back(struct adapter *padapter, union recv_frame *precv_frame)
static s32 rtw_action_public_decache(union recv_frame *recv_frame, s32 token)
struct adapter *adapter = recv_frame->u.hdr.adapter;
u8 *frame = recv_frame->u.hdr.rx_data;
u16 seq_ctrl = ((recv_frame->u.hdr.attrib.seq_num&0xffff) << 4) |
(recv_frame->u.hdr.attrib.frag_num & 0xf);
static unsigned int on_action_public_p2p(union recv_frame *precv_frame)
static unsigned int on_action_public_vendor(union recv_frame *precv_frame)
static unsigned int on_action_public_default(union recv_frame *precv_frame, u8 action)
unsigned int on_action_public(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAction_ht(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAction_sa_query(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAction(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int DoReserved(struct adapter *padapter, union recv_frame *precv_frame)
u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, struct wlan_bssid_ex *bssid)
static void _mgt_dispatcher(struct adapter *padapter, struct mlme_handler *ptable, union recv_frame *precv_frame)
void mgt_dispatcher(struct adapter *padapter, union recv_frame *precv_frame)
void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnProbeRsp(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnBeacon(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAuth(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_frame)
unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)
precvframe = (union recv_frame *)precvpriv->precv_frame_buf;
static union recv_frame *recvframe_defrag(struct adapter *adapter,
union recv_frame *prframe, *pnextrframe;
prframe = (union recv_frame *)plist;
pnextrframe = (union recv_frame *)plist;
static union recv_frame *recvframe_chk_defrag(struct adapter *padapter, union recv_frame *precv_frame)
union recv_frame *_rtw_alloc_recvframe(struct __queue *pfree_recv_queue)
union recv_frame *prtnframe = NULL;
union recv_frame *precvframe;
static signed int validate_recv_mgnt_frame(struct adapter *padapter, union recv_frame *precv_frame)
static signed int validate_recv_data_frame(struct adapter *adapter, union recv_frame *precv_frame)
precvframe = (union recv_frame *)plist;
static signed int validate_80211w_mgmt(struct adapter *adapter, union recv_frame *precv_frame)
union recv_frame *rtw_alloc_recvframe(struct __queue *pfree_recv_queue)
union recv_frame *precvframe;
static signed int validate_recv_frame(struct adapter *adapter, union recv_frame *precv_frame)
static signed int wlanhdr_to_ethhdr(union recv_frame *precvframe)
int rtw_free_recvframe(union recv_frame *precvframe, struct __queue *pfree_recv_queue)
static struct sk_buff *rtw_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata)
static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)
static int enqueue_reorder_recvframe(struct recv_reorder_ctrl *preorder_ctrl, union recv_frame *prframe)
union recv_frame *pnextrframe;
pnextrframe = (union recv_frame *)plist;
signed int _rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue)
static int rtw_recv_indicatepkt(struct adapter *padapter, union recv_frame *precv_frame)
union recv_frame *prframe;
prframe = (union recv_frame *)plist;
prframe = (union recv_frame *)plist;
static int recv_indicatepkt_reorder(struct adapter *padapter, union recv_frame *prframe)
signed int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue)
static int process_recv_indicatepkts(struct adapter *padapter, union recv_frame *prframe)
static int recv_func_prehandle(struct adapter *padapter, union recv_frame *rframe)
static int recv_func_posthandle(struct adapter *padapter, union recv_frame *prframe)
union recv_frame *orig_prframe = prframe;
static int recv_func(struct adapter *padapter, union recv_frame *rframe)
union recv_frame *pending_frame;
s32 rtw_recv_entry(union recv_frame *precvframe)
union recv_frame *precvframe;
precvframe = (union recv_frame *)plist;
union recv_frame *pending_frame;
union recv_frame *precvframe;
static signed int recvframe_chkmic(struct adapter *adapter, union recv_frame *precvframe)
static union recv_frame *decryptor(struct adapter *padapter, union recv_frame *precv_frame)
union recv_frame *return_packet = precv_frame;
precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_SZ);
static union recv_frame *portctrl(struct adapter *adapter, union recv_frame *precv_frame)
union recv_frame *prtnframe;
static signed int recv_decache(union recv_frame *precv_frame, u8 bretry, struct stainfo_rxcache *prxcache)
static void process_pwrbit_data(struct adapter *padapter, union recv_frame *precv_frame)
precvframe = (union recv_frame *) precvpriv->precv_frame_buf;
static void process_wmmps_data(struct adapter *padapter, union recv_frame *precv_frame)
static void count_rx_stats(struct adapter *padapter, union recv_frame *prframe, struct sta_info *sta)
static signed int sta2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame,
static signed int ap2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame,
static signed int sta2ap_data_frame(struct adapter *adapter, union recv_frame *precv_frame,
static signed int validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_frame)
union recv_frame *precvframe;
struct rx_pkt_attrib *prxattrib = &(((union recv_frame *)precvframe)->u.hdr.attrib);
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
length = ((union recv_frame *)precvframe)->u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len;
struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib;
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
length = ((union recv_frame *)precvframe)->u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len;
struct rx_pkt_attrib *pattrib = &((union recv_frame *)precvframe)->u.hdr.attrib;
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib;
pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data;
length = ((union recv_frame *)precvframe)->u.hdr.len - prxattrib->hdrlen - prxattrib->iv_len;
union recv_frame *prframe;
prframe = (union recv_frame *)plist;
static void process_rssi(struct adapter *padapter, union recv_frame *prframe)
static void process_link_qual(struct adapter *padapter, union recv_frame *prframe)
union recv_frame *precvframe = prframe;
static inline union recv_frame *try_alloc_recvframe(struct recv_priv *precvpriv,
union recv_frame *precvframe;
union recv_frame *precvframe)
union recv_frame *precvframe,
union recv_frame *precvframe)
union recv_frame *precvframe;
static void update_recvframe_phyinfo(union recv_frame *precvframe,
void rtl8192c_translate_rx_signal_stuff(union recv_frame *precvframe, struct phy_stat *pphy_status);
void rtl8192c_query_rx_desc_status(union recv_frame *precvframe, struct recv_stat *pdesc);
void rtl8723b_query_rx_phy_status(union recv_frame *prframe, struct phy_stat *pphy_stat);
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, struct wlan_bssid_ex *bssid);
void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAssocRsp(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnProbeRsp(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int DoReserved(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnBeacon(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAtim(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnDisassoc(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAuth(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAuthClient(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnDeAuth(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAction(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int on_action_spct(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAction_back(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int on_action_public(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAction_ht(struct adapter *padapter, union recv_frame *precv_frame);
unsigned int OnAction_sa_query(struct adapter *padapter, union recv_frame *precv_frame);
extern union recv_frame *_rtw_alloc_recvframe(struct __queue *pfree_recv_queue); /* get a free recv_frame from pfree_recv_queue */
extern union recv_frame *rtw_alloc_recvframe(struct __queue *pfree_recv_queue); /* get a free recv_frame from pfree_recv_queue */
extern int rtw_free_recvframe(union recv_frame *precvframe, struct __queue *pfree_recv_queue);
extern int _rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
extern int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
s32 rtw_recv_entry(union recv_frame *precv_frame);
static inline u8 *get_rxmem(union recv_frame *precvframe)
static inline u8 *recvframe_pull(union recv_frame *precvframe, signed int sz)
static inline u8 *recvframe_put(union recv_frame *precvframe, signed int sz)
static inline u8 *recvframe_pull_tail(union recv_frame *precvframe, signed int sz)
static inline signed int get_recvframe_len(union recv_frame *precvframe)
extern void mgt_dispatcher(struct adapter *padapter, union recv_frame *precv_frame);
frame = recv_frame(ring, frame);