Home
last modified time | relevance | path

Searched refs:pxmitframe (Results 1 – 25 of 30) sorted by relevance

12

/linux-5.19.10/drivers/staging/rtl8712/
Drtl8712_xmit.c26 struct xmit_frame *pxmitframe);
27 static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz);
82 static u32 get_ff_hwaddr(struct xmit_frame *pxmitframe) in get_ff_hwaddr() argument
85 struct pkt_attrib *pattrib = &pxmitframe->attrib; in get_ff_hwaddr()
86 struct _adapter *padapter = pxmitframe->padapter; in get_ff_hwaddr()
89 if (pxmitframe->frame_tag == TXAGG_FRAMETAG) { in get_ff_hwaddr()
91 } else if (pxmitframe->frame_tag == MGNT_FRAMETAG) { in get_ff_hwaddr()
155 struct xmit_frame *pxmitframe = NULL; in dequeue_one_xmitframe() local
160 pxmitframe = container_of(xmitframe_plist, in dequeue_one_xmitframe()
162 list_del_init(&pxmitframe->list); in dequeue_one_xmitframe()
[all …]
Drtl871x_xmit.c155 struct xmit_frame *pxmitframe = (struct xmit_frame *) in _free_xmit_priv() local
162 r8712_xmit_complete(padapter, pxmitframe); in _free_xmit_priv()
163 pxmitframe++; in _free_xmit_priv()
345 struct xmit_frame *pxmitframe) in xmitframe_addmic() argument
352 struct pkt_attrib *pattrib = &pxmitframe->attrib; in xmitframe_addmic()
368 pframe = pxmitframe->buf_addr + TXDESC_OFFSET; in xmitframe_addmic()
406 priority[0] = (u8)pxmitframe->attrib.priority; in xmitframe_addmic()
446 struct xmit_frame *pxmitframe) in xmitframe_swencrypt() argument
448 struct pkt_attrib *pattrib = &pxmitframe->attrib; in xmitframe_swencrypt()
454 r8712_wep_encrypt(padapter, (u8 *)pxmitframe); in xmitframe_swencrypt()
[all …]
Dusb_ops_linux.c332 struct xmit_frame *pxmitframe = (struct xmit_frame *)purb->context; in usb_write_port_complete() local
333 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in usb_write_port_complete()
334 struct _adapter *padapter = pxmitframe->padapter; in usb_write_port_complete()
336 struct pkt_attrib *pattrib = &pxmitframe->attrib; in usb_write_port_complete()
359 if (purb == pxmitframe->pxmit_urb[i]) { in usb_write_port_complete()
360 pxmitframe->bpending[i] = false; in usb_write_port_complete()
375 r8712_free_xmitframe_ex(pxmitpriv, pxmitframe); in usb_write_port_complete()
390 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port() local
392 struct pkt_attrib *pattrib = &pxmitframe->attrib; in r8712_usb_write_port()
398 if (!pxmitframe->bpending[i]) { in r8712_usb_write_port()
[all …]
Drtl871x_xmit.h258 struct xmit_frame *pxmitframe);
262 struct xmit_frame *pxmitframe);
264 struct xmit_frame *pxmitframe);
275 struct xmit_frame *pxmitframe);
276 int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe);
278 struct xmit_frame *pxmitframe);
279 void r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe);
282 void xmitframe_xmitbuf_attach(struct xmit_frame *pxmitframe,
Drtl8712_xmit.h103 struct xmit_frame *pxmitframe);
105 struct xmit_frame *pxmitframe);
Drtl871x_security.h209 u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe);
210 u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe);
211 void r8712_wep_encrypt(struct _adapter *padapter, u8 *pxmitframe);
Drtl871x_security.c151 void r8712_wep_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_wep_encrypt() argument
159 pxmitframe)->attrib; in r8712_wep_encrypt()
163 if (((struct xmit_frame *)pxmitframe)->buf_addr == NULL) in r8712_wep_encrypt()
165 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; in r8712_wep_encrypt()
558 u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_tkip_encrypt() argument
571 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in r8712_tkip_encrypt()
575 if (((struct xmit_frame *)pxmitframe)->buf_addr == NULL) in r8712_tkip_encrypt()
578 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; in r8712_tkip_encrypt()
1136 u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_aes_encrypt() argument
1143 pxmitframe)->attrib; in r8712_aes_encrypt()
[all …]
/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c150 static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bagg_pkt) in update_txdesc() argument
155 struct adapter *adapt = pxmitframe->padapter; in update_txdesc()
156 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_txdesc()
176 if (pxmitframe->pkt_offset > 0) in update_txdesc()
177 ptxdesc->txdw1 |= cpu_to_le32((pxmitframe->pkt_offset << 26) & 0x7c000000); in update_txdesc()
182 if ((pxmitframe->frame_tag & 0x0f) == DATA_FRAMETAG) { in update_txdesc()
210 if (pxmitframe->agg_num > 1) in update_txdesc()
211 ptxdesc->txdw5 |= cpu_to_le32((pxmitframe->agg_num << USB_TXAGG_NUM_SHT) & 0xFF000000); in update_txdesc()
242 } else if ((pxmitframe->frame_tag & 0x0f) == MGNT_FRAMETAG) { in update_txdesc()
253 if (pxmitframe->ack_report) in update_txdesc()
[all …]
/linux-5.19.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c178 struct xmit_frame *pxmitframe; in xmit_xmitframes() local
189 pxmitframe = NULL; in xmit_xmitframes()
234 pxmitframe = container_of(frame_plist, struct xmit_frame, list); in xmit_xmitframes()
237 txlen = txdesc_size + rtw_wlan_pkt_size(pxmitframe); in xmit_xmitframes()
277 (pxmitframe->attrib.psta->state & WIFI_SLEEP_STATE) && in xmit_xmitframes()
278 (pxmitframe->attrib.triggered == 0) in xmit_xmitframes()
282 list_del_init(&pxmitframe->list); in xmit_xmitframes()
287 pxmitbuf->ff_hwaddr = rtw_get_ff_hwaddr(pxmitframe); in xmit_xmitframes()
288 pxmitbuf->priv_data = (u8 *)pxmitframe; in xmit_xmitframes()
292 pxmitframe->pxmitbuf = pxmitbuf; in xmit_xmitframes()
[all …]
Dhal_intf.c191 s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_hal_xmitframe_enqueue() argument
194 return padapter->HalFunc.hal_xmitframe_enqueue(padapter, pxmitframe); in rtw_hal_xmitframe_enqueue()
199 s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_hal_xmit() argument
202 return padapter->HalFunc.hal_xmit(padapter, pxmitframe); in rtw_hal_xmit()
Drtl8723b_hal_init.c2591 struct xmit_frame *pxmitframe, u8 *pbuf in rtl8723b_fill_default_txdesc() argument
2604 padapter = pxmitframe->padapter; in rtl8723b_fill_default_txdesc()
2609 pattrib = &pxmitframe->attrib; in rtl8723b_fill_default_txdesc()
2614 if (pxmitframe->frame_tag == DATA_FRAMETAG) { in rtl8723b_fill_default_txdesc()
2682 ptxdesc->usb_txagg_num = pxmitframe->agg_num; in rtl8723b_fill_default_txdesc()
2683 } else if (pxmitframe->frame_tag == MGNT_FRAMETAG) { in rtl8723b_fill_default_txdesc()
2702 if (pxmitframe->ack_report) { in rtl8723b_fill_default_txdesc()
2744 void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pbuf) in rtl8723b_update_txdesc() argument
2748 rtl8723b_fill_default_txdesc(pxmitframe, pbuf); in rtl8723b_update_txdesc()
/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_xmit.c216 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv() local
225 rtw_os_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv()
227 pxmitframe++; in _rtw_free_xmit_priv()
252 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info() argument
255 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info()
583 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic() argument
589 struct pkt_attrib *pattrib = &pxmitframe->attrib; in xmitframe_addmic()
600 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in xmitframe_addmic()
609 pframe = pxmitframe->buf_addr + hw_hdr_offset; in xmitframe_addmic()
640 priority[0] = (u8)pxmitframe->attrib.priority; in xmitframe_addmic()
[all …]
Drtw_security.c16 void rtw_wep_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_wep_encrypt() argument
29 struct pkt_attrib *pattrib = &pxmitframe->attrib; in rtw_wep_encrypt()
34 if (!pxmitframe->buf_addr) in rtw_wep_encrypt()
37 hw_hdr_offset = TXDESC_SIZE + pxmitframe->pkt_offset * PACKET_OFFSET_SZ; in rtw_wep_encrypt()
38 pframe = pxmitframe->buf_addr + hw_hdr_offset; in rtw_wep_encrypt()
439 u32 rtw_tkip_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_tkip_encrypt() argument
455 struct pkt_attrib *pattrib = &pxmitframe->attrib; in rtw_tkip_encrypt()
461 if (!pxmitframe->buf_addr) in rtw_tkip_encrypt()
464 hw_hdr_offset = TXDESC_SIZE + pxmitframe->pkt_offset * PACKET_OFFSET_SZ; in rtw_tkip_encrypt()
465 pframe = pxmitframe->buf_addr + hw_hdr_offset; in rtw_tkip_encrypt()
[all …]
Drtw_recv.c850 struct xmit_frame *pxmitframe = NULL; in validate_recv_ctrl_frame() local
859 pxmitframe = container_of(xmitframe_plist, struct xmit_frame, list); in validate_recv_ctrl_frame()
863 list_del_init(&pxmitframe->list); in validate_recv_ctrl_frame()
868 pxmitframe->attrib.mdata = 1; in validate_recv_ctrl_frame()
870 pxmitframe->attrib.mdata = 0; in validate_recv_ctrl_frame()
872 pxmitframe->attrib.triggered = 1; in validate_recv_ctrl_frame()
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_xmit.c278 struct xmit_frame *pxmitframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv() local
287 rtw_os_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv()
289 pxmitframe++; in _rtw_free_xmit_priv()
302 pxmitframe = (struct xmit_frame *)pxmitpriv->xframe_ext; in _rtw_free_xmit_priv()
303 if (pxmitframe) { in _rtw_free_xmit_priv()
305 rtw_os_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv()
306 pxmitframe++; in _rtw_free_xmit_priv()
353 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info() argument
356 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info()
758 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic() argument
[all …]
Drtw_security.c36 void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe) in rtw_wep_encrypt() argument
49 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_wep_encrypt()
54 if (!((struct xmit_frame *)pxmitframe)->buf_addr) in rtw_wep_encrypt()
58 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_wep_encrypt()
458 u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe) in rtw_tkip_encrypt() argument
473 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_tkip_encrypt()
479 if (!((struct xmit_frame *)pxmitframe)->buf_addr) in rtw_tkip_encrypt()
483 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_tkip_encrypt()
1030 u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe) in rtw_aes_encrypt() argument
1040 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_aes_encrypt()
[all …]
Drtw_recv.c959 struct xmit_frame *pxmitframe = NULL; in validate_recv_ctrl_frame() local
969 pxmitframe = container_of(xmitframe_plist, struct xmit_frame, list); in validate_recv_ctrl_frame()
973 list_del_init(&pxmitframe->list); in validate_recv_ctrl_frame()
978 pxmitframe->attrib.mdata = 1; in validate_recv_ctrl_frame()
980 pxmitframe->attrib.mdata = 0; in validate_recv_ctrl_frame()
982 pxmitframe->attrib.triggered = 1; in validate_recv_ctrl_frame()
984 rtw_hal_xmitframe_enqueue(padapter, pxmitframe); in validate_recv_ctrl_frame()
/linux-5.19.10/drivers/staging/r8188eu/include/
Drtw_xmit.h314 struct xmit_frame *pxmitframe, int sz);
322 struct xmit_frame *pxmitframe);
328 struct xmit_frame *pxmitframe);
333 struct xmit_frame *pxmitframe);
335 struct xmit_frame *pxmitframe);
348 int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe);
354 u32 rtw_get_ff_hwaddr(struct xmit_frame *pxmitframe);
Drtw_security.h224 u32 rtw_aes_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe);
225 u32 rtw_tkip_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe);
226 void rtw_wep_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe);
Drtw_mlme.h583 struct xmit_frame *pxmitframe);
/linux-5.19.10/drivers/staging/rtl8723bs/include/
Drtw_xmit.h440 void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz);
448 extern s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe);
451 extern s32 rtw_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
453 extern s32 rtw_xmit_classifier(struct adapter *padapter, struct xmit_frame *pxmitframe);
456 …w_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame *pxmitframe);
457 …t_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame *pxmitframe);
477 …ed int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe);
493 u32 rtw_get_ff_hwaddr(struct xmit_frame *pxmitframe);
Drtw_security.h266 u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe);
267 u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe);
268 void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe);
Dhal_intf.h229 s32 (*hal_xmit)(struct adapter *padapter, struct xmit_frame *pxmitframe);
234 s32 (*hal_xmitframe_enqueue)(struct adapter *padapter, struct xmit_frame *pxmitframe);
311 s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
312 s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe);
Drtl8723b_xmit.h405 void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem);
410 s32 rtl8723bs_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe);
412 s32 rtl8723bs_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
/linux-5.19.10/drivers/staging/r8188eu/os_dep/
Dusb_ops_linux.c106 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitbuf->priv_data; in rtw_write_port() local
149 pxmitframe->buf_addr, /* pxmitbuf->pbuf */ in rtw_write_port()

12