Home
last modified time | relevance | path

Searched refs:precvframe (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/staging/rtl8723bs/include/
H A Drtw_recv.h349 extern int rtw_free_recvframe(union recv_frame *precvframe, struct __queue *pfree_recv_queue);
351 extern int _rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
352 extern int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
363 static inline u8 *get_rxmem(union recv_frame *precvframe) in get_rxmem() argument
366 if (precvframe == NULL) in get_rxmem()
369 return precvframe->u.hdr.rx_head; in get_rxmem()
372 static inline u8 *recvframe_pull(union recv_frame *precvframe, signed int sz) in recvframe_pull() argument
379 if (precvframe == NULL) in recvframe_pull()
383 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
385 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
[all …]
H A Drtl8192c_recv.h38 void rtl8192c_translate_rx_signal_stuff(union recv_frame *precvframe, struct phy_stat *pphy_status);
39 void rtl8192c_query_rx_desc_status(union recv_frame *precvframe, struct recv_stat *pdesc);
H A Drtw_security.h264 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe);
265 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe);
266 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe);
267 u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe);
H A Drecv_osdep.h25 void rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe);
29 void rtw_os_free_recvframe(union recv_frame *precvframe);
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_recv.c20 union recv_frame *precvframe, in update_recvframe_attrib() argument
34 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib()
74 static void update_recvframe_phyinfo(union recv_frame *precvframe, in update_recvframe_phyinfo() argument
77 struct adapter *padapter = precvframe->u.hdr.adapter; in update_recvframe_phyinfo()
78 struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; in update_recvframe_phyinfo()
83 u8 *wlanhdr = precvframe->u.hdr.rx_data; in update_recvframe_phyinfo()
135 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo()
141 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
142 rtl8723b_process_phy_info(padapter, precvframe); in update_recvframe_phyinfo()
148 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
[all …]
H A Drtl8723b_rxdesc.c55 union recv_frame *precvframe = prframe; in rtl8723b_process_phy_info() local
59 process_rssi(padapter, precvframe); in rtl8723b_process_phy_info()
69 process_link_qual(padapter, precvframe); in rtl8723b_process_phy_info()
/linux/drivers/staging/rtl8723bs/os_dep/
H A Drecv_linux.c12 void rtw_os_free_recvframe(union recv_frame *precvframe) in rtw_os_free_recvframe() argument
14 if (precvframe->u.hdr.pkt) { in rtw_os_free_recvframe()
15 dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ in rtw_os_free_recvframe()
17 precvframe->u.hdr.pkt = NULL; in rtw_os_free_recvframe()
22 void rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe) in rtw_os_recv_resource_alloc() argument
24 precvframe->u.hdr.pkt_newalloc = precvframe->u.hdr.pkt = NULL; in rtw_os_recv_resource_alloc()
31 union recv_frame *precvframe; in rtw_os_recv_resource_free() local
33 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free()
36 if (precvframe->u.hdr.pkt) { in rtw_os_recv_resource_free()
38 dev_kfree_skb_any(precvframe->u.hdr.pkt); in rtw_os_recv_resource_free()
[all …]
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c34 union recv_frame *precvframe; in _rtw_init_recv_priv() local
61 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in _rtw_init_recv_priv()
65 INIT_LIST_HEAD(&(precvframe->u.list)); in _rtw_init_recv_priv()
67 list_add_tail(&(precvframe->u.list), &(precvpriv->free_recv_queue.queue)); in _rtw_init_recv_priv()
69 rtw_os_recv_resource_alloc(padapter, precvframe); in _rtw_init_recv_priv()
71 precvframe->u.hdr.len = 0; in _rtw_init_recv_priv()
73 precvframe->u.hdr.adapter = padapter; in _rtw_init_recv_priv()
74 precvframe++; in _rtw_init_recv_priv()
107 union recv_frame *precvframe; in _rtw_alloc_recvframe() local
113 precvframe = NULL; in _rtw_alloc_recvframe()
[all …]
H A Drtw_security.c93 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_wep_decrypt() argument
101 struct rx_pkt_attrib *prxattrib = &(((union recv_frame *)precvframe)->u.hdr.attrib); in rtw_wep_decrypt()
105 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_wep_decrypt()
116 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_wep_decrypt()
533 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_tkip_decrypt() argument
545 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_tkip_decrypt()
550 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_tkip_decrypt()
605 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_tkip_decrypt()
1287 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_aes_decrypt() argument
1298 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_aes_decrypt()
[all …]