Home
last modified time | relevance | path

Searched refs:pxmitpriv (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_xmit.c64 sint _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv, in _r8712_init_xmit_priv() argument
71 memset((unsigned char *)pxmitpriv, 0, sizeof(struct xmit_priv)); in _r8712_init_xmit_priv()
72 spin_lock_init(&pxmitpriv->lock); in _r8712_init_xmit_priv()
76 pxmitpriv->adapter = padapter; in _r8712_init_xmit_priv()
77 _init_queue(&pxmitpriv->be_pending); in _r8712_init_xmit_priv()
78 _init_queue(&pxmitpriv->bk_pending); in _r8712_init_xmit_priv()
79 _init_queue(&pxmitpriv->vi_pending); in _r8712_init_xmit_priv()
80 _init_queue(&pxmitpriv->vo_pending); in _r8712_init_xmit_priv()
81 _init_queue(&pxmitpriv->bm_pending); in _r8712_init_xmit_priv()
82 _init_queue(&pxmitpriv->legacy_dz_queue); in _r8712_init_xmit_priv()
[all …]
Dusb_ops_linux.c327 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_xmit_bh() local
334 ret = r8712_xmitframe_complete(padapter, pxmitpriv, NULL); in r8712_xmit_bh()
337 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in r8712_xmit_bh()
346 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in usb_write_port_complete() local
352 pxmitpriv->bkq_cnt--; in usb_write_port_complete()
356 pxmitpriv->viq_cnt--; in usb_write_port_complete()
360 pxmitpriv->voq_cnt--; in usb_write_port_complete()
365 pxmitpriv->beq_cnt--; in usb_write_port_complete()
368 pxmitpriv->txirp_cnt--; in usb_write_port_complete()
386 r8712_free_xmitframe_ex(pxmitpriv, pxmitframe); in usb_write_port_complete()
[all …]
Drtl871x_sta_mgt.c162 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_free_stainfo() local
169 spin_lock_irqsave(&(pxmitpriv->vo_pending.lock), irqL0); in r8712_free_stainfo()
170 r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in r8712_free_stainfo()
172 spin_unlock_irqrestore(&(pxmitpriv->vo_pending.lock), irqL0); in r8712_free_stainfo()
173 spin_lock_irqsave(&(pxmitpriv->vi_pending.lock), irqL0); in r8712_free_stainfo()
174 r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in r8712_free_stainfo()
176 spin_unlock_irqrestore(&(pxmitpriv->vi_pending.lock), irqL0); in r8712_free_stainfo()
177 spin_lock_irqsave(&(pxmitpriv->bk_pending.lock), irqL0); in r8712_free_stainfo()
178 r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in r8712_free_stainfo()
180 spin_unlock_irqrestore(&(pxmitpriv->bk_pending.lock), irqL0); in r8712_free_stainfo()
[all …]
Drtl8712_xmit.c161 static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, in dequeue_one_xmitframe() argument
181 static struct xmit_frame *dequeue_xframe_ex(struct xmit_priv *pxmitpriv, in dequeue_xframe_ex() argument
194 inx[0] = 0; acirp_cnt[0] = pxmitpriv->voq_cnt; in dequeue_xframe_ex()
195 inx[1] = 1; acirp_cnt[1] = pxmitpriv->viq_cnt; in dequeue_xframe_ex()
196 inx[2] = 2; acirp_cnt[2] = pxmitpriv->beq_cnt; in dequeue_xframe_ex()
197 inx[3] = 3; acirp_cnt[3] = pxmitpriv->bkq_cnt; in dequeue_xframe_ex()
206 spin_lock_irqsave(&pxmitpriv->lock, irqL0); in dequeue_xframe_ex()
215 pxmitframe = dequeue_one_xmitframe(pxmitpriv, phwxmit, in dequeue_xframe_ex()
232 spin_unlock_irqrestore(&pxmitpriv->lock, irqL0); in dequeue_xframe_ex()
619 struct xmit_priv *pxmitpriv, in r8712_xmitframe_complete() argument
[all …]
Dxmit_linux.c166 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in r8712_xmit_entry() local
171 pxmitframe = r8712_alloc_xmitframe(pxmitpriv); in r8712_xmit_entry()
185 pxmitpriv->tx_pkts++; in r8712_xmit_entry()
186 pxmitpriv->tx_bytes += pxmitframe->attrib.last_txcmdsz; in r8712_xmit_entry()
190 r8712_free_xmitframe(pxmitpriv, pxmitframe); in r8712_xmit_entry()
191 pxmitpriv->tx_drop++; in r8712_xmit_entry()
Drtl871x_xmit.h264 int r8712_free_xmitbuf(struct xmit_priv *pxmitpriv,
266 struct xmit_buf *r8712_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
268 struct xmit_frame *r8712_alloc_xmitframe(struct xmit_priv *pxmitpriv);
269 void r8712_free_xmitframe(struct xmit_priv *pxmitpriv,
271 void r8712_free_xmitframe_queue(struct xmit_priv *pxmitpriv,
283 sint _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv,
285 void _free_xmit_priv(struct xmit_priv *pxmitpriv);
286 void r8712_free_xmitframe_ex(struct xmit_priv *pxmitpriv,
Dos_intfs.c184 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r871x_net_get_stats() local
187 padapter->stats.tx_packets = pxmitpriv->tx_pkts; in r871x_net_get_stats()
189 padapter->stats.tx_dropped = pxmitpriv->tx_drop; in r871x_net_get_stats()
191 padapter->stats.tx_bytes = pxmitpriv->tx_bytes; in r871x_net_get_stats()
272 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in init_default_value() local
277 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in init_default_value()
278 pxmitpriv->vcs = pregistrypriv->vcs_type; in init_default_value()
279 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in init_default_value()
280 pxmitpriv->rts_thresh = pregistrypriv->rts_thresh; in init_default_value()
281 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in init_default_value()
Drtl8712_xmit.h111 struct xmit_priv *pxmitpriv,
Drtl871x_security.c173 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_wep_encrypt() local
203 length = pxmitpriv->frag_len - in r8712_wep_encrypt()
213 pframe += pxmitpriv->frag_len; in r8712_wep_encrypt()
585 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_tkip_encrypt() local
627 length = pxmitpriv->frag_len - in r8712_tkip_encrypt()
639 pframe += pxmitpriv->frag_len; in r8712_tkip_encrypt()
1166 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_aes_encrypt() local
1191 length = pxmitpriv->frag_len - in r8712_aes_encrypt()
1197 pframe += pxmitpriv->frag_len; in r8712_aes_encrypt()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c50 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtl8723_dequeue_writeport() local
62 pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); in rtl8723_dequeue_writeport()
64 pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); in rtl8723_dequeue_writeport()
96 enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
125 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
128 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in rtl8723_dequeue_writeport()
144 struct xmit_priv *pxmitpriv; in rtl8723bs_xmit_buf_handler() local
149 pxmitpriv = &padapter->xmitpriv; in rtl8723bs_xmit_buf_handler()
151 if (down_interruptible(&pxmitpriv->xmit_sema)) { in rtl8723bs_xmit_buf_handler()
171 queue_pending = check_pending_xmitbuf(pxmitpriv); in rtl8723bs_xmit_buf_handler()
[all …]
Drtl8723b_cmd.c677 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in ConstructProbeReq() local
1446 struct xmit_priv *pxmitpriv; in rtl8723b_set_FwRsvdPagePkt() local
1474 pxmitpriv = &padapter->xmitpriv; in rtl8723b_set_FwRsvdPagePkt()
1482 pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); in rtl8723b_set_FwRsvdPagePkt()
1809 rtw_free_xmitframe(pxmitpriv, pcmdframe); in rtl8723b_set_FwRsvdPagePkt()
1832 struct xmit_priv *pxmitpriv; in rtl8723b_set_AP_FwRsvdPagePkt() local
1850 pxmitpriv = &padapter->xmitpriv; in rtl8723b_set_AP_FwRsvdPagePkt()
1858 pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); in rtl8723b_set_AP_FwRsvdPagePkt()
1929 rtw_free_xmitframe(pxmitpriv, pcmdframe); in rtl8723b_set_AP_FwRsvdPagePkt()
2152 struct xmit_priv *pxmitpriv; in SetFwRsvdPagePkt_BTCoex() local
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_xmit.c39 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) in _rtw_init_xmit_priv() argument
46 spin_lock_init(&pxmitpriv->lock); in _rtw_init_xmit_priv()
47 spin_lock_init(&pxmitpriv->lock_sctx); in _rtw_init_xmit_priv()
48 sema_init(&pxmitpriv->xmit_sema, 0); in _rtw_init_xmit_priv()
49 sema_init(&pxmitpriv->terminate_xmitthread_sema, 0); in _rtw_init_xmit_priv()
55 pxmitpriv->adapter = padapter; in _rtw_init_xmit_priv()
60 _rtw_init_queue(&pxmitpriv->be_pending); in _rtw_init_xmit_priv()
61 _rtw_init_queue(&pxmitpriv->bk_pending); in _rtw_init_xmit_priv()
62 _rtw_init_queue(&pxmitpriv->vi_pending); in _rtw_init_xmit_priv()
63 _rtw_init_queue(&pxmitpriv->vo_pending); in _rtw_init_xmit_priv()
[all …]
Drtw_sta_mgt.c317 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_free_stainfo() local
338 spin_lock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
340 rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); in rtw_free_stainfo()
345 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in rtw_free_stainfo()
347 phwxmit = pxmitpriv->hwxmits; in rtw_free_stainfo()
354 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in rtw_free_stainfo()
356 phwxmit = pxmitpriv->hwxmits+1; in rtw_free_stainfo()
363 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); in rtw_free_stainfo()
365 phwxmit = pxmitpriv->hwxmits+2; in rtw_free_stainfo()
372 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in rtw_free_stainfo()
[all …]
Drtw_mlme_ext.c2241 static struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once) in _alloc_mgtxmitframe() argument
2247 pmgntframe = rtw_alloc_xmitframe_once(pxmitpriv); in _alloc_mgtxmitframe()
2249 pmgntframe = rtw_alloc_xmitframe_ext(pxmitpriv); in _alloc_mgtxmitframe()
2252 …DBG_871X(FUNC_ADPT_FMT" alloc xmitframe fail, once:%d\n", FUNC_ADPT_ARG(pxmitpriv->adapter), once); in _alloc_mgtxmitframe()
2256 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe()
2258 DBG_871X(FUNC_ADPT_FMT" alloc xmitbuf fail\n", FUNC_ADPT_ARG(pxmitpriv->adapter)); in _alloc_mgtxmitframe()
2259 rtw_free_xmitframe(pxmitpriv, pmgntframe); in _alloc_mgtxmitframe()
2274 inline struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) in alloc_mgtxmitframe() argument
2276 return _alloc_mgtxmitframe(pxmitpriv, false); in alloc_mgtxmitframe()
2359 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in dump_mgntframe_and_wait() local
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c53 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_os_pkt_complete() local
58 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) in rtw_os_pkt_complete()
77 struct xmit_priv *pxmitpriv; in rtw_os_xmit_schedule() local
82 pxmitpriv = &padapter->xmitpriv; in rtw_os_xmit_schedule()
84 spin_lock_bh(&pxmitpriv->lock); in rtw_os_xmit_schedule()
87 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in rtw_os_xmit_schedule()
89 spin_unlock_bh(&pxmitpriv->lock); in rtw_os_xmit_schedule()
94 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_check_xmit_resource() local
100 if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) in rtw_check_xmit_resource()
103 if (pxmitpriv->free_xmitframe_cnt <= 4) { in rtw_check_xmit_resource()
[all …]
Dusb_ops_linux.c566 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in usb_write_port_complete() local
570 pxmitpriv->voq_cnt--; in usb_write_port_complete()
573 pxmitpriv->viq_cnt--; in usb_write_port_complete()
576 pxmitpriv->beq_cnt--; in usb_write_port_complete()
579 pxmitpriv->bkq_cnt--; in usb_write_port_complete()
636 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete()
638 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in usb_write_port_complete()
649 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in usb_write_port() local
663 spin_lock_irqsave(&pxmitpriv->lock, irqL); in usb_write_port()
667 pxmitpriv->voq_cnt++; in usb_write_port()
[all …]
Dos_intfs.c201 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in rtw_net_get_stats() local
204 padapter->stats.tx_packets = pxmitpriv->tx_pkts; in rtw_net_get_stats()
206 padapter->stats.tx_dropped = pxmitpriv->tx_drop; in rtw_net_get_stats()
208 padapter->stats.tx_bytes = pxmitpriv->tx_bytes; in rtw_net_get_stats()
364 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_init_default_value() local
369 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in rtw_init_default_value()
370 pxmitpriv->vcs = pregistrypriv->vcs_type; in rtw_init_default_value()
371 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in rtw_init_default_value()
372 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in rtw_init_default_value()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_xmit.c38 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) in _rtw_init_xmit_priv() argument
49 spin_lock_init(&pxmitpriv->lock); in _rtw_init_xmit_priv()
55 pxmitpriv->adapter = padapter; in _rtw_init_xmit_priv()
57 _rtw_init_queue(&pxmitpriv->be_pending); in _rtw_init_xmit_priv()
58 _rtw_init_queue(&pxmitpriv->bk_pending); in _rtw_init_xmit_priv()
59 _rtw_init_queue(&pxmitpriv->vi_pending); in _rtw_init_xmit_priv()
60 _rtw_init_queue(&pxmitpriv->vo_pending); in _rtw_init_xmit_priv()
61 _rtw_init_queue(&pxmitpriv->bm_pending); in _rtw_init_xmit_priv()
63 _rtw_init_queue(&pxmitpriv->free_xmit_queue); in _rtw_init_xmit_priv()
71 pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
[all …]
Drtw_sta_mgt.c252 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_free_stainfo() local
262 spin_lock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
264 rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); in rtw_free_stainfo()
267 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in rtw_free_stainfo()
271 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in rtw_free_stainfo()
275 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in rtw_free_stainfo()
279 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); in rtw_free_stainfo()
283 spin_unlock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
Drtw_mlme_ext.c152 struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) in alloc_mgtxmitframe() argument
157 pmgntframe = rtw_alloc_xmitframe(pxmitpriv); in alloc_mgtxmitframe()
163 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in alloc_mgtxmitframe()
166 rtw_free_xmitframe(pxmitpriv, pmgntframe); in alloc_mgtxmitframe()
259 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in dump_mgntframe_and_wait_ack() local
264 if (mutex_lock_interruptible(&pxmitpriv->ack_tx_mutex)) in dump_mgntframe_and_wait_ack()
266 pxmitpriv->ack_tx = true; in dump_mgntframe_and_wait_ack()
270 ret = rtw_ack_tx_wait(pxmitpriv, timeout_ms); in dump_mgntframe_and_wait_ack()
272 pxmitpriv->ack_tx = false; in dump_mgntframe_and_wait_ack()
273 mutex_unlock(&pxmitpriv->ack_tx_mutex); in dump_mgntframe_and_wait_ack()
[all …]
Drtw_security.c140 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_wep_encrypt() local
174 length = pxmitpriv->frag_len; in rtw_wep_encrypt()
592 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_tkip_encrypt() local
638 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt()
644 pframe += pxmitpriv->frag_len; in rtw_tkip_encrypt()
1230 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_aes_encrypt() local
1263 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_aes_encrypt()
1266 pframe += pxmitpriv->frag_len; in rtw_aes_encrypt()
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c18 struct xmit_priv *pxmitpriv = &adapt->xmitpriv; in rtw_hal_init_xmit_priv() local
20 tasklet_init(&pxmitpriv->xmit_tasklet, in rtw_hal_init_xmit_priv()
341 struct xmit_priv *pxmitpriv = &adapt->xmitpriv; in rtw_dump_xframe() local
360 sz = pxmitpriv->frag_len; in rtw_dump_xframe()
389 rtw_free_xmitframe(pxmitpriv, pxmitframe); in rtw_dump_xframe()
415 s32 rtl8188eu_xmitframe_complete(struct adapter *adapt, struct xmit_priv *pxmitpriv) in rtl8188eu_xmitframe_complete() argument
441 pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); in rtl8188eu_xmitframe_complete()
446 rtw_free_xmitframe(pxmitpriv, pxmitframe); in rtl8188eu_xmitframe_complete()
448 pxmitframe = rtw_dequeue_xframe(pxmitpriv, pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); in rtl8188eu_xmitframe_complete()
451 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8188eu_xmitframe_complete()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_xmit.h448 extern struct xmit_frame *__rtw_alloc_cmdxmitframe(struct xmit_priv *pxmitpriv,
453 extern struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
454 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
456 extern struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
457 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
464 extern struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
465 struct xmit_frame *rtw_alloc_xmitframe_ext(struct xmit_priv *pxmitpriv);
466 struct xmit_frame *rtw_alloc_xmitframe_once(struct xmit_priv *pxmitpriv);
467 extern s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe);
468 extern void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue);
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c73 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_os_pkt_complete() local
78 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) in rtw_os_pkt_complete()
109 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_check_xmit_resource() local
115 if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) { in rtw_check_xmit_resource()
120 if (pxmitpriv->free_xmitframe_cnt <= 4) { in rtw_check_xmit_resource()
130 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_mlcst2unicst() local
186 pxmitpriv->tx_drop++; in rtw_mlcst2unicst()
192 pxmitpriv->tx_drop++; in rtw_mlcst2unicst()
205 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in _rtw_xmit_entry() local
232 if (pxmitpriv->free_xmitframe_cnt > (NR_XMITFRAME/4)) { in _rtw_xmit_entry()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_xmit.h302 struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
303 s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv,
305 struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
306 s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv,
315 struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
316 s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv,
318 void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv,
324 struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv,
337 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter);
338 void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv);
[all …]

12