Home
last modified time | relevance | path

Searched refs:xmit_frame (Results 1 – 25 of 47) sorted by relevance

12

/drivers/staging/r8188eu/core/
Drtw_iol.c6 struct xmit_frame *rtw_IOL_accquire_xmit_frame(struct adapter *adapter) in rtw_IOL_accquire_xmit_frame()
8 struct xmit_frame *xmit_frame; in rtw_IOL_accquire_xmit_frame() local
13 xmit_frame = rtw_alloc_xmitframe(pxmitpriv); in rtw_IOL_accquire_xmit_frame()
14 if (!xmit_frame) in rtw_IOL_accquire_xmit_frame()
19 rtw_free_xmitframe(pxmitpriv, xmit_frame); in rtw_IOL_accquire_xmit_frame()
23 xmit_frame->frame_tag = MGNT_FRAMETAG; in rtw_IOL_accquire_xmit_frame()
24 xmit_frame->pxmitbuf = xmitbuf; in rtw_IOL_accquire_xmit_frame()
25 xmit_frame->buf_addr = xmitbuf->pbuf; in rtw_IOL_accquire_xmit_frame()
26 xmitbuf->priv_data = xmit_frame; in rtw_IOL_accquire_xmit_frame()
28 pattrib = &xmit_frame->attrib; in rtw_IOL_accquire_xmit_frame()
[all …]
Drtw_xmit.c66 struct xmit_frame *pxframe; in _rtw_init_xmit_priv()
96 pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
107 pxframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; in _rtw_init_xmit_priv()
270 void rtw_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe) in rtw_xmit_complete()
281 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv()
317 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info()
688 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic()
778 static s32 xmitframe_swencrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_swencrypt()
972 s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame *pxmitf… in rtw_xmitframe_coalesce()
1177 void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz) in rtw_count_tx_stats()
[all …]
/drivers/staging/r8188eu/include/
Drtw_iol.h33 struct xmit_frame *rtw_IOL_accquire_xmit_frame(struct adapter *adapter);
34 int rtw_IOL_append_cmds(struct xmit_frame *xmit_frame, u8 *IOL_cmds,
37 int rtw_IOL_append_DELAY_US_cmd(struct xmit_frame *xmit_frame, u16 us);
38 int rtw_IOL_append_DELAY_MS_cmd(struct xmit_frame *xmit_frame, u16 ms);
39 int rtw_IOL_append_END_cmd(struct xmit_frame *xmit_frame);
44 int rtw_IOL_append_WB_cmd(struct xmit_frame *xmit_frame, u16 addr,
46 int rtw_IOL_append_WW_cmd(struct xmit_frame *xmit_frame, u16 addr,
48 int rtw_IOL_append_WD_cmd(struct xmit_frame *xmit_frame, u16 addr,
50 int rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path,
53 u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame);
Drtw_xmit.h210 struct xmit_frame { struct
326 struct xmit_frame *pxmitframe, int sz);
332 struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
334 struct xmit_frame *pxmitframe);
340 struct xmit_frame *pxmitframe);
341 struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv,
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);
[all …]
Dhal_intf.h27 struct xmit_frame *xmit_frame, u32 max_wating_ms, u32 bndy_cnt);
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);
Drtl8188e_xmit.h135 s32 rtl8188eu_hal_xmit(struct adapter *padapter, struct xmit_frame *frame);
136 s32 rtl8188eu_mgnt_xmit(struct adapter *padapter, struct xmit_frame *frame);
/drivers/staging/rtl8723bs/include/
Drtw_xmit.h275 struct xmit_frame { struct
429 extern struct xmit_frame *__rtw_alloc_cmdxmitframe(struct xmit_priv *pxmitpriv,
440 void rtw_count_tx_stats(struct adapter *padapter, struct xmit_frame *pxmitframe, int sz);
445 extern struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
446 struct xmit_frame *rtw_alloc_xmitframe_ext(struct xmit_priv *pxmitpriv);
447 struct xmit_frame *rtw_alloc_xmitframe_once(struct xmit_priv *pxmitpriv);
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 extern s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct xmit_frame
[all …]
Dhal_intf.h229 s32 (*hal_xmit)(struct adapter *padapter, struct xmit_frame *pxmitframe);
233 s32 (*mgnt_xmit)(struct adapter *padapter, struct xmit_frame *pmgntframe);
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);
313 s32 rtw_hal_mgnt_xmit(struct adapter *padapter, struct xmit_frame *pmgntframe);
Dxmit_osdep.h25 struct xmit_frame;
42 extern void rtw_os_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe);
/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()
149 static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, in dequeue_one_xmitframe()
155 struct xmit_frame *pxmitframe = NULL; in dequeue_one_xmitframe()
161 struct xmit_frame, list); in dequeue_one_xmitframe()
169 static struct xmit_frame *dequeue_xframe_ex(struct xmit_priv *pxmitpriv, in dequeue_xframe_ex()
177 struct xmit_frame *pxmitframe = NULL; in dequeue_xframe_ex()
267 struct xmit_frame *pxmitframe = (struct xmit_frame *) in r8712_construct_txaggr_cmd_hdr()
282 struct xmit_frame *pxmitframe) in r8712_append_mpdu_unit()
[all …]
Drtl871x_xmit.h145 struct xmit_frame { struct
256 struct xmit_frame *r8712_alloc_xmitframe(struct xmit_priv *pxmitpriv);
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,
Drtl871x_xmit.c58 struct xmit_frame *pxframe; in _r8712_init_xmit_priv()
81 kmalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4, in _r8712_init_xmit_priv()
89 pxframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; in _r8712_init_xmit_priv()
180 struct xmit_frame *pxmitframe = (struct xmit_frame *) in _free_xmit_priv()
370 struct xmit_frame *pxmitframe) in xmitframe_addmic()
471 struct xmit_frame *pxmitframe) in xmitframe_swencrypt()
602 struct xmit_frame *pxmitframe) in r8712_xmitframe_coalesce()
797 struct xmit_frame *r8712_alloc_xmitframe(struct xmit_priv *pxmitpriv) in r8712_alloc_xmitframe()
805 struct xmit_frame *pxframe; in r8712_alloc_xmitframe()
810 struct xmit_frame, list); in r8712_alloc_xmitframe()
[all …]
Dxmit_osdep.h34 struct xmit_frame;
50 struct xmit_frame *pxframe);
Drtl8712_xmit.h103 struct xmit_frame *pxmitframe);
105 struct xmit_frame *pxmitframe);
Dxmit_linux.c142 void r8712_xmit_complete(struct _adapter *padapter, struct xmit_frame *pxframe) in r8712_xmit_complete()
151 struct xmit_frame *xmitframe = NULL; in r8712_xmit_entry()
Dusb_ops_linux.c332 struct xmit_frame *pxmitframe = (struct xmit_frame *)purb->context; in usb_write_port_complete()
390 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port()
Drtl871x_security.c158 struct pkt_attrib *pattrib = &((struct xmit_frame *) 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()
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()
1142 struct pkt_attrib *pattrib = &((struct xmit_frame *) in r8712_aes_encrypt()
1147 if (((struct xmit_frame *)pxmitframe)->buf_addr == NULL) in r8712_aes_encrypt()
1149 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + TXDESC_OFFSET; in r8712_aes_encrypt()
/drivers/staging/rtl8723bs/core/
Drtw_xmit.c39 struct xmit_frame *pxframe; in _rtw_init_xmit_priv()
73 pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
82 pxframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; in _rtw_init_xmit_priv()
160 pxmitpriv->xframe_ext_alloc_addr = vzalloc(NR_XMIT_EXTBUFF * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
168 pxframe = (struct xmit_frame *)pxmitpriv->xframe_ext; in _rtw_init_xmit_priv()
278 struct xmit_frame *pxmitframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; in _rtw_free_xmit_priv()
302 pxmitframe = (struct xmit_frame *)pxmitpriv->xframe_ext; in _rtw_free_xmit_priv()
353 static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *pxmitframe) in update_attrib_vcs_info()
758 static s32 xmitframe_addmic(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_addmic()
836 static s32 xmitframe_swencrypt(struct adapter *padapter, struct xmit_frame *pxmitframe) in xmitframe_swencrypt()
[all …]
Drtw_security.c49 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()
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()
1040 struct pkt_attrib *pattrib = &((struct xmit_frame *)pxmitframe)->attrib; in rtw_aes_encrypt()
1046 if (!((struct xmit_frame *)pxmitframe)->buf_addr) in rtw_aes_encrypt()
1050 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_aes_encrypt()
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c178 struct xmit_frame *pxmitframe; in xmit_xmitframes()
234 pxmitframe = container_of(frame_plist, struct xmit_frame, list); in xmit_xmitframes()
246 struct xmit_frame *pframe; in xmit_xmitframes()
247 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
330 struct xmit_frame *pframe; in xmit_xmitframes()
331 pframe = (struct xmit_frame *)pxmitbuf->priv_data; in xmit_xmitframes()
437 struct adapter *padapter, struct xmit_frame *pmgntframe in rtl8723bs_mgnt_xmit()
485 struct adapter *padapter, struct xmit_frame *pxmitframe in rtl8723bs_hal_xmit()
521 struct adapter *padapter, struct xmit_frame *pxmitframe in rtl8723bs_hal_xmitframe_enqueue()
590 rtw_free_xmitframe(pxmitpriv, (struct xmit_frame *)pxmitbuf->priv_data); in rtl8723bs_free_xmit_priv()
/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()
302 static s32 rtw_dump_xframe(struct adapter *adapt, struct xmit_frame *pxmitframe) in rtw_dump_xframe()
361 static u32 xmitframe_need_length(struct xmit_frame *pxmitframe) in xmitframe_need_length()
382 struct xmit_frame *pxmitframe = NULL; in rtl8188eu_xmitframe_complete()
383 struct xmit_frame *pfirstframe = NULL; in rtl8188eu_xmitframe_complete()
483 pxmitframe = container_of(xmitframe_plist, struct xmit_frame, list); in rtl8188eu_xmitframe_complete()
564 static s32 xmitframe_direct(struct adapter *adapt, struct xmit_frame *pxmitframe) in xmitframe_direct()
580 static s32 pre_xmitframe(struct adapter *adapt, struct xmit_frame *pxmitframe) in pre_xmitframe()
629 s32 rtl8188eu_mgnt_xmit(struct adapter *adapt, struct xmit_frame *pmgntframe) in rtl8188eu_mgnt_xmit()
639 s32 rtl8188eu_hal_xmit(struct adapter *adapt, struct xmit_frame *pxmitframe) in rtl8188eu_hal_xmit()
Drtl8188e_hal_init.c320 int rtl8188e_IOL_exec_cmds_sync(struct adapter *adapter, struct xmit_frame *xmit_frame, u32 max_wat… in rtl8188e_IOL_exec_cmds_sync() argument
322 struct pkt_attrib *pattrib = &xmit_frame->attrib; in rtl8188e_IOL_exec_cmds_sync()
326 if (rtw_IOL_append_END_cmd(xmit_frame) != _SUCCESS) in rtl8188e_IOL_exec_cmds_sync()
329 if (rtw_IOL_append_END_cmd(xmit_frame) != _SUCCESS) in rtl8188e_IOL_exec_cmds_sync()
333 dump_mgntframe_and_wait(adapter, xmit_frame, max_wating_ms); in rtl8188e_IOL_exec_cmds_sync()
/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c3307 struct xmit_frame *xmit_frame; in rtw_dbg_port() local
3309 xmit_frame = rtw_IOL_accquire_xmit_frame(padapter); in rtw_dbg_port()
3310 if (!xmit_frame) { in rtw_dbg_port()
3315 if (rtl8188e_IOL_exec_cmds_sync(padapter, xmit_frame, 500, 0) != _SUCCESS) in rtw_dbg_port()
3325 struct xmit_frame *xmit_frame; in rtw_dbg_port() local
3327 xmit_frame = rtw_IOL_accquire_xmit_frame(padapter); in rtw_dbg_port()
3328 if (!xmit_frame) { in rtw_dbg_port()
3334 rtw_IOL_append_WB_cmd(xmit_frame, reg, 0x00, 0xff); in rtw_dbg_port()
3335 rtw_IOL_append_DELAY_MS_cmd(xmit_frame, blink_delay_ms); in rtw_dbg_port()
3336 rtw_IOL_append_WB_cmd(xmit_frame, reg, 0x08, 0xff); in rtw_dbg_port()
[all …]
Dusb_ops_linux.c106 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitbuf->priv_data; in rtw_write_port()

12