Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_recv.h131 void r8712_free_recvframe(union recv_frame *precvframe,
135 int r8712_wlanhdr_to_ethhdr(union recv_frame *precvframe);
138 static inline u8 *get_rxmem(union recv_frame *precvframe) in get_rxmem() argument
141 if (precvframe == NULL) in get_rxmem()
143 return precvframe->u.hdr.rx_head; in get_rxmem()
146 static inline u8 *get_recvframe_data(union recv_frame *precvframe) in get_recvframe_data() argument
149 if (precvframe == NULL) in get_recvframe_data()
151 return precvframe->u.hdr.rx_data; in get_recvframe_data()
154 static inline u8 *recvframe_pull(union recv_frame *precvframe, sint sz) in recvframe_pull() argument
159 if (precvframe == NULL) in recvframe_pull()
[all …]
Drtl871x_recv.c55 union recv_frame *precvframe; in _r8712_init_recv_priv() local
73 precvframe = (union recv_frame *)precvpriv->precv_frame_buf; in _r8712_init_recv_priv()
75 INIT_LIST_HEAD(&(precvframe->u.list)); in _r8712_init_recv_priv()
76 list_add_tail(&(precvframe->u.list), in _r8712_init_recv_priv()
78 r8712_os_recv_resource_alloc(padapter, precvframe); in _r8712_init_recv_priv()
79 precvframe->u.hdr.adapter = padapter; in _r8712_init_recv_priv()
80 precvframe++; in _r8712_init_recv_priv()
95 union recv_frame *precvframe; in r8712_alloc_recvframe() local
100 precvframe = list_first_entry_or_null(&pfree_recv_queue->queue, in r8712_alloc_recvframe()
102 if (precvframe) { in r8712_alloc_recvframe()
[all …]
Drtl8712_recv.c121 void r8712_free_recvframe(union recv_frame *precvframe, in r8712_free_recvframe() argument
125 struct _adapter *padapter = precvframe->u.hdr.adapter; in r8712_free_recvframe()
128 if (precvframe->u.hdr.pkt) { in r8712_free_recvframe()
129 dev_kfree_skb_any(precvframe->u.hdr.pkt);/*free skb by driver*/ in r8712_free_recvframe()
130 precvframe->u.hdr.pkt = NULL; in r8712_free_recvframe()
133 list_del_init(&(precvframe->u.hdr.list)); in r8712_free_recvframe()
134 list_add_tail(&(precvframe->u.hdr.list), &pfree_recv_queue->queue); in r8712_free_recvframe()
994 union recv_frame *precvframe = NULL; in recvbuf2recvframe() local
1028 precvframe = r8712_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe()
1029 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()
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 …]
Drecv_osdep.h32 union recv_frame *precvframe);
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_recv.h393 extern int rtw_free_recvframe(union recv_frame *precvframe, struct __queue *pfree_recv_queue);
396 extern int _rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
397 extern int rtw_enqueue_recvframe(union recv_frame *precvframe, struct __queue *queue);
408 static inline u8 *get_rxmem(union recv_frame *precvframe) in get_rxmem() argument
411 if (precvframe == NULL) in get_rxmem()
414 return precvframe->u.hdr.rx_head; in get_rxmem()
417 static inline u8 *get_recvframe_data(union recv_frame *precvframe) in get_recvframe_data() argument
421 if (precvframe == NULL) in get_recvframe_data()
424 return precvframe->u.hdr.rx_data; in get_recvframe_data()
428 static inline u8 *recvframe_pull(union recv_frame *precvframe, sint sz) in recvframe_pull() argument
[all …]
Drtl8192c_recv.h39 void rtl8192c_translate_rx_signal_stuff(union recv_frame *precvframe, struct phy_stat *pphy_status);
40 void rtl8192c_query_rx_desc_status(union recv_frame *precvframe, struct recv_stat *pdesc);
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);
Drtw_security.h424 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe);
425 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe);
426 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe);
427 u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe);
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c22 union recv_frame *precvframe, in update_recvframe_attrib() argument
36 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib()
77 static void update_recvframe_phyinfo(union recv_frame *precvframe, in update_recvframe_phyinfo() argument
80 struct adapter *padapter = precvframe->u.hdr.adapter; in update_recvframe_phyinfo()
81 struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; in update_recvframe_phyinfo()
105 wlanhdr = get_recvframe_data(precvframe); in update_recvframe_phyinfo()
141 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo()
147 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
148 rtl8723b_process_phy_info(padapter, precvframe); in update_recvframe_phyinfo()
154 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
[all …]
Drtl8723b_rxdesc.c59 union recv_frame *precvframe = prframe; in rtl8723b_process_phy_info() local
63 process_rssi(padapter, precvframe); in rtl8723b_process_phy_info()
73 process_link_qual(padapter, precvframe); in rtl8723b_process_phy_info()
/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Drtl8188e_rxdesc.c53 struct recv_frame *precvframe) in rtl8188e_process_phy_info() argument
56 process_rssi(padapter, precvframe); in rtl8188e_process_phy_info()
58 process_link_qual(padapter, precvframe); in rtl8188e_process_phy_info()
61 void update_recvframe_attrib_88e(struct recv_frame *precvframe, in update_recvframe_attrib_88e() argument
74 pattrib = &precvframe->attrib; in update_recvframe_attrib_88e()
129 void update_recvframe_phyinfo_88e(struct recv_frame *precvframe, in update_recvframe_phyinfo_88e() argument
132 struct adapter *padapter = precvframe->adapter; in update_recvframe_phyinfo_88e()
133 struct rx_pkt_attrib *pattrib = &precvframe->attrib; in update_recvframe_phyinfo_88e()
145 wlanhdr = precvframe->pkt->data; in update_recvframe_phyinfo_88e()
177 precvframe->psta = NULL; in update_recvframe_phyinfo_88e()
[all …]
/Linux-v5.4/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()
38 dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ in rtw_os_recv_resource_free()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_recv.c38 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()
109 union recv_frame *precvframe; in _rtw_alloc_recvframe() local
115 precvframe = NULL; in _rtw_alloc_recvframe()
[all …]
Drtw_security.c271 void rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_wep_decrypt() argument
280 struct rx_pkt_attrib *prxattrib = &(((union recv_frame *)precvframe)->u.hdr.attrib); in rtw_wep_decrypt()
283 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_wep_decrypt()
294 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_wep_decrypt()
759 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_tkip_decrypt() argument
773 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_tkip_decrypt()
778 pframe = (unsigned char *)((union recv_frame *)precvframe)->u.hdr.rx_data; in rtw_tkip_decrypt()
831 length = ((union recv_frame *)precvframe)->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_tkip_decrypt()
1848 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_aes_decrypt() argument
1862 struct rx_pkt_attrib *prxattrib = &((union recv_frame *)precvframe)->u.hdr.attrib; in rtw_aes_decrypt()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_recv.c49 struct recv_frame *precvframe; in _rtw_init_recv_priv() local
64 precvframe = PTR_ALIGN(precvpriv->pallocated_frame_buf, RXFRAME_ALIGN_SZ); in _rtw_init_recv_priv()
67 INIT_LIST_HEAD(&precvframe->list); in _rtw_init_recv_priv()
69 list_add_tail(&precvframe->list, in _rtw_init_recv_priv()
72 precvframe->pkt = NULL; in _rtw_init_recv_priv()
74 precvframe->adapter = padapter; in _rtw_init_recv_priv()
75 precvframe++; in _rtw_init_recv_priv()
114 struct recv_frame *precvframe; in rtw_alloc_recvframe() local
118 precvframe = _rtw_alloc_recvframe(pfree_recv_queue); in rtw_alloc_recvframe()
122 return precvframe; in rtw_alloc_recvframe()
[all …]
Drtw_security.c201 int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_wep_decrypt() argument
203 struct rx_pkt_attrib *prxattrib = &(((struct recv_frame *)precvframe)->attrib); in rtw_wep_decrypt()
207 struct sk_buff *skb = ((struct recv_frame *)precvframe)->pkt; in rtw_wep_decrypt()
656 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_tkip_decrypt() argument
669 struct rx_pkt_attrib *prxattrib = &((struct recv_frame *)precvframe)->attrib; in rtw_tkip_decrypt()
674 pframe = (unsigned char *)((struct recv_frame *)precvframe)->pkt->data; in rtw_tkip_decrypt()
694 length = ((struct recv_frame *)precvframe)->pkt->len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_tkip_decrypt()
1278 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_aes_decrypt() argument
1280 struct rx_pkt_attrib *prxattrib = &((struct recv_frame *)precvframe)->attrib; in rtw_aes_decrypt()
1290 struct sk_buff *skb = ((struct recv_frame *)precvframe)->pkt; in rtw_aes_decrypt()
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c42 struct recv_frame *precvframe = NULL; in recvbuf2recvframe() local
62 precvframe = rtw_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe()
63 if (!precvframe) { in recvbuf2recvframe()
70 INIT_LIST_HEAD(&precvframe->list); in recvbuf2recvframe()
72 update_recvframe_attrib_88e(precvframe, prxstat); in recvbuf2recvframe()
74 pattrib = &precvframe->attrib; in recvbuf2recvframe()
79 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe()
92 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe()
122 precvframe->pkt = pkt_copy; in recvbuf2recvframe()
129 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/include/
Drtw_recv.h232 void rtw_init_recvframe(struct recv_frame *precvframe,
234 int rtw_free_recvframe(struct recv_frame *precvframe,
237 int _rtw_enqueue_recvframe(struct recv_frame *precvframe,
239 int rtw_enqueue_recvframe(struct recv_frame *precvframe, struct __queue *queue);
Drtw_security.h301 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe);
302 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe);
303 int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe);