Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_recv.h131 int 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.c67 union recv_frame *precvframe; in _r8712_init_recv_priv() local
85 precvframe = (union recv_frame *)precvpriv->precv_frame_buf; in _r8712_init_recv_priv()
87 INIT_LIST_HEAD(&(precvframe->u.list)); in _r8712_init_recv_priv()
88 list_add_tail(&(precvframe->u.list), in _r8712_init_recv_priv()
90 r8712_os_recv_resource_alloc(padapter, precvframe); in _r8712_init_recv_priv()
91 precvframe->u.hdr.adapter = padapter; in _r8712_init_recv_priv()
92 precvframe++; in _r8712_init_recv_priv()
107 union recv_frame *precvframe; in r8712_alloc_recvframe() local
112 precvframe = list_first_entry_or_null(&pfree_recv_queue->queue, in r8712_alloc_recvframe()
114 if (precvframe) { in r8712_alloc_recvframe()
[all …]
Drtl8712_recv.c136 int r8712_free_recvframe(union recv_frame *precvframe, in r8712_free_recvframe() argument
140 struct _adapter *padapter = precvframe->u.hdr.adapter; in r8712_free_recvframe()
143 if (precvframe->u.hdr.pkt) { in r8712_free_recvframe()
144 dev_kfree_skb_any(precvframe->u.hdr.pkt);/*free skb by driver*/ in r8712_free_recvframe()
145 precvframe->u.hdr.pkt = NULL; in r8712_free_recvframe()
148 list_del_init(&(precvframe->u.hdr.list)); in r8712_free_recvframe()
149 list_add_tail(&(precvframe->u.hdr.list), &pfree_recv_queue->queue); in r8712_free_recvframe()
1016 union recv_frame *precvframe = NULL; in recvbuf2recvframe() local
1050 precvframe = r8712_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe()
1051 if (!precvframe) in recvbuf2recvframe()
[all …]
Drecv_linux.c45 union recv_frame *precvframe) in r8712_os_recv_resource_alloc() argument
47 precvframe->u.hdr.pkt_newalloc = NULL; in r8712_os_recv_resource_alloc()
48 precvframe->u.hdr.pkt = NULL; in r8712_os_recv_resource_alloc()
Drtl871x_security.h224 u32 r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe);
225 u32 r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe);
226 void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe);
Drtl871x_security.c220 void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_wep_decrypt() argument
229 precvframe)->u.hdr.attrib); in r8712_wep_decrypt()
232 pframe = (unsigned char *)((union recv_frame *)precvframe)-> in r8712_wep_decrypt()
244 length = ((union recv_frame *)precvframe)-> in r8712_wep_decrypt()
651 u32 r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_tkip_decrypt() argument
664 precvframe)->u.hdr.attrib; in r8712_tkip_decrypt()
668 precvframe)->u.hdr.rx_data; in r8712_tkip_decrypt()
677 length = ((union recv_frame *)precvframe)-> in r8712_tkip_decrypt()
1366 u32 r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_aes_decrypt() argument
1373 precvframe)->u.hdr.attrib; in r8712_aes_decrypt()
[all …]
Drecv_osdep.h44 union recv_frame *precvframe);
/Linux-v4.19/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 __inline static 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 __inline static 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 __inline static 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 int 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-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c24 union recv_frame *precvframe, in update_recvframe_attrib() argument
38 pattrib = &precvframe->u.hdr.attrib; in update_recvframe_attrib()
79 static void update_recvframe_phyinfo(union recv_frame *precvframe, in update_recvframe_phyinfo() argument
82 struct adapter *padapter = precvframe->u.hdr.adapter; in update_recvframe_phyinfo()
83 struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; in update_recvframe_phyinfo()
107 wlanhdr = get_recvframe_data(precvframe); in update_recvframe_phyinfo()
143 precvframe->u.hdr.psta = NULL; in update_recvframe_phyinfo()
149 precvframe->u.hdr.psta = psta; in update_recvframe_phyinfo()
150 rtl8723b_process_phy_info(padapter, precvframe); in update_recvframe_phyinfo()
156 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-v4.19/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-v4.19/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()
17 dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ in rtw_os_free_recvframe()
19 precvframe->u.hdr.pkt = NULL; in rtw_os_free_recvframe()
24 int rtw_os_recv_resource_alloc(struct adapter *padapter, union recv_frame *precvframe) in rtw_os_recv_resource_alloc() argument
28 precvframe->u.hdr.pkt_newalloc = precvframe->u.hdr.pkt = NULL; in rtw_os_recv_resource_alloc()
37 union recv_frame *precvframe; in rtw_os_recv_resource_free() local
39 precvframe = (union recv_frame*) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free()
43 if (precvframe->u.hdr.pkt) in rtw_os_recv_resource_free()
45 dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */ in rtw_os_recv_resource_free()
[all …]
/Linux-v4.19/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.c202 int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_wep_decrypt() argument
204 struct rx_pkt_attrib *prxattrib = &(((struct recv_frame *)precvframe)->attrib); in rtw_wep_decrypt()
208 struct sk_buff *skb = ((struct recv_frame *)precvframe)->pkt; in rtw_wep_decrypt()
657 u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_tkip_decrypt() argument
670 struct rx_pkt_attrib *prxattrib = &((struct recv_frame *)precvframe)->attrib; in rtw_tkip_decrypt()
675 pframe = (unsigned char *)((struct recv_frame *)precvframe)->pkt->data; in rtw_tkip_decrypt()
695 length = ((struct recv_frame *)precvframe)->pkt->len-prxattrib->hdrlen-prxattrib->iv_len; in rtw_tkip_decrypt()
1280 u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) in rtw_aes_decrypt() argument
1282 struct rx_pkt_attrib *prxattrib = &((struct recv_frame *)precvframe)->attrib; in rtw_aes_decrypt()
1292 struct sk_buff *skb = ((struct recv_frame *)precvframe)->pkt; in rtw_aes_decrypt()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c41 struct recv_frame *precvframe = NULL; in recvbuf2recvframe() local
60 precvframe = rtw_alloc_recvframe(pfree_recv_queue); in recvbuf2recvframe()
61 if (!precvframe) { in recvbuf2recvframe()
67 INIT_LIST_HEAD(&precvframe->list); in recvbuf2recvframe()
69 update_recvframe_attrib_88e(precvframe, prxstat); in recvbuf2recvframe()
71 pattrib = &precvframe->attrib; in recvbuf2recvframe()
76 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe()
88 rtw_free_recvframe(precvframe, pfree_recv_queue); in recvbuf2recvframe()
118 precvframe->pkt = pkt_copy; in recvbuf2recvframe()
122 skb_put(precvframe->pkt, skb_len); in recvbuf2recvframe()
[all …]
/Linux-v4.19/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 res = 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-v4.19/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);