/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl8712_xmit.c | 26 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 …]
|
D | rtl871x_xmit.c | 155 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 …]
|
D | usb_ops_linux.c | 332 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 …]
|
D | rtl871x_xmit.h | 258 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,
|
D | rtl8712_xmit.h | 106 struct xmit_frame *pxmitframe); 108 struct xmit_frame *pxmitframe);
|
D | rtl871x_security.h | 209 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);
|
D | rtl871x_security.c | 151 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() 559 u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_tkip_encrypt() argument 572 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in r8712_tkip_encrypt() 576 if (((struct xmit_frame *)pxmitframe)->buf_addr == NULL) in r8712_tkip_encrypt() 579 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; in r8712_tkip_encrypt() 1137 u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_aes_encrypt() argument 1144 pxmitframe)->attrib; in r8712_aes_encrypt() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 159 static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz, u8 bagg_pkt) in update_txdesc() argument 164 struct adapter *adapt = pxmitframe->padapter; in update_txdesc() 165 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_txdesc() 193 if ((pull) && (pxmitframe->pkt_offset > 0)) in update_txdesc() 194 pxmitframe->pkt_offset = pxmitframe->pkt_offset - 1; in update_txdesc() 199 if (pxmitframe->pkt_offset > 0) in update_txdesc() 200 ptxdesc->txdw1 |= cpu_to_le32((pxmitframe->pkt_offset << 26) & 0x7c000000); in update_txdesc() 205 if ((pxmitframe->frame_tag & 0x0f) == DATA_FRAMETAG) { in update_txdesc() 233 if (pxmitframe->agg_num > 1) in update_txdesc() 234 ptxdesc->txdw5 |= cpu_to_le32((pxmitframe->agg_num << USB_TXAGG_NUM_SHT) & 0xFF000000); in update_txdesc() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_xmit.c | 208 struct xmit_frame *pxmitframe; in xmit_xmitframes() local 219 pxmitframe = NULL; in xmit_xmitframes() 281 pxmitframe = LIST_CONTAINOR(frame_plist, struct xmit_frame, list); in xmit_xmitframes() 284 txlen = txdesc_size + rtw_wlan_pkt_size(pxmitframe); in xmit_xmitframes() 322 (pxmitframe->attrib.psta->state & WIFI_SLEEP_STATE) && in xmit_xmitframes() 323 (pxmitframe->attrib.triggered == 0) in xmit_xmitframes() 334 list_del_init(&pxmitframe->list); in xmit_xmitframes() 339 pxmitbuf->ff_hwaddr = rtw_get_ff_hwaddr(pxmitframe); in xmit_xmitframes() 340 pxmitbuf->priv_data = (u8 *)pxmitframe; in xmit_xmitframes() 344 pxmitframe->pxmitbuf = pxmitbuf; in xmit_xmitframes() [all …]
|
D | hal_intf.c | 206 s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_hal_xmitframe_enqueue() argument 209 return padapter->HalFunc.hal_xmitframe_enqueue(padapter, pxmitframe); in rtw_hal_xmitframe_enqueue() 214 s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_hal_xmit() argument 217 return padapter->HalFunc.hal_xmit(padapter, pxmitframe); in rtw_hal_xmit()
|
D | rtl8723b_hal_init.c | 3047 struct xmit_frame *pxmitframe, u8 *pbuf in rtl8723b_fill_default_txdesc() argument 3060 padapter = pxmitframe->padapter; in rtl8723b_fill_default_txdesc() 3065 pattrib = &pxmitframe->attrib; in rtl8723b_fill_default_txdesc() 3070 if (pxmitframe->frame_tag == DATA_FRAMETAG) { in rtl8723b_fill_default_txdesc() 3146 ptxdesc->usb_txagg_num = pxmitframe->agg_num; in rtl8723b_fill_default_txdesc() 3147 } else if (pxmitframe->frame_tag == MGNT_FRAMETAG) { in rtl8723b_fill_default_txdesc() 3168 if (pxmitframe->ack_report) { in rtl8723b_fill_default_txdesc() 3175 } else if (pxmitframe->frame_tag == TXAGG_FRAMETAG) { in rtl8723b_fill_default_txdesc() 3178 …RT_TRACE(_module_hal_xmit_c_, _drv_warning_, ("%s: frame_tag = 0x%x\n", __func__, pxmitframe->fram… in rtl8723b_fill_default_txdesc() 3217 void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pbuf) in rtl8723b_update_txdesc() argument [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 207 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv() local 215 rtw_os_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv() 217 pxmitframe++; in _rtw_free_xmit_priv() 242 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info() argument 245 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info() 588 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic() argument 594 struct pkt_attrib *pattrib = &pxmitframe->attrib; in xmitframe_addmic() 605 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in xmitframe_addmic() 612 pframe = pxmitframe->buf_addr + hw_hdr_offset; in xmitframe_addmic() 641 priority[0] = (u8)pxmitframe->attrib.priority; in xmitframe_addmic() [all …]
|
D | rtw_security.c | 132 void rtw_wep_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_wep_encrypt() argument 137 struct pkt_attrib *pattrib = &pxmitframe->attrib; in rtw_wep_encrypt() 145 if (!pxmitframe->buf_addr) in rtw_wep_encrypt() 152 (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in rtw_wep_encrypt() 154 pframe = pxmitframe->buf_addr + hw_hdr_offset; in rtw_wep_encrypt() 573 u32 rtw_tkip_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) in rtw_tkip_encrypt() argument 587 struct pkt_attrib *pattrib = &pxmitframe->attrib; in rtw_tkip_encrypt() 592 if (!pxmitframe->buf_addr) in rtw_tkip_encrypt() 596 (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in rtw_tkip_encrypt() 597 pframe = pxmitframe->buf_addr + hw_hdr_offset; in rtw_tkip_encrypt() [all …]
|
D | rtw_recv.c | 914 struct xmit_frame *pxmitframe = NULL; in validate_recv_ctrl_frame() local 922 pxmitframe = list_entry(xmitframe_plist, struct xmit_frame, list); in validate_recv_ctrl_frame() 926 list_del_init(&pxmitframe->list); in validate_recv_ctrl_frame() 931 pxmitframe->attrib.mdata = 1; in validate_recv_ctrl_frame() 933 pxmitframe->attrib.mdata = 0; in validate_recv_ctrl_frame() 935 pxmitframe->attrib.triggered = 1; in validate_recv_ctrl_frame() 938 if (rtw_hal_xmit(padapter, pxmitframe)) in validate_recv_ctrl_frame() 939 rtw_os_xmit_complete(padapter, pxmitframe); in validate_recv_ctrl_frame()
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 273 struct xmit_frame *pxmitframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv() local 282 rtw_os_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv() 284 pxmitframe++; in _rtw_free_xmit_priv() 300 pxmitframe = (struct xmit_frame *)pxmitpriv->xframe_ext; in _rtw_free_xmit_priv() 301 if (pxmitframe) { in _rtw_free_xmit_priv() 303 rtw_os_xmit_complete(padapter, pxmitframe); in _rtw_free_xmit_priv() 304 pxmitframe++; in _rtw_free_xmit_priv() 355 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info() argument 358 struct pkt_attrib *pattrib = &pxmitframe->attrib; in update_attrib_vcs_info() 813 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic() argument [all …]
|
D | rtw_security.c | 213 void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe) in rtw_wep_encrypt() argument 225 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_wep_encrypt() 229 if (((struct xmit_frame *)pxmitframe)->buf_addr == NULL) in rtw_wep_encrypt() 233 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_wep_encrypt() 654 u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe) in rtw_tkip_encrypt() argument 667 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_tkip_encrypt() 672 if (((struct xmit_frame *)pxmitframe)->buf_addr == NULL) in rtw_tkip_encrypt() 676 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_tkip_encrypt() 1484 u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe) in rtw_aes_encrypt() argument 1495 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_aes_encrypt() [all …]
|
D | rtw_recv.c | 1146 struct xmit_frame *pxmitframe = NULL; in validate_recv_ctrl_frame() local 1156 pxmitframe = LIST_CONTAINOR(xmitframe_plist, struct xmit_frame, list); in validate_recv_ctrl_frame() 1160 list_del_init(&pxmitframe->list); in validate_recv_ctrl_frame() 1165 pxmitframe->attrib.mdata = 1; in validate_recv_ctrl_frame() 1167 pxmitframe->attrib.mdata = 0; in validate_recv_ctrl_frame() 1169 pxmitframe->attrib.triggered = 1; in validate_recv_ctrl_frame() 1173 rtw_hal_xmitframe_enqueue(padapter, pxmitframe); in validate_recv_ctrl_frame()
|
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | rtw_xmit.h | 303 struct xmit_frame *pxmitframe, int sz); 311 struct xmit_frame *pxmitframe); 317 struct xmit_frame *pxmitframe); 322 struct xmit_frame *pxmitframe); 324 struct xmit_frame *pxmitframe); 338 int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe); 345 u32 rtw_get_ff_hwaddr(struct xmit_frame *pxmitframe);
|
D | rtw_security.h | 237 u32 rtw_aes_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe); 238 u32 rtw_tkip_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe); 239 void rtw_wep_encrypt(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
D | hal_intf.h | 188 bool rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
D | rtw_mlme.h | 349 struct xmit_frame *pxmitframe);
|
/Linux-v5.10/drivers/staging/rtl8723bs/include/ |
D | rtw_xmit.h | 456 void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz); 464 extern s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe); 467 extern s32 rtw_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe); 469 extern s32 rtw_xmit_classifier(struct adapter *padapter, struct xmit_frame *pxmitframe); 472 …ern s32 rtw_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe); 473 …32 rtw_mgmt_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_frame *pxmitframe); 493 sint xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_frame *pxmitframe); 509 u32 rtw_get_ff_hwaddr(struct xmit_frame *pxmitframe);
|
D | hal_intf.h | 237 s32 (*hal_xmit)(struct adapter *padapter, struct xmit_frame *pxmitframe); 242 s32 (*hal_xmitframe_enqueue)(struct adapter *padapter, struct xmit_frame *pxmitframe); 349 s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe); 350 s32 rtw_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
D | rtw_security.h | 417 u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe); 418 u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe); 419 void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe);
|
D | rtl8723b_xmit.h | 434 void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem); 439 s32 rtl8723bs_hal_xmit(struct adapter *padapter, struct xmit_frame *pxmitframe); 441 s32 rtl8723bs_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
|