Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_recv.h127 void r8712_free_recvframe(union recv_frame *precvframe,
131 int r8712_wlanhdr_to_ethhdr(union recv_frame *precvframe);
134 static inline u8 *get_rxmem(union recv_frame *precvframe) in get_rxmem() argument
137 if (!precvframe) in get_rxmem()
139 return precvframe->u.hdr.rx_head; in get_rxmem()
142 static inline u8 *recvframe_pull(union recv_frame *precvframe, sint sz) in recvframe_pull() argument
147 if (!precvframe) in recvframe_pull()
149 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
150 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
151 precvframe->u.hdr.rx_data -= sz; in recvframe_pull()
[all …]
Drtl871x_recv.c50 union recv_frame *precvframe; in _r8712_init_recv_priv() local
67 precvframe = (union recv_frame *)precvpriv->precv_frame_buf; in _r8712_init_recv_priv()
69 INIT_LIST_HEAD(&(precvframe->u.list)); in _r8712_init_recv_priv()
70 list_add_tail(&(precvframe->u.list), in _r8712_init_recv_priv()
72 r8712_os_recv_resource_alloc(padapter, precvframe); in _r8712_init_recv_priv()
73 precvframe->u.hdr.adapter = padapter; in _r8712_init_recv_priv()
74 precvframe++; in _r8712_init_recv_priv()
93 union recv_frame *precvframe; in r8712_alloc_recvframe() local
98 precvframe = list_first_entry_or_null(&pfree_recv_queue->queue, in r8712_alloc_recvframe()
100 if (precvframe) { in r8712_alloc_recvframe()
[all …]
Drtl8712_recv.c115 void r8712_free_recvframe(union recv_frame *precvframe, in r8712_free_recvframe() argument
119 struct _adapter *padapter = precvframe->u.hdr.adapter; in r8712_free_recvframe()
122 if (precvframe->u.hdr.pkt) { in r8712_free_recvframe()
123 dev_kfree_skb_any(precvframe->u.hdr.pkt);/*free skb by driver*/ in r8712_free_recvframe()
124 precvframe->u.hdr.pkt = NULL; in r8712_free_recvframe()
127 list_del_init(&precvframe->u.hdr.list); in r8712_free_recvframe()
128 list_add_tail(&precvframe->u.hdr.list, &pfree_recv_queue->queue); in r8712_free_recvframe()
981 union recv_frame *precvframe = NULL; in recvbuf2recvframe() local
1015 precvframe = r8712_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe()
1016 if (!precvframe) in recvbuf2recvframe()
[all …]
Drecv_linux.c33 union recv_frame *precvframe) in r8712_os_recv_resource_alloc() argument
35 precvframe->u.hdr.pkt_newalloc = NULL; in r8712_os_recv_resource_alloc()
36 precvframe->u.hdr.pkt = NULL; in r8712_os_recv_resource_alloc()
Drtl871x_security.h212 void r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe);
213 void r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe);
214 void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe);
Drtl871x_security.c208 void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_wep_decrypt() argument
217 precvframe)->u.hdr.attrib); in r8712_wep_decrypt()
220 pframe = (unsigned char *)((union recv_frame *)precvframe)-> in r8712_wep_decrypt()
232 length = ((union recv_frame *)precvframe)-> in r8712_wep_decrypt()
638 void r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_tkip_decrypt() argument
651 precvframe)->u.hdr.attrib; in r8712_tkip_decrypt()
655 precvframe)->u.hdr.rx_data; in r8712_tkip_decrypt()
664 length = ((union recv_frame *)precvframe)-> in r8712_tkip_decrypt()
1343 void r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_aes_decrypt() argument
1350 precvframe)->u.hdr.attrib; in r8712_aes_decrypt()
[all …]
Drecv_osdep.h32 union recv_frame *precvframe);
/drivers/staging/rtl8723bs/include/
Drtw_recv.h364 extern int rtw_free_recvframe(union recv_frame *precvframe, struct __queue *pfree_recv_queue);
367 extern int _rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
368 extern int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
379 static inline u8 *get_rxmem(union recv_frame *precvframe) in get_rxmem() argument
382 if (precvframe == NULL) in get_rxmem()
385 return precvframe->u.hdr.rx_head; in get_rxmem()
388 static inline u8 *recvframe_pull(union recv_frame *precvframe, signed int sz) in recvframe_pull() argument
395 if (precvframe == NULL) in recvframe_pull()
399 precvframe->u.hdr.rx_data += sz; in recvframe_pull()
401 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
[all …]
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);
Drtw_security.h270 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe);
271 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe);
272 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe);
273 u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe);
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);
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c21 union recv_frame *precvframe, in update_recvframe_attrib() argument
35 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib()
75 static void update_recvframe_phyinfo(union recv_frame *precvframe, in update_recvframe_phyinfo() argument
78 struct adapter *padapter = precvframe->u.hdr.adapter; in update_recvframe_phyinfo()
79 struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; in update_recvframe_phyinfo()
84 u8 *wlanhdr = precvframe->u.hdr.rx_data; in update_recvframe_phyinfo()
136 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo()
142 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
143 rtl8723b_process_phy_info(padapter, precvframe); in update_recvframe_phyinfo()
149 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
[all …]
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()
/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c13 void rtw_os_free_recvframe(union recv_frame *precvframe) in rtw_os_free_recvframe() argument
15 if (precvframe->u.hdr.pkt) { in rtw_os_free_recvframe()
16 dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ in rtw_os_free_recvframe()
18 precvframe->u.hdr.pkt = NULL; in rtw_os_free_recvframe()
23 void rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe) in rtw_os_recv_resource_alloc() argument
25 precvframe->u.hdr.pkt_newalloc = precvframe->u.hdr.pkt = NULL; in rtw_os_recv_resource_alloc()
32 union recv_frame *precvframe; in rtw_os_recv_resource_free() local
34 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free()
37 if (precvframe->u.hdr.pkt) { in rtw_os_recv_resource_free()
39 dev_kfree_skb_any(precvframe->u.hdr.pkt); in rtw_os_recv_resource_free()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_recv.c35 union recv_frame *precvframe; in _rtw_init_recv_priv() local
62 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in _rtw_init_recv_priv()
66 INIT_LIST_HEAD(&(precvframe->u.list)); in _rtw_init_recv_priv()
68 list_add_tail(&(precvframe->u.list), &(precvpriv->free_recv_queue.queue)); in _rtw_init_recv_priv()
70 rtw_os_recv_resource_alloc(padapter, precvframe); in _rtw_init_recv_priv()
72 precvframe->u.hdr.len = 0; in _rtw_init_recv_priv()
74 precvframe->u.hdr.adapter = padapter; in _rtw_init_recv_priv()
75 precvframe++; in _rtw_init_recv_priv()
108 union recv_frame *precvframe; in _rtw_alloc_recvframe() local
114 precvframe = NULL; in _rtw_alloc_recvframe()
[all …]
Drtw_security.c94 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_wep_decrypt() argument
102 struct rx_pkt_attrib *prxattrib = &(((union recv_frame *)precvframe)->u.hdr.attrib); in rtw_wep_decrypt()
106 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_wep_decrypt()
117 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_wep_decrypt()
534 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_tkip_decrypt() argument
546 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_tkip_decrypt()
551 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_tkip_decrypt()
606 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_tkip_decrypt()
1288 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_aes_decrypt() argument
1299 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_aes_decrypt()
[all …]