Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/staging/r8188eu/core/
Drtw_xmit.c281 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv() local
290 rtw_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv()
292 pxmitframe++; in _rtw_free_xmit_priv()
317 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info() argument
320 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info()
688 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic() argument
694 struct pkt_attrib *pattrib = &pxmitframe->attrib; in xmitframe_addmic()
705 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in xmitframe_addmic()
714 pframe = pxmitframe->buf_addr + hw_hdr_offset; in xmitframe_addmic()
745 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.c948 struct xmit_frame *pxmitframe = NULL; in validate_recv_ctrl_frame() local
957 pxmitframe = container_of(xmitframe_plist, struct xmit_frame, list); in validate_recv_ctrl_frame()
961 list_del_init(&pxmitframe->list); in validate_recv_ctrl_frame()
966 pxmitframe->attrib.mdata = 1; in validate_recv_ctrl_frame()
968 pxmitframe->attrib.mdata = 0; in validate_recv_ctrl_frame()
970 pxmitframe->attrib.triggered = 1; in validate_recv_ctrl_frame()
/linux-6.1.9/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.c952 struct xmit_frame *pxmitframe = NULL; in validate_recv_ctrl_frame() local
962 pxmitframe = container_of(xmitframe_plist, struct xmit_frame, list); in validate_recv_ctrl_frame()
966 list_del_init(&pxmitframe->list); in validate_recv_ctrl_frame()
971 pxmitframe->attrib.mdata = 1; in validate_recv_ctrl_frame()
973 pxmitframe->attrib.mdata = 0; in validate_recv_ctrl_frame()
975 pxmitframe->attrib.triggered = 1; in validate_recv_ctrl_frame()
977 rtw_hal_xmitframe_enqueue(padapter, pxmitframe); in validate_recv_ctrl_frame()
/linux-6.1.9/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-6.1.9/drivers/staging/r8188eu/include/
Drtw_xmit.h326 struct xmit_frame *pxmitframe, int sz);
334 struct xmit_frame *pxmitframe);
340 struct xmit_frame *pxmitframe);
345 struct xmit_frame *pxmitframe);
347 struct xmit_frame *pxmitframe);
360 int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe);
366 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.h565 struct xmit_frame *pxmitframe);
/linux-6.1.9/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