Home
last modified time | relevance | path

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

12

/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()
618 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()
269 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in init_default_value() local
274 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in init_default_value()
275 pxmitpriv->vcs = pregistrypriv->vcs_type; in init_default_value()
276 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in init_default_value()
277 pxmitpriv->rts_thresh = pregistrypriv->rts_thresh; in init_default_value()
278 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in init_default_value()
Drtl871x_security.c174 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()
1165 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_aes_encrypt() local
1190 length = pxmitpriv->frag_len - in r8712_aes_encrypt()
1196 pframe += pxmitpriv->frag_len; in r8712_aes_encrypt()
/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c58 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtl8723_dequeue_writeport() local
70 pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); in rtl8723_dequeue_writeport()
72 pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); in rtl8723_dequeue_writeport()
104 enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
133 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
136 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in rtl8723_dequeue_writeport()
152 struct xmit_priv *pxmitpriv; in rtl8723bs_xmit_buf_handler() local
157 pxmitpriv = &padapter->xmitpriv; in rtl8723bs_xmit_buf_handler()
159 if (down_interruptible(&pxmitpriv->xmit_sema)) { in rtl8723bs_xmit_buf_handler()
179 queue_pending = check_pending_xmitbuf(pxmitpriv); in rtl8723bs_xmit_buf_handler()
[all …]
Drtl8723b_cmd.c685 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in ConstructProbeReq() local
1454 struct xmit_priv *pxmitpriv; in rtl8723b_set_FwRsvdPagePkt() local
1482 pxmitpriv = &padapter->xmitpriv; in rtl8723b_set_FwRsvdPagePkt()
1490 pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); in rtl8723b_set_FwRsvdPagePkt()
1817 rtw_free_xmitframe(pxmitpriv, pcmdframe); in rtl8723b_set_FwRsvdPagePkt()
1840 struct xmit_priv *pxmitpriv; in rtl8723b_set_AP_FwRsvdPagePkt() local
1858 pxmitpriv = &padapter->xmitpriv; in rtl8723b_set_AP_FwRsvdPagePkt()
1866 pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); in rtl8723b_set_AP_FwRsvdPagePkt()
1937 rtw_free_xmitframe(pxmitpriv, pcmdframe); in rtl8723b_set_AP_FwRsvdPagePkt()
2160 struct xmit_priv *pxmitpriv; in SetFwRsvdPagePkt_BTCoex() local
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_xmit.c47 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) in _rtw_init_xmit_priv() argument
57 spin_lock_init(&pxmitpriv->lock); in _rtw_init_xmit_priv()
58 spin_lock_init(&pxmitpriv->lock_sctx); in _rtw_init_xmit_priv()
59 sema_init(&pxmitpriv->xmit_sema, 0); in _rtw_init_xmit_priv()
60 sema_init(&pxmitpriv->terminate_xmitthread_sema, 0); in _rtw_init_xmit_priv()
66 pxmitpriv->adapter = padapter; in _rtw_init_xmit_priv()
71 _rtw_init_queue(&pxmitpriv->be_pending); in _rtw_init_xmit_priv()
72 _rtw_init_queue(&pxmitpriv->bk_pending); in _rtw_init_xmit_priv()
73 _rtw_init_queue(&pxmitpriv->vi_pending); in _rtw_init_xmit_priv()
74 _rtw_init_queue(&pxmitpriv->vo_pending); in _rtw_init_xmit_priv()
[all …]
Drtw_sta_mgt.c325 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_free_stainfo() local
346 spin_lock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
348 rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); in rtw_free_stainfo()
353 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in rtw_free_stainfo()
355 phwxmit = pxmitpriv->hwxmits; in rtw_free_stainfo()
362 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in rtw_free_stainfo()
364 phwxmit = pxmitpriv->hwxmits+1; in rtw_free_stainfo()
371 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); in rtw_free_stainfo()
373 phwxmit = pxmitpriv->hwxmits+2; in rtw_free_stainfo()
380 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in rtw_free_stainfo()
[all …]
Drtw_mlme_ext.c2249 static struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once) in _alloc_mgtxmitframe() argument
2255 pmgntframe = rtw_alloc_xmitframe_once(pxmitpriv); in _alloc_mgtxmitframe()
2257 pmgntframe = rtw_alloc_xmitframe_ext(pxmitpriv); in _alloc_mgtxmitframe()
2260 …DBG_871X(FUNC_ADPT_FMT" alloc xmitframe fail, once:%d\n", FUNC_ADPT_ARG(pxmitpriv->adapter), once); in _alloc_mgtxmitframe()
2264 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe()
2266 DBG_871X(FUNC_ADPT_FMT" alloc xmitbuf fail\n", FUNC_ADPT_ARG(pxmitpriv->adapter)); in _alloc_mgtxmitframe()
2267 rtw_free_xmitframe(pxmitpriv, pmgntframe); in _alloc_mgtxmitframe()
2282 inline struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) in alloc_mgtxmitframe() argument
2284 return _alloc_mgtxmitframe(pxmitpriv, false); in alloc_mgtxmitframe()
2367 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in dump_mgntframe_and_wait() local
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_xmit.c47 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) in _rtw_init_xmit_priv() argument
59 spin_lock_init(&pxmitpriv->lock); in _rtw_init_xmit_priv()
65 pxmitpriv->adapter = padapter; in _rtw_init_xmit_priv()
67 _rtw_init_queue(&pxmitpriv->be_pending); in _rtw_init_xmit_priv()
68 _rtw_init_queue(&pxmitpriv->bk_pending); in _rtw_init_xmit_priv()
69 _rtw_init_queue(&pxmitpriv->vi_pending); in _rtw_init_xmit_priv()
70 _rtw_init_queue(&pxmitpriv->vo_pending); in _rtw_init_xmit_priv()
71 _rtw_init_queue(&pxmitpriv->bm_pending); in _rtw_init_xmit_priv()
73 _rtw_init_queue(&pxmitpriv->free_xmit_queue); in _rtw_init_xmit_priv()
81 pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); in _rtw_init_xmit_priv()
[all …]
Drtw_sta_mgt.c260 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_free_stainfo() local
270 spin_lock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
272 rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); in rtw_free_stainfo()
275 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in rtw_free_stainfo()
279 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in rtw_free_stainfo()
283 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in rtw_free_stainfo()
287 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); in rtw_free_stainfo()
291 spin_unlock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
Drtw_mlme_ext.c160 struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) in alloc_mgtxmitframe() argument
165 pmgntframe = rtw_alloc_xmitframe(pxmitpriv); in alloc_mgtxmitframe()
171 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in alloc_mgtxmitframe()
174 rtw_free_xmitframe(pxmitpriv, pmgntframe); in alloc_mgtxmitframe()
267 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in dump_mgntframe_and_wait_ack() local
272 if (mutex_lock_interruptible(&pxmitpriv->ack_tx_mutex)) in dump_mgntframe_and_wait_ack()
274 pxmitpriv->ack_tx = true; in dump_mgntframe_and_wait_ack()
278 ret = rtw_ack_tx_wait(pxmitpriv, timeout_ms); in dump_mgntframe_and_wait_ack()
280 pxmitpriv->ack_tx = false; in dump_mgntframe_and_wait_ack()
281 mutex_unlock(&pxmitpriv->ack_tx_mutex); in dump_mgntframe_and_wait_ack()
[all …]
Drtw_security.c154 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_wep_encrypt() local
184 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_wep_encrypt()
190 pframe += pxmitpriv->frag_len; in rtw_wep_encrypt()
579 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_tkip_encrypt() local
625 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt()
631 pframe += pxmitpriv->frag_len; in rtw_tkip_encrypt()
1218 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_aes_encrypt() local
1251 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_aes_encrypt()
1254 pframe += pxmitpriv->frag_len; in rtw_aes_encrypt()
/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c98 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_os_pkt_complete() local
103 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) in rtw_os_pkt_complete()
122 struct xmit_priv *pxmitpriv; in rtw_os_xmit_schedule() local
127 pxmitpriv = &padapter->xmitpriv; in rtw_os_xmit_schedule()
129 spin_lock_bh(&pxmitpriv->lock); in rtw_os_xmit_schedule()
132 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in rtw_os_xmit_schedule()
134 spin_unlock_bh(&pxmitpriv->lock); in rtw_os_xmit_schedule()
139 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_check_xmit_resource() local
145 if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) in rtw_check_xmit_resource()
148 if (pxmitpriv->free_xmitframe_cnt <= 4) { in rtw_check_xmit_resource()
[all …]
Dusb_ops_linux.c586 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in usb_write_port_complete() local
590 pxmitpriv->voq_cnt--; in usb_write_port_complete()
593 pxmitpriv->viq_cnt--; in usb_write_port_complete()
596 pxmitpriv->beq_cnt--; in usb_write_port_complete()
599 pxmitpriv->bkq_cnt--; in usb_write_port_complete()
656 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete()
658 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in usb_write_port_complete()
669 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in usb_write_port() local
684 spin_lock_irqsave(&pxmitpriv->lock, irqL); in usb_write_port()
688 pxmitpriv->voq_cnt++; in usb_write_port()
[all …]
Dos_intfs.c209 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in rtw_net_get_stats() local
212 padapter->stats.tx_packets = pxmitpriv->tx_pkts; in rtw_net_get_stats()
214 padapter->stats.tx_dropped = pxmitpriv->tx_drop; in rtw_net_get_stats()
216 padapter->stats.tx_bytes = pxmitpriv->tx_bytes; in rtw_net_get_stats()
372 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_init_default_value() local
377 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in rtw_init_default_value()
378 pxmitpriv->vcs = pregistrypriv->vcs_type; in rtw_init_default_value()
379 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in rtw_init_default_value()
380 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in rtw_init_default_value()
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c26 struct xmit_priv *pxmitpriv = &adapt->xmitpriv; in rtw_hal_init_xmit_priv() local
28 tasklet_init(&pxmitpriv->xmit_tasklet, in rtw_hal_init_xmit_priv()
348 struct xmit_priv *pxmitpriv = &adapt->xmitpriv; in rtw_dump_xframe() local
367 sz = pxmitpriv->frag_len; in rtw_dump_xframe()
396 rtw_free_xmitframe(pxmitpriv, pxmitframe); in rtw_dump_xframe()
422 s32 rtl8188eu_xmitframe_complete(struct adapter *adapt, struct xmit_priv *pxmitpriv) in rtl8188eu_xmitframe_complete() argument
448 pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); in rtl8188eu_xmitframe_complete()
453 rtw_free_xmitframe(pxmitpriv, pxmitframe); in rtl8188eu_xmitframe_complete()
455 pxmitframe = rtw_dequeue_xframe(pxmitpriv, pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); in rtl8188eu_xmitframe_complete()
458 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8188eu_xmitframe_complete()
[all …]
/drivers/staging/rtl8723bs/include/
Drtw_xmit.h456 extern struct xmit_frame *__rtw_alloc_cmdxmitframe(struct xmit_priv *pxmitpriv,
461 extern struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
462 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
464 extern struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
465 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
472 extern struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
473 struct xmit_frame *rtw_alloc_xmitframe_ext(struct xmit_priv *pxmitpriv);
474 struct xmit_frame *rtw_alloc_xmitframe_once(struct xmit_priv *pxmitpriv);
475 extern s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe);
476 extern void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue);
[all …]
/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c88 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_os_pkt_complete() local
93 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) in rtw_os_pkt_complete()
126 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_check_xmit_resource() local
132 if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) { in rtw_check_xmit_resource()
137 if (pxmitpriv->free_xmitframe_cnt <= 4) { in rtw_check_xmit_resource()
147 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_mlcst2unicst() local
206 pxmitpriv->tx_drop++; in rtw_mlcst2unicst()
212 pxmitpriv->tx_drop++; in rtw_mlcst2unicst()
225 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in _rtw_xmit_entry() local
254 if (pxmitpriv->free_xmitframe_cnt > (NR_XMITFRAME/4)) { in _rtw_xmit_entry()
[all …]
Dos_intfs.c369 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in rtw_net_get_stats() local
372 padapter->stats.tx_packets = pxmitpriv->tx_pkts;/* pxmitpriv->tx_pkts++; */ in rtw_net_get_stats()
374 padapter->stats.tx_dropped = pxmitpriv->tx_drop; in rtw_net_get_stats()
376 padapter->stats.tx_bytes = pxmitpriv->tx_bytes; in rtw_net_get_stats()
627 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_init_default_value() local
632 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in rtw_init_default_value()
633 pxmitpriv->vcs = pregistrypriv->vcs_type; in rtw_init_default_value()
634 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in rtw_init_default_value()
636 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in rtw_init_default_value()
/drivers/staging/rtl8188eu/include/
Drtw_xmit.h306 struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
307 s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv,
309 struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
310 s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv,
319 struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv);
320 s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv,
322 void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv,
328 struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv,
343 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter);
344 void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv);
[all …]

12