Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/rtl8712/
Drtl871x_xmit.c53 int _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv, in _r8712_init_xmit_priv() argument
61 memset((unsigned char *)pxmitpriv, 0, sizeof(struct xmit_priv)); in _r8712_init_xmit_priv()
62 spin_lock_init(&pxmitpriv->lock); in _r8712_init_xmit_priv()
66 pxmitpriv->adapter = padapter; in _r8712_init_xmit_priv()
67 _init_queue(&pxmitpriv->be_pending); in _r8712_init_xmit_priv()
68 _init_queue(&pxmitpriv->bk_pending); in _r8712_init_xmit_priv()
69 _init_queue(&pxmitpriv->vi_pending); in _r8712_init_xmit_priv()
70 _init_queue(&pxmitpriv->vo_pending); in _r8712_init_xmit_priv()
71 _init_queue(&pxmitpriv->bm_pending); in _r8712_init_xmit_priv()
72 _init_queue(&pxmitpriv->legacy_dz_queue); in _r8712_init_xmit_priv()
[all …]
Dusb_ops_linux.c316 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_xmit_bh() local
323 ret = r8712_xmitframe_complete(padapter, pxmitpriv, NULL); in r8712_xmit_bh()
326 tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); in r8712_xmit_bh()
335 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in usb_write_port_complete() local
341 pxmitpriv->bkq_cnt--; in usb_write_port_complete()
345 pxmitpriv->viq_cnt--; in usb_write_port_complete()
349 pxmitpriv->voq_cnt--; in usb_write_port_complete()
354 pxmitpriv->beq_cnt--; in usb_write_port_complete()
357 pxmitpriv->txirp_cnt--; in usb_write_port_complete()
375 r8712_free_xmitframe_ex(pxmitpriv, pxmitframe); in usb_write_port_complete()
[all …]
Drtl871x_sta_mgt.c149 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_free_stainfo() local
156 spin_lock_irqsave(&(pxmitpriv->vo_pending.lock), irqL0); in r8712_free_stainfo()
157 r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in r8712_free_stainfo()
159 spin_unlock_irqrestore(&(pxmitpriv->vo_pending.lock), irqL0); in r8712_free_stainfo()
160 spin_lock_irqsave(&(pxmitpriv->vi_pending.lock), irqL0); in r8712_free_stainfo()
161 r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in r8712_free_stainfo()
163 spin_unlock_irqrestore(&(pxmitpriv->vi_pending.lock), irqL0); in r8712_free_stainfo()
164 spin_lock_irqsave(&(pxmitpriv->bk_pending.lock), irqL0); in r8712_free_stainfo()
165 r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in r8712_free_stainfo()
167 spin_unlock_irqrestore(&(pxmitpriv->bk_pending.lock), irqL0); in r8712_free_stainfo()
[all …]
Drtl8712_xmit.c149 static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, in dequeue_one_xmitframe() argument
169 static struct xmit_frame *dequeue_xframe_ex(struct xmit_priv *pxmitpriv, in dequeue_xframe_ex() argument
182 inx[0] = 0; acirp_cnt[0] = pxmitpriv->voq_cnt; in dequeue_xframe_ex()
183 inx[1] = 1; acirp_cnt[1] = pxmitpriv->viq_cnt; in dequeue_xframe_ex()
184 inx[2] = 2; acirp_cnt[2] = pxmitpriv->beq_cnt; in dequeue_xframe_ex()
185 inx[3] = 3; acirp_cnt[3] = pxmitpriv->bkq_cnt; in dequeue_xframe_ex()
194 spin_lock_irqsave(&pxmitpriv->lock, irqL0); in dequeue_xframe_ex()
203 pxmitframe = dequeue_one_xmitframe(pxmitpriv, phwxmit, in dequeue_xframe_ex()
220 spin_unlock_irqrestore(&pxmitpriv->lock, irqL0); in dequeue_xframe_ex()
595 struct xmit_priv *pxmitpriv, in r8712_xmitframe_complete() argument
[all …]
Drtl871x_xmit.h252 void r8712_free_xmitbuf(struct xmit_priv *pxmitpriv,
254 struct xmit_buf *r8712_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
256 struct xmit_frame *r8712_alloc_xmitframe(struct xmit_priv *pxmitpriv);
257 void r8712_free_xmitframe(struct xmit_priv *pxmitpriv,
259 void r8712_free_xmitframe_queue(struct xmit_priv *pxmitpriv,
271 int _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv,
273 void _free_xmit_priv(struct xmit_priv *pxmitpriv);
274 void r8712_free_xmitframe_ex(struct xmit_priv *pxmitpriv,
Dos_intfs.c176 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r871x_net_get_stats() local
179 padapter->stats.tx_packets = pxmitpriv->tx_pkts; in r871x_net_get_stats()
181 padapter->stats.tx_dropped = pxmitpriv->tx_drop; in r871x_net_get_stats()
183 padapter->stats.tx_bytes = pxmitpriv->tx_bytes; in r871x_net_get_stats()
264 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in init_default_value() local
269 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in init_default_value()
270 pxmitpriv->vcs = pregistrypriv->vcs_type; in init_default_value()
271 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in init_default_value()
272 pxmitpriv->rts_thresh = pregistrypriv->rts_thresh; in init_default_value()
273 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in init_default_value()
Drtl871x_security.c161 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_wep_encrypt() local
191 length = pxmitpriv->frag_len - in r8712_wep_encrypt()
201 pframe += pxmitpriv->frag_len; in r8712_wep_encrypt()
572 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_tkip_encrypt() local
614 length = pxmitpriv->frag_len - in r8712_tkip_encrypt()
626 pframe += pxmitpriv->frag_len; in r8712_tkip_encrypt()
1144 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in r8712_aes_encrypt() local
1169 length = pxmitpriv->frag_len - in r8712_aes_encrypt()
1175 pframe += pxmitpriv->frag_len; in r8712_aes_encrypt()
Drtl8712_xmit.h96 struct xmit_priv *pxmitpriv,
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c40 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtl8723_dequeue_writeport() local
52 pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); in rtl8723_dequeue_writeport()
54 pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); in rtl8723_dequeue_writeport()
86 enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
109 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
124 struct xmit_priv *pxmitpriv; in rtl8723bs_xmit_buf_handler() local
129 pxmitpriv = &padapter->xmitpriv; in rtl8723bs_xmit_buf_handler()
131 if (wait_for_completion_interruptible(&pxmitpriv->xmit_comp)) { in rtl8723bs_xmit_buf_handler()
141 queue_pending = check_pending_xmitbuf(pxmitpriv); in rtl8723bs_xmit_buf_handler()
170 static s32 xmit_xmitframes(struct adapter *padapter, struct xmit_priv *pxmitpriv) in xmit_xmitframes() argument
[all …]
Drtl8723b_cmd.c500 struct xmit_priv *pxmitpriv; in rtl8723b_set_FwRsvdPagePkt() local
514 pxmitpriv = &padapter->xmitpriv; in rtl8723b_set_FwRsvdPagePkt()
521 pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); in rtl8723b_set_FwRsvdPagePkt()
628 rtw_free_xmitframe(pxmitpriv, pcmdframe); in rtl8723b_set_FwRsvdPagePkt()
817 struct xmit_priv *pxmitpriv; in SetFwRsvdPagePkt_BTCoex() local
827 pxmitpriv = &padapter->xmitpriv; in SetFwRsvdPagePkt_BTCoex()
835 pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); in SetFwRsvdPagePkt_BTCoex()
894 rtw_free_xmitframe(pxmitpriv, pcmdframe); in SetFwRsvdPagePkt_BTCoex()
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_xmit.c35 s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) in _rtw_init_xmit_priv() argument
42 spin_lock_init(&pxmitpriv->lock); in _rtw_init_xmit_priv()
43 spin_lock_init(&pxmitpriv->lock_sctx); in _rtw_init_xmit_priv()
44 init_completion(&pxmitpriv->xmit_comp); in _rtw_init_xmit_priv()
45 init_completion(&pxmitpriv->terminate_xmitthread_comp); in _rtw_init_xmit_priv()
51 pxmitpriv->adapter = padapter; in _rtw_init_xmit_priv()
53 INIT_LIST_HEAD(&pxmitpriv->be_pending.queue); in _rtw_init_xmit_priv()
54 spin_lock_init(&pxmitpriv->be_pending.lock); in _rtw_init_xmit_priv()
55 INIT_LIST_HEAD(&pxmitpriv->bk_pending.queue); in _rtw_init_xmit_priv()
56 spin_lock_init(&pxmitpriv->bk_pending.lock); in _rtw_init_xmit_priv()
[all …]
Drtw_sta_mgt.c277 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_free_stainfo() local
296 spin_lock_bh(&pxmitpriv->lock); in rtw_free_stainfo()
298 rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); in rtw_free_stainfo()
303 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); in rtw_free_stainfo()
305 phwxmit = pxmitpriv->hwxmits; in rtw_free_stainfo()
312 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); in rtw_free_stainfo()
314 phwxmit = pxmitpriv->hwxmits+1; in rtw_free_stainfo()
321 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); in rtw_free_stainfo()
323 phwxmit = pxmitpriv->hwxmits+2; in rtw_free_stainfo()
330 rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); in rtw_free_stainfo()
[all …]
Drtw_mlme_ext.c1912 static struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once) in _alloc_mgtxmitframe() argument
1918 pmgntframe = rtw_alloc_xmitframe_once(pxmitpriv); in _alloc_mgtxmitframe()
1920 pmgntframe = rtw_alloc_xmitframe_ext(pxmitpriv); in _alloc_mgtxmitframe()
1925 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe()
1927 rtw_free_xmitframe(pxmitpriv, pmgntframe); in _alloc_mgtxmitframe()
1942 inline struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) in alloc_mgtxmitframe() argument
1944 return _alloc_mgtxmitframe(pxmitpriv, false); in alloc_mgtxmitframe()
2026 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in dump_mgntframe_and_wait() local
2045 spin_lock_irqsave(&pxmitpriv->lock_sctx, irqL); in dump_mgntframe_and_wait()
2047 spin_unlock_irqrestore(&pxmitpriv->lock_sctx, irqL); in dump_mgntframe_and_wait()
[all …]
Drtw_security.c51 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_wep_encrypt() local
81 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_wep_encrypt()
87 pframe += pxmitpriv->frag_len; in rtw_wep_encrypt()
475 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_tkip_encrypt() local
516 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_tkip_encrypt()
523 pframe += pxmitpriv->frag_len; in rtw_tkip_encrypt()
1042 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_aes_encrypt() local
1065 length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; in rtw_aes_encrypt()
1068 pframe += pxmitpriv->frag_len; in rtw_aes_encrypt()
Drtw_recv.c953 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in validate_recv_ctrl_frame() local
956 spin_lock_bh(&pxmitpriv->lock); in validate_recv_ctrl_frame()
988 spin_unlock_bh(&pxmitpriv->lock); in validate_recv_ctrl_frame()
992 spin_unlock_bh(&pxmitpriv->lock); in validate_recv_ctrl_frame()
Drtw_wlan_util.c778 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in WMMOnAssocRsp() local
869 pxmitpriv->wmm_para_seq[i] = inx[i]; in WMMOnAssocRsp()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Drtw_xmit.h429 extern struct xmit_frame *__rtw_alloc_cmdxmitframe(struct xmit_priv *pxmitpriv,
434 extern struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
435 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
437 extern struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
438 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
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);
449 extern void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue);
[all …]
Drtw_mlme_ext.h468 extern struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv);
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c71 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_os_pkt_complete() local
76 (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) in rtw_os_pkt_complete()
107 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_check_xmit_resource() local
113 if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) in rtw_check_xmit_resource()
116 if (pxmitpriv->free_xmitframe_cnt <= 4) { in rtw_check_xmit_resource()
126 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_mlcst2unicst() local
170 pxmitpriv->tx_drop++; in rtw_mlcst2unicst()
174 pxmitpriv->tx_drop++; in rtw_mlcst2unicst()
187 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in _rtw_xmit_entry() local
202 if (pxmitpriv->free_xmitframe_cnt > (NR_XMITFRAME / 4)) { in _rtw_xmit_entry()
[all …]
Dos_intfs.c296 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in rtw_net_get_stats() local
299 padapter->stats.tx_packets = pxmitpriv->tx_pkts;/* pxmitpriv->tx_pkts++; */ in rtw_net_get_stats()
301 padapter->stats.tx_dropped = pxmitpriv->tx_drop; in rtw_net_get_stats()
303 padapter->stats.tx_bytes = pxmitpriv->tx_bytes; in rtw_net_get_stats()
533 struct xmit_priv *pxmitpriv = &padapter->xmitpriv; in rtw_init_default_value() local
538 pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; in rtw_init_default_value()
539 pxmitpriv->vcs = pregistrypriv->vcs_type; in rtw_init_default_value()
540 pxmitpriv->vcs_type = pregistrypriv->vcs_type; in rtw_init_default_value()
542 pxmitpriv->frag_len = pregistrypriv->frag_thresh; in rtw_init_default_value()
Dioctl_cfg80211.c2074 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in rtw_cfg80211_monitor_if_xmit_entry() local
2084 pmgntframe = alloc_mgtxmitframe(pxmitpriv); in rtw_cfg80211_monitor_if_xmit_entry()
2483 struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); in _cfg80211_rtw_mgmt_tx() local
2496 pmgntframe = alloc_mgtxmitframe(pxmitpriv); in _cfg80211_rtw_mgmt_tx()