/drivers/staging/r8188eu/include/ |
D | rtw_recv.h | 277 void rtw_init_recvframe(struct recv_frame *precvframe, 279 int rtw_free_recvframe(struct recv_frame *precvframe, 282 int _rtw_enqueue_recvframe(struct recv_frame *precvframe, struct __queue *queue); 283 int rtw_enqueue_recvframe(struct recv_frame *precvframe, struct __queue *queue); 293 static inline u8 *get_rxmem(struct recv_frame *precvframe) in get_rxmem() argument 296 if (precvframe == NULL) in get_rxmem() 298 return precvframe->rx_head; in get_rxmem() 301 static inline u8 *get_rx_status(struct recv_frame *precvframe) in get_rx_status() argument 303 return get_rxmem(precvframe); in get_rx_status() 306 static inline u8 *get_recvframe_data(struct recv_frame *precvframe) in get_recvframe_data() argument [all …]
|
D | rtw_security.h | 336 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe); 337 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe); 338 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe);
|
/drivers/staging/rtl8712/ |
D | rtl871x_recv.h | 127 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 *get_recvframe_data(union recv_frame *precvframe) in get_recvframe_data() argument 145 if (!precvframe) in get_recvframe_data() 147 return precvframe->u.hdr.rx_data; in get_recvframe_data() 150 static inline u8 *recvframe_pull(union recv_frame *precvframe, sint sz) in recvframe_pull() argument 155 if (!precvframe) in recvframe_pull() [all …]
|
D | rtl871x_recv.c | 51 union recv_frame *precvframe; in _r8712_init_recv_priv() local 69 precvframe = (union recv_frame *)precvpriv->precv_frame_buf; in _r8712_init_recv_priv() 71 INIT_LIST_HEAD(&(precvframe->u.list)); in _r8712_init_recv_priv() 72 list_add_tail(&(precvframe->u.list), in _r8712_init_recv_priv() 74 r8712_os_recv_resource_alloc(padapter, precvframe); in _r8712_init_recv_priv() 75 precvframe->u.hdr.adapter = padapter; in _r8712_init_recv_priv() 76 precvframe++; in _r8712_init_recv_priv() 91 union recv_frame *precvframe; in r8712_alloc_recvframe() local 96 precvframe = list_first_entry_or_null(&pfree_recv_queue->queue, in r8712_alloc_recvframe() 98 if (precvframe) { in r8712_alloc_recvframe() [all …]
|
D | rtl8712_recv.c | 114 void r8712_free_recvframe(union recv_frame *precvframe, in r8712_free_recvframe() argument 118 struct _adapter *padapter = precvframe->u.hdr.adapter; in r8712_free_recvframe() 121 if (precvframe->u.hdr.pkt) { in r8712_free_recvframe() 122 dev_kfree_skb_any(precvframe->u.hdr.pkt);/*free skb by driver*/ in r8712_free_recvframe() 123 precvframe->u.hdr.pkt = NULL; in r8712_free_recvframe() 126 list_del_init(&(precvframe->u.hdr.list)); in r8712_free_recvframe() 127 list_add_tail(&(precvframe->u.hdr.list), &pfree_recv_queue->queue); in r8712_free_recvframe() 980 union recv_frame *precvframe = NULL; in recvbuf2recvframe() local 1014 precvframe = r8712_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe() 1015 if (!precvframe) in recvbuf2recvframe() [all …]
|
D | recv_linux.c | 33 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()
|
D | rtl871x_security.h | 212 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);
|
D | rtl871x_security.c | 208 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() 639 void r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_tkip_decrypt() argument 652 precvframe)->u.hdr.attrib; in r8712_tkip_decrypt() 656 precvframe)->u.hdr.rx_data; in r8712_tkip_decrypt() 665 length = ((union recv_frame *)precvframe)-> in r8712_tkip_decrypt() 1344 void r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_aes_decrypt() argument 1351 precvframe)->u.hdr.attrib; in r8712_aes_decrypt() [all …]
|
D | recv_osdep.h | 32 union recv_frame *precvframe);
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 364 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 *get_recvframe_data(union recv_frame *precvframe) in get_recvframe_data() argument 392 if (precvframe == NULL) in get_recvframe_data() 395 return precvframe->u.hdr.rx_data; in get_recvframe_data() 399 static inline u8 *recvframe_pull(union recv_frame *precvframe, signed int sz) in recvframe_pull() argument [all …]
|
D | rtl8192c_recv.h | 38 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);
|
D | rtw_security.h | 270 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);
|
D | recv_osdep.h | 25 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/ |
D | rtl8723bs_recv.c | 21 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() 103 wlanhdr = get_recvframe_data(precvframe); in update_recvframe_phyinfo() 137 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo() 143 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo() 144 rtl8723b_process_phy_info(padapter, precvframe); in update_recvframe_phyinfo() 150 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo() [all …]
|
D | rtl8723b_rxdesc.c | 55 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/r8188eu/hal/ |
D | usb_ops_linux.c | 194 struct recv_frame *precvframe = NULL; in recvbuf2recvframe() local 209 precvframe = rtw_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe() 210 if (!precvframe) { in recvbuf2recvframe() 215 INIT_LIST_HEAD(&precvframe->list); in recvbuf2recvframe() 216 precvframe->precvbuf = NULL; /* can't access the precvbuf for new arch. */ in recvbuf2recvframe() 217 precvframe->len = 0; in recvbuf2recvframe() 219 update_recvframe_attrib_88e(precvframe, prxstat); in recvbuf2recvframe() 221 pattrib = &precvframe->attrib; in recvbuf2recvframe() 226 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe() 237 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe() [all …]
|
D | rtl8188e_rxdesc.c | 50 struct recv_frame *precvframe = (struct recv_frame *)prframe; in rtl8188e_process_phy_info() local 53 process_rssi(padapter, precvframe); in rtl8188e_process_phy_info() 55 process_link_qual(padapter, precvframe); in rtl8188e_process_phy_info() 58 void update_recvframe_attrib_88e(struct recv_frame *precvframe, struct recv_stat *prxstat) in update_recvframe_attrib_88e() argument 70 pattrib = &precvframe->attrib; in update_recvframe_attrib_88e() 125 void update_recvframe_phyinfo_88e(struct recv_frame *precvframe, struct phy_stat *pphy_status) in update_recvframe_phyinfo_88e() argument 127 struct adapter *padapter = precvframe->adapter; in update_recvframe_phyinfo_88e() 128 struct rx_pkt_attrib *pattrib = &precvframe->attrib; in update_recvframe_phyinfo_88e() 141 wlanhdr = get_recvframe_data(precvframe); in update_recvframe_phyinfo_88e() 172 precvframe->psta = NULL; in update_recvframe_phyinfo_88e() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 13 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/ |
D | rtw_recv.c | 34 union recv_frame *precvframe; in _rtw_init_recv_priv() local 58 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in _rtw_init_recv_priv() 62 INIT_LIST_HEAD(&(precvframe->u.list)); in _rtw_init_recv_priv() 64 list_add_tail(&(precvframe->u.list), &(precvpriv->free_recv_queue.queue)); in _rtw_init_recv_priv() 66 rtw_os_recv_resource_alloc(padapter, precvframe); in _rtw_init_recv_priv() 68 precvframe->u.hdr.len = 0; in _rtw_init_recv_priv() 70 precvframe->u.hdr.adapter = padapter; in _rtw_init_recv_priv() 71 precvframe++; in _rtw_init_recv_priv() 104 union recv_frame *precvframe; in _rtw_alloc_recvframe() local 110 precvframe = NULL; in _rtw_alloc_recvframe() [all …]
|
D | rtw_security.c | 94 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 …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_recv.c | 42 struct recv_frame *precvframe; in _rtw_init_recv_priv() local 67 precvframe = (struct recv_frame *)precvpriv->precv_frame_buf; in _rtw_init_recv_priv() 70 INIT_LIST_HEAD(&precvframe->list); in _rtw_init_recv_priv() 72 list_add_tail(&precvframe->list, &precvpriv->free_recv_queue.queue); in _rtw_init_recv_priv() 74 res = rtw_os_recv_resource_alloc(padapter, precvframe); in _rtw_init_recv_priv() 76 precvframe->len = 0; in _rtw_init_recv_priv() 78 precvframe->adapter = padapter; in _rtw_init_recv_priv() 79 precvframe++; in _rtw_init_recv_priv() 139 struct recv_frame *precvframe; in rtw_alloc_recvframe() local 143 precvframe = _rtw_alloc_recvframe(pfree_recv_queue); in rtw_alloc_recvframe() [all …]
|
D | rtw_security.c | 139 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_wep_decrypt() argument 147 struct rx_pkt_attrib *prxattrib = &(((struct recv_frame *)precvframe)->attrib); in rtw_wep_decrypt() 150 pframe = (unsigned char *)((struct recv_frame *)precvframe)->rx_data; in rtw_wep_decrypt() 159 length = ((struct recv_frame *)precvframe)->len - prxattrib->hdrlen - prxattrib->iv_len; in rtw_wep_decrypt() 585 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_tkip_decrypt() argument 601 struct rx_pkt_attrib *prxattrib = &((struct recv_frame *)precvframe)->attrib; in rtw_tkip_decrypt() 605 pframe = (unsigned char *)((struct recv_frame *)precvframe)->rx_data; in rtw_tkip_decrypt() 624 length = ((struct recv_frame *)precvframe)->len - prxattrib->hdrlen - prxattrib->iv_len; in rtw_tkip_decrypt() 1409 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_aes_decrypt() argument 1415 struct rx_pkt_attrib *prxattrib = &((struct recv_frame *)precvframe)->attrib; in rtw_aes_decrypt() [all …]
|
/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 24 struct recv_frame *precvframe) in rtw_os_recv_resource_alloc() argument 26 precvframe->pkt_newalloc = NULL; in rtw_os_recv_resource_alloc() 27 precvframe->pkt = NULL; in rtw_os_recv_resource_alloc()
|