pxmitpriv 151 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) pxmitpriv 156 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = rtw_alloc_xmitframe(pxmitpriv); pxmitpriv 162 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); pxmitpriv 165 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_free_xmitframe(pxmitpriv, pmgntframe); pxmitpriv 258 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 263 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (mutex_lock_interruptible(&pxmitpriv->ack_tx_mutex)) pxmitpriv 265 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pxmitpriv->ack_tx = true; pxmitpriv 269 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = rtw_ack_tx_wait(pxmitpriv, timeout_ms); pxmitpriv 271 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pxmitpriv->ack_tx = false; pxmitpriv 272 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c mutex_unlock(&pxmitpriv->ack_tx_mutex); pxmitpriv 318 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 325 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 459 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 470 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 609 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 617 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 748 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 753 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 888 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 898 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 1016 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1023 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 1103 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_free_xmitbuf(pxmitpriv, pmgntframe->pxmitbuf); pxmitpriv 1104 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c rtw_free_xmitframe(pxmitpriv, pmgntframe); pxmitpriv 1191 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv; pxmitpriv 1199 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 1204 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 1313 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1320 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 1439 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1446 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 1555 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1565 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 1702 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1722 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 4629 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 4648 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (pxmitpriv->last_tx_pkts == pxmitpriv->tx_pkts) pxmitpriv 4711 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pxmitpriv->last_tx_pkts = pxmitpriv->tx_pkts; pxmitpriv 139 drivers/staging/rtl8188eu/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 173 drivers/staging/rtl8188eu/core/rtw_security.c length = pxmitpriv->frag_len; pxmitpriv 591 drivers/staging/rtl8188eu/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 637 drivers/staging/rtl8188eu/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; pxmitpriv 643 drivers/staging/rtl8188eu/core/rtw_security.c pframe += pxmitpriv->frag_len; pxmitpriv 1229 drivers/staging/rtl8188eu/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1262 drivers/staging/rtl8188eu/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; pxmitpriv 1265 drivers/staging/rtl8188eu/core/rtw_security.c pframe += pxmitpriv->frag_len; pxmitpriv 252 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 262 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 264 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); pxmitpriv 267 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); pxmitpriv 271 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); pxmitpriv 275 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); pxmitpriv 279 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); pxmitpriv 283 drivers/staging/rtl8188eu/core/rtw_sta_mgt.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 501 drivers/staging/rtl8188eu/core/rtw_wlan_util.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 586 drivers/staging/rtl8188eu/core/rtw_wlan_util.c pxmitpriv->wmm_para_seq[i] = inx[i]; pxmitpriv 587 drivers/staging/rtl8188eu/core/rtw_wlan_util.c DBG_88E("wmm_para_seq(%d): %d\n", i, pxmitpriv->wmm_para_seq[i]); pxmitpriv 38 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) pxmitpriv 49 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_init(&pxmitpriv->lock); pxmitpriv 55 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->adapter = padapter; pxmitpriv 57 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->be_pending); pxmitpriv 58 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->bk_pending); pxmitpriv 59 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->vi_pending); pxmitpriv 60 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->vo_pending); pxmitpriv 61 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->bm_pending); pxmitpriv 63 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xmit_queue); pxmitpriv 71 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); pxmitpriv 73 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!pxmitpriv->pallocated_frame_buf) { pxmitpriv 74 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pxmit_frame_buf = NULL; pxmitpriv 79 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pxmit_frame_buf = PTR_ALIGN(pxmitpriv->pallocated_frame_buf, 4); pxmitpriv 81 drivers/staging/rtl8188eu/core/rtw_xmit.c pxframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; pxmitpriv 94 drivers/staging/rtl8188eu/core/rtw_xmit.c list_add_tail(&pxframe->list, &pxmitpriv->free_xmit_queue.queue); pxmitpriv 99 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt = NR_XMITFRAME; pxmitpriv 101 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->frag_len = MAX_FRAG_THRESHOLD; pxmitpriv 104 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xmitbuf_queue); pxmitpriv 105 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->pending_xmitbuf_queue); pxmitpriv 107 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pallocated_xmitbuf = vzalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4); pxmitpriv 109 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!pxmitpriv->pallocated_xmitbuf) { pxmitpriv 115 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pxmitbuf = PTR_ALIGN(pxmitpriv->pallocated_xmitbuf, 4); pxmitpriv 117 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; pxmitpriv 137 drivers/staging/rtl8188eu/core/rtw_xmit.c list_add_tail(&pxmitbuf->list, &pxmitpriv->free_xmitbuf_queue.queue); pxmitpriv 141 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitbuf_cnt = NR_XMITBUFF; pxmitpriv 144 drivers/staging/rtl8188eu/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xmit_extbuf_queue); pxmitpriv 146 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pallocated_xmit_extbuf = vzalloc(num_xmit_extbuf * sizeof(struct xmit_buf) + 4); pxmitpriv 148 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!pxmitpriv->pallocated_xmit_extbuf) { pxmitpriv 154 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->pxmit_extbuf = PTR_ALIGN(pxmitpriv->pallocated_xmit_extbuf, 4); pxmitpriv 156 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf; pxmitpriv 171 drivers/staging/rtl8188eu/core/rtw_xmit.c list_add_tail(&pxmitbuf->list, &pxmitpriv->free_xmit_extbuf_queue.queue); pxmitpriv 175 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmit_extbuf_cnt = num_xmit_extbuf; pxmitpriv 180 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); pxmitpriv 183 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->wmm_para_seq[i] = i; pxmitpriv 185 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->txirp_cnt = 1; pxmitpriv 188 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->beq_cnt = 0; pxmitpriv 189 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->bkq_cnt = 0; pxmitpriv 190 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->viq_cnt = 0; pxmitpriv 191 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->voq_cnt = 0; pxmitpriv 193 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->ack_tx = false; pxmitpriv 194 drivers/staging/rtl8188eu/core/rtw_xmit.c mutex_init(&pxmitpriv->ack_tx_mutex); pxmitpriv 195 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_sctx_init(&pxmitpriv->ack_tx_ops, 0); pxmitpriv 203 drivers/staging/rtl8188eu/core/rtw_xmit.c void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv) pxmitpriv 206 drivers/staging/rtl8188eu/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; pxmitpriv 207 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitpriv->pxmit_frame_buf; pxmitpriv 208 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_buf *pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; pxmitpriv 211 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!pxmitpriv->pxmit_frame_buf) pxmitpriv 225 drivers/staging/rtl8188eu/core/rtw_xmit.c vfree(pxmitpriv->pallocated_frame_buf); pxmitpriv 226 drivers/staging/rtl8188eu/core/rtw_xmit.c vfree(pxmitpriv->pallocated_xmitbuf); pxmitpriv 229 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf; pxmitpriv 235 drivers/staging/rtl8188eu/core/rtw_xmit.c vfree(pxmitpriv->pallocated_xmit_extbuf); pxmitpriv 239 drivers/staging/rtl8188eu/core/rtw_xmit.c mutex_destroy(&pxmitpriv->ack_tx_mutex); pxmitpriv 596 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 669 drivers/staging/rtl8188eu/core/rtw_xmit.c length = pxmitpriv->frag_len - pxmitpriv 856 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 858 drivers/staging/rtl8188eu/core/rtw_xmit.c return (!list_empty(&pxmitpriv->be_pending.queue) || pxmitpriv 859 drivers/staging/rtl8188eu/core/rtw_xmit.c !list_empty(&pxmitpriv->bk_pending.queue) || pxmitpriv 860 drivers/staging/rtl8188eu/core/rtw_xmit.c !list_empty(&pxmitpriv->vi_pending.queue) || pxmitpriv 861 drivers/staging/rtl8188eu/core/rtw_xmit.c !list_empty(&pxmitpriv->vo_pending.queue)); pxmitpriv 914 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 945 drivers/staging/rtl8188eu/core/rtw_xmit.c frg_len = pxmitpriv->frag_len - 4;/* 2346-4 = 2342 */ pxmitpriv 1091 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1094 drivers/staging/rtl8188eu/core/rtw_xmit.c switch (pxmitpriv->vcs_setting) { pxmitpriv 1096 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 1104 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 1109 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->vcs = RTS_CTS; pxmitpriv 1111 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->vcs = CTS_TO_SELF; pxmitpriv 1113 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 1124 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1128 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->tx_bytes += sz; pxmitpriv 1140 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv) pxmitpriv 1144 drivers/staging/rtl8188eu/core/rtw_xmit.c struct __queue *pfree_queue = &pxmitpriv->free_xmit_extbuf_queue; pxmitpriv 1151 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmit_extbuf_cnt--; pxmitpriv 1163 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) pxmitpriv 1166 drivers/staging/rtl8188eu/core/rtw_xmit.c struct __queue *pfree_queue = &pxmitpriv->free_xmit_extbuf_queue; pxmitpriv 1176 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmit_extbuf_cnt++; pxmitpriv 1183 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv) pxmitpriv 1187 drivers/staging/rtl8188eu/core/rtw_xmit.c struct __queue *pfree_xmitbuf_queue = &pxmitpriv->free_xmitbuf_queue; pxmitpriv 1194 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitbuf_cnt--; pxmitpriv 1206 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) pxmitpriv 1209 drivers/staging/rtl8188eu/core/rtw_xmit.c struct __queue *pfree_xmitbuf_queue = &pxmitpriv->free_xmitbuf_queue; pxmitpriv 1220 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_free_xmitbuf_ext(pxmitpriv, pxmitbuf); pxmitpriv 1228 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitbuf_cnt++; pxmitpriv 1247 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv) pxmitpriv 1256 drivers/staging/rtl8188eu/core/rtw_xmit.c struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue; pxmitpriv 1264 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt)); pxmitpriv 1269 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt--; pxmitpriv 1273 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt)); pxmitpriv 1293 drivers/staging/rtl8188eu/core/rtw_xmit.c s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe) pxmitpriv 1295 drivers/staging/rtl8188eu/core/rtw_xmit.c struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue; pxmitpriv 1296 drivers/staging/rtl8188eu/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; pxmitpriv 1315 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt++; pxmitpriv 1316 drivers/staging/rtl8188eu/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_debug_, ("%s:free_xmitframe_cnt=%d\n", __func__, pxmitpriv->free_xmitframe_cnt)); pxmitpriv 1327 drivers/staging/rtl8188eu/core/rtw_xmit.c void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue) pxmitpriv 1342 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 1358 drivers/staging/rtl8188eu/core/rtw_xmit.c static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, struct hw_xmit *phwxmit, struct tx_servq *ptxservq, struct __queue *pframe_queue) pxmitpriv 1378 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv, struct hw_xmit *phwxmit_i, int entry) pxmitpriv 1385 drivers/staging/rtl8188eu/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; pxmitpriv 1395 drivers/staging/rtl8188eu/core/rtw_xmit.c inx[j] = pxmitpriv->wmm_para_seq[j]; pxmitpriv 1398 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 1411 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitframe = dequeue_one_xmitframe(pxmitpriv, phwxmit, ptxservq, pframe_queue); pxmitpriv 1426 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 1511 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1513 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->hwxmit_entry = HWXMIT_ENTRY; pxmitpriv 1515 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitpriv->hwxmits = kcalloc(pxmitpriv->hwxmit_entry, pxmitpriv 1517 drivers/staging/rtl8188eu/core/rtw_xmit.c if (!pxmitpriv->hwxmits) pxmitpriv 1520 drivers/staging/rtl8188eu/core/rtw_xmit.c hwxmits = pxmitpriv->hwxmits; pxmitpriv 1522 drivers/staging/rtl8188eu/core/rtw_xmit.c hwxmits[0] .sta_queue = &pxmitpriv->vo_pending; pxmitpriv 1523 drivers/staging/rtl8188eu/core/rtw_xmit.c hwxmits[1] .sta_queue = &pxmitpriv->vi_pending; pxmitpriv 1524 drivers/staging/rtl8188eu/core/rtw_xmit.c hwxmits[2] .sta_queue = &pxmitpriv->be_pending; pxmitpriv 1525 drivers/staging/rtl8188eu/core/rtw_xmit.c hwxmits[3] .sta_queue = &pxmitpriv->bk_pending; pxmitpriv 1532 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1534 drivers/staging/rtl8188eu/core/rtw_xmit.c hwxmits = pxmitpriv->hwxmits; pxmitpriv 1593 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1597 drivers/staging/rtl8188eu/core/rtw_xmit.c pxmitframe = rtw_alloc_xmitframe(pxmitpriv); pxmitpriv 1608 drivers/staging/rtl8188eu/core/rtw_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 1618 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 1620 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 1623 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 1769 drivers/staging/rtl8188eu/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1776 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 1804 drivers/staging/rtl8188eu/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 2062 drivers/staging/rtl8188eu/core/rtw_xmit.c int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms) pxmitpriv 2064 drivers/staging/rtl8188eu/core/rtw_xmit.c struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops; pxmitpriv 2073 drivers/staging/rtl8188eu/core/rtw_xmit.c void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status) pxmitpriv 2075 drivers/staging/rtl8188eu/core/rtw_xmit.c struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops; pxmitpriv 2077 drivers/staging/rtl8188eu/core/rtw_xmit.c if (pxmitpriv->ack_tx) pxmitpriv 1037 drivers/staging/rtl8188eu/hal/odm.c struct xmit_priv *pxmitpriv = &(Adapter->xmitpriv); pxmitpriv 1051 drivers/staging/rtl8188eu/hal/odm.c cur_tx_bytes = pxmitpriv->tx_bytes - pxmitpriv->last_tx_bytes; pxmitpriv 1099 drivers/staging/rtl8188eu/hal/odm.c pxmitpriv->last_tx_bytes = pxmitpriv->tx_bytes; pxmitpriv 438 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c struct xmit_priv *pxmitpriv; pxmitpriv 457 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pxmitpriv = &adapt->xmitpriv; pxmitpriv 520 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 18 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c struct xmit_priv *pxmitpriv = &adapt->xmitpriv; pxmitpriv 20 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c tasklet_init(&pxmitpriv->xmit_tasklet, pxmitpriv 341 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c struct xmit_priv *pxmitpriv = &adapt->xmitpriv; pxmitpriv 360 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c sz = pxmitpriv->frag_len; pxmitpriv 389 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 416 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c struct xmit_priv *pxmitpriv) pxmitpriv 442 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); pxmitpriv 447 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 449 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c pxmitframe = rtw_dequeue_xframe(pxmitpriv, pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); pxmitpriv 452 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 490 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c phwxmit = pxmitpriv->hwxmits + 3; pxmitpriv 495 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c phwxmit = pxmitpriv->hwxmits + 1; pxmitpriv 500 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c phwxmit = pxmitpriv->hwxmits; pxmitpriv 506 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c phwxmit = pxmitpriv->hwxmits + 2; pxmitpriv 509 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 542 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 565 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 591 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitframe(pxmitpriv, pfirstframe); pxmitpriv 605 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c struct xmit_priv *pxmitpriv = &adapt->xmitpriv; pxmitpriv 609 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 617 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); pxmitpriv 621 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 633 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 634 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 641 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 645 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 648 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c pxmitpriv->tx_pkts--; pxmitpriv 649 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c pxmitpriv->tx_drop++; pxmitpriv 153 drivers/staging/rtl8188eu/include/rtl8188e_xmit.h struct xmit_priv *pxmitpriv); pxmitpriv 450 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv); pxmitpriv 302 drivers/staging/rtl8188eu/include/rtw_xmit.h struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv); pxmitpriv 303 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, pxmitpriv 305 drivers/staging/rtl8188eu/include/rtw_xmit.h struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv); pxmitpriv 306 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, pxmitpriv 315 drivers/staging/rtl8188eu/include/rtw_xmit.h struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv); pxmitpriv 316 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, pxmitpriv 318 drivers/staging/rtl8188eu/include/rtw_xmit.h void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, pxmitpriv 324 drivers/staging/rtl8188eu/include/rtw_xmit.h struct xmit_frame *rtw_dequeue_xframe(struct xmit_priv *pxmitpriv, pxmitpriv 337 drivers/staging/rtl8188eu/include/rtw_xmit.h s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter); pxmitpriv 338 drivers/staging/rtl8188eu/include/rtw_xmit.h void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv); pxmitpriv 352 drivers/staging/rtl8188eu/include/rtw_xmit.h int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms); pxmitpriv 353 drivers/staging/rtl8188eu/include/rtw_xmit.h void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status); pxmitpriv 202 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 205 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.tx_packets = pxmitpriv->tx_pkts; pxmitpriv 207 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.tx_dropped = pxmitpriv->tx_drop; pxmitpriv 209 drivers/staging/rtl8188eu/os_dep/os_intfs.c padapter->stats.tx_bytes = pxmitpriv->tx_bytes; pxmitpriv 364 drivers/staging/rtl8188eu/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 369 drivers/staging/rtl8188eu/os_dep/os_intfs.c pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; pxmitpriv 370 drivers/staging/rtl8188eu/os_dep/os_intfs.c pxmitpriv->vcs = pregistrypriv->vcs_type; pxmitpriv 371 drivers/staging/rtl8188eu/os_dep/os_intfs.c pxmitpriv->vcs_type = pregistrypriv->vcs_type; pxmitpriv 372 drivers/staging/rtl8188eu/os_dep/os_intfs.c pxmitpriv->frag_len = pregistrypriv->frag_thresh; pxmitpriv 575 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 579 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->voq_cnt--; pxmitpriv 582 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->viq_cnt--; pxmitpriv 585 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->beq_cnt--; pxmitpriv 588 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->bkq_cnt--; pxmitpriv 651 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 653 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); pxmitpriv 664 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 679 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c spin_lock_irqsave(&pxmitpriv->lock, irqL); pxmitpriv 683 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->voq_cnt++; pxmitpriv 687 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->viq_cnt++; pxmitpriv 691 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->beq_cnt++; pxmitpriv 695 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c pxmitpriv->bkq_cnt++; pxmitpriv 706 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c spin_unlock_irqrestore(&pxmitpriv->lock, irqL); pxmitpriv 745 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c rtw_free_xmitbuf(pxmitpriv, xmitbuf); pxmitpriv 798 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct xmit_priv *pxmitpriv = &adapt->xmitpriv; pxmitpriv 811 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c if (!rtl8188eu_xmitframe_complete(adapt, pxmitpriv)) pxmitpriv 54 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 59 drivers/staging/rtl8188eu/os_dep/xmit_linux.c (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) pxmitpriv 78 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv; pxmitpriv 83 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 85 drivers/staging/rtl8188eu/os_dep/xmit_linux.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 88 drivers/staging/rtl8188eu/os_dep/xmit_linux.c tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); pxmitpriv 90 drivers/staging/rtl8188eu/os_dep/xmit_linux.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 96 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 102 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) pxmitpriv 105 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (pxmitpriv->free_xmitframe_cnt <= 4) { pxmitpriv 115 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 143 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv->tx_drop++; pxmitpriv 146 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv->tx_pkts++; pxmitpriv 151 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv->tx_drop++; pxmitpriv 170 drivers/staging/rtl8188eu/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 187 drivers/staging/rtl8188eu/os_dep/xmit_linux.c if (pxmitpriv->free_xmitframe_cnt > NR_XMITFRAME / 4) { pxmitpriv 198 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv->tx_pkts++; pxmitpriv 200 drivers/staging/rtl8188eu/os_dep/xmit_linux.c ("%s: tx_pkts=%d\n", __func__, (u32)pxmitpriv->tx_pkts)); pxmitpriv 204 drivers/staging/rtl8188eu/os_dep/xmit_linux.c pxmitpriv->tx_drop++; pxmitpriv 207 drivers/staging/rtl8188eu/os_dep/xmit_linux.c ("%s: drop, tx_drop=%d\n", __func__, (u32)pxmitpriv->tx_drop)); pxmitpriv 176 drivers/staging/rtl8712/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 179 drivers/staging/rtl8712/os_intfs.c padapter->stats.tx_packets = pxmitpriv->tx_pkts; pxmitpriv 181 drivers/staging/rtl8712/os_intfs.c padapter->stats.tx_dropped = pxmitpriv->tx_drop; pxmitpriv 183 drivers/staging/rtl8712/os_intfs.c padapter->stats.tx_bytes = pxmitpriv->tx_bytes; pxmitpriv 264 drivers/staging/rtl8712/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 269 drivers/staging/rtl8712/os_intfs.c pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; pxmitpriv 270 drivers/staging/rtl8712/os_intfs.c pxmitpriv->vcs = pregistrypriv->vcs_type; pxmitpriv 271 drivers/staging/rtl8712/os_intfs.c pxmitpriv->vcs_type = pregistrypriv->vcs_type; pxmitpriv 272 drivers/staging/rtl8712/os_intfs.c pxmitpriv->rts_thresh = pregistrypriv->rts_thresh; pxmitpriv 273 drivers/staging/rtl8712/os_intfs.c pxmitpriv->frag_len = pregistrypriv->frag_thresh; pxmitpriv 149 drivers/staging/rtl8712/rtl8712_xmit.c static struct xmit_frame *dequeue_one_xmitframe(struct xmit_priv *pxmitpriv, pxmitpriv 169 drivers/staging/rtl8712/rtl8712_xmit.c static struct xmit_frame *dequeue_xframe_ex(struct xmit_priv *pxmitpriv, pxmitpriv 182 drivers/staging/rtl8712/rtl8712_xmit.c inx[0] = 0; acirp_cnt[0] = pxmitpriv->voq_cnt; pxmitpriv 183 drivers/staging/rtl8712/rtl8712_xmit.c inx[1] = 1; acirp_cnt[1] = pxmitpriv->viq_cnt; pxmitpriv 184 drivers/staging/rtl8712/rtl8712_xmit.c inx[2] = 2; acirp_cnt[2] = pxmitpriv->beq_cnt; pxmitpriv 185 drivers/staging/rtl8712/rtl8712_xmit.c inx[3] = 3; acirp_cnt[3] = pxmitpriv->bkq_cnt; pxmitpriv 194 drivers/staging/rtl8712/rtl8712_xmit.c spin_lock_irqsave(&pxmitpriv->lock, irqL0); pxmitpriv 203 drivers/staging/rtl8712/rtl8712_xmit.c pxmitframe = dequeue_one_xmitframe(pxmitpriv, phwxmit, pxmitpriv 220 drivers/staging/rtl8712/rtl8712_xmit.c spin_unlock_irqrestore(&pxmitpriv->lock, irqL0); pxmitpriv 596 drivers/staging/rtl8712/rtl8712_xmit.c struct xmit_priv *pxmitpriv, pxmitpriv 608 drivers/staging/rtl8712/rtl8712_xmit.c phwxmits = pxmitpriv->hwxmits; pxmitpriv 609 drivers/staging/rtl8712/rtl8712_xmit.c hwentry = pxmitpriv->hwxmit_entry; pxmitpriv 611 drivers/staging/rtl8712/rtl8712_xmit.c pxmitbuf = r8712_alloc_xmitbuf(pxmitpriv); pxmitpriv 619 drivers/staging/rtl8712/rtl8712_xmit.c pxmitframe = dequeue_xframe_ex(pxmitpriv, phwxmits, hwentry); pxmitpriv 628 drivers/staging/rtl8712/rtl8712_xmit.c p2ndxmitframe = dequeue_xframe_ex(pxmitpriv, phwxmits, pxmitpriv 631 drivers/staging/rtl8712/rtl8712_xmit.c r8712_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 636 drivers/staging/rtl8712/rtl8712_xmit.c r8712_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 647 drivers/staging/rtl8712/rtl8712_xmit.c pxmitpriv, phwxmits, hwentry); pxmitpriv 676 drivers/staging/rtl8712/rtl8712_xmit.c r8712_free_xmitframe_ex(pxmitpriv, pxmitframe); pxmitpriv 681 drivers/staging/rtl8712/rtl8712_xmit.c r8712_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 694 drivers/staging/rtl8712/rtl8712_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 704 drivers/staging/rtl8712/rtl8712_xmit.c sz = pxmitpriv->frag_len; pxmitpriv 99 drivers/staging/rtl8712/rtl8712_xmit.h struct xmit_priv *pxmitpriv, pxmitpriv 161 drivers/staging/rtl8712/rtl871x_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 191 drivers/staging/rtl8712/rtl871x_security.c length = pxmitpriv->frag_len - pxmitpriv 201 drivers/staging/rtl8712/rtl871x_security.c pframe += pxmitpriv->frag_len; pxmitpriv 573 drivers/staging/rtl8712/rtl871x_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 615 drivers/staging/rtl8712/rtl871x_security.c length = pxmitpriv->frag_len - pxmitpriv 627 drivers/staging/rtl8712/rtl871x_security.c pframe += pxmitpriv->frag_len; pxmitpriv 1145 drivers/staging/rtl8712/rtl871x_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1170 drivers/staging/rtl8712/rtl871x_security.c length = pxmitpriv->frag_len - pxmitpriv 1176 drivers/staging/rtl8712/rtl871x_security.c pframe += pxmitpriv->frag_len; pxmitpriv 149 drivers/staging/rtl8712/rtl871x_sta_mgt.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 156 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_lock_irqsave(&(pxmitpriv->vo_pending.lock), irqL0); pxmitpriv 157 drivers/staging/rtl8712/rtl871x_sta_mgt.c r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); pxmitpriv 159 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_unlock_irqrestore(&(pxmitpriv->vo_pending.lock), irqL0); pxmitpriv 160 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_lock_irqsave(&(pxmitpriv->vi_pending.lock), irqL0); pxmitpriv 161 drivers/staging/rtl8712/rtl871x_sta_mgt.c r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); pxmitpriv 163 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_unlock_irqrestore(&(pxmitpriv->vi_pending.lock), irqL0); pxmitpriv 164 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_lock_irqsave(&(pxmitpriv->bk_pending.lock), irqL0); pxmitpriv 165 drivers/staging/rtl8712/rtl871x_sta_mgt.c r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); pxmitpriv 167 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_unlock_irqrestore(&(pxmitpriv->bk_pending.lock), irqL0); pxmitpriv 168 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_lock_irqsave(&(pxmitpriv->be_pending.lock), irqL0); pxmitpriv 169 drivers/staging/rtl8712/rtl871x_sta_mgt.c r8712_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); pxmitpriv 171 drivers/staging/rtl8712/rtl871x_sta_mgt.c spin_unlock_irqrestore(&(pxmitpriv->be_pending.lock), irqL0); pxmitpriv 52 drivers/staging/rtl8712/rtl871x_xmit.c int _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv, pxmitpriv 59 drivers/staging/rtl8712/rtl871x_xmit.c memset((unsigned char *)pxmitpriv, 0, sizeof(struct xmit_priv)); pxmitpriv 60 drivers/staging/rtl8712/rtl871x_xmit.c spin_lock_init(&pxmitpriv->lock); pxmitpriv 64 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->adapter = padapter; pxmitpriv 65 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->be_pending); pxmitpriv 66 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->bk_pending); pxmitpriv 67 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->vi_pending); pxmitpriv 68 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->vo_pending); pxmitpriv 69 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->bm_pending); pxmitpriv 70 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->legacy_dz_queue); pxmitpriv 71 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->apsd_queue); pxmitpriv 72 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->free_xmit_queue); pxmitpriv 78 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pallocated_frame_buf = pxmitpriv 80 drivers/staging/rtl8712/rtl871x_xmit.c if (!pxmitpriv->pallocated_frame_buf) { pxmitpriv 81 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pxmit_frame_buf = NULL; pxmitpriv 84 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pxmit_frame_buf = pxmitpriv->pallocated_frame_buf + 4 - pxmitpriv 85 drivers/staging/rtl8712/rtl871x_xmit.c ((addr_t) (pxmitpriv->pallocated_frame_buf) & 3); pxmitpriv 86 drivers/staging/rtl8712/rtl871x_xmit.c pxframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; pxmitpriv 95 drivers/staging/rtl8712/rtl871x_xmit.c &(pxmitpriv->free_xmit_queue.queue)); pxmitpriv 98 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->free_xmitframe_cnt = NR_XMITFRAME; pxmitpriv 102 drivers/staging/rtl8712/rtl871x_xmit.c _r8712_init_hw_txqueue(&pxmitpriv->be_txqueue, BE_QUEUE_INX); pxmitpriv 103 drivers/staging/rtl8712/rtl871x_xmit.c _r8712_init_hw_txqueue(&pxmitpriv->bk_txqueue, BK_QUEUE_INX); pxmitpriv 104 drivers/staging/rtl8712/rtl871x_xmit.c _r8712_init_hw_txqueue(&pxmitpriv->vi_txqueue, VI_QUEUE_INX); pxmitpriv 105 drivers/staging/rtl8712/rtl871x_xmit.c _r8712_init_hw_txqueue(&pxmitpriv->vo_txqueue, VO_QUEUE_INX); pxmitpriv 106 drivers/staging/rtl8712/rtl871x_xmit.c _r8712_init_hw_txqueue(&pxmitpriv->bmc_txqueue, BMC_QUEUE_INX); pxmitpriv 107 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->frag_len = MAX_FRAG_THRESHOLD; pxmitpriv 108 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->txirp_cnt = 1; pxmitpriv 110 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->beq_cnt = 0; pxmitpriv 111 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->bkq_cnt = 0; pxmitpriv 112 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->viq_cnt = 0; pxmitpriv 113 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->voq_cnt = 0; pxmitpriv 115 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->free_xmitbuf_queue); pxmitpriv 116 drivers/staging/rtl8712/rtl871x_xmit.c _init_queue(&pxmitpriv->pending_xmitbuf_queue); pxmitpriv 117 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pallocated_xmitbuf = pxmitpriv 119 drivers/staging/rtl8712/rtl871x_xmit.c if (!pxmitpriv->pallocated_xmitbuf) { pxmitpriv 120 drivers/staging/rtl8712/rtl871x_xmit.c kfree(pxmitpriv->pallocated_frame_buf); pxmitpriv 121 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pallocated_frame_buf = NULL; pxmitpriv 124 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pxmitbuf = pxmitpriv->pallocated_xmitbuf + 4 - pxmitpriv 125 drivers/staging/rtl8712/rtl871x_xmit.c ((addr_t)(pxmitpriv->pallocated_xmitbuf) & 3); pxmitpriv 126 drivers/staging/rtl8712/rtl871x_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; pxmitpriv 139 drivers/staging/rtl8712/rtl871x_xmit.c &(pxmitpriv->free_xmitbuf_queue.queue)); pxmitpriv 142 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->free_xmitbuf_cnt = NR_XMITBUFF; pxmitpriv 145 drivers/staging/rtl8712/rtl871x_xmit.c init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); pxmitpriv 146 drivers/staging/rtl8712/rtl871x_xmit.c tasklet_init(&pxmitpriv->xmit_tasklet, pxmitpriv 152 drivers/staging/rtl8712/rtl871x_xmit.c void _free_xmit_priv(struct xmit_priv *pxmitpriv) pxmitpriv 155 drivers/staging/rtl8712/rtl871x_xmit.c struct _adapter *padapter = pxmitpriv->adapter; pxmitpriv 157 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->pxmit_frame_buf; pxmitpriv 158 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_buf *pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; pxmitpriv 160 drivers/staging/rtl8712/rtl871x_xmit.c if (pxmitpriv->pxmit_frame_buf == NULL) pxmitpriv 171 drivers/staging/rtl8712/rtl871x_xmit.c kfree(pxmitpriv->pallocated_frame_buf); pxmitpriv 172 drivers/staging/rtl8712/rtl871x_xmit.c kfree(pxmitpriv->pallocated_xmitbuf); pxmitpriv 355 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 426 drivers/staging/rtl8712/rtl871x_xmit.c length = pxmitpriv->frag_len - pxmitpriv 595 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 621 drivers/staging/rtl8712/rtl871x_xmit.c frg_len = pxmitpriv->frag_len - 4; pxmitpriv 710 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 713 drivers/staging/rtl8712/rtl871x_xmit.c switch (pxmitpriv->vcs_setting) { pxmitpriv 715 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 723 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 728 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vcs = RTS_CTS; pxmitpriv 730 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vcs = CTS_TO_SELF; pxmitpriv 732 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 739 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_buf *r8712_alloc_xmitbuf(struct xmit_priv *pxmitpriv) pxmitpriv 743 drivers/staging/rtl8712/rtl871x_xmit.c struct __queue *pfree_xmitbuf_queue = &pxmitpriv->free_xmitbuf_queue; pxmitpriv 750 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->free_xmitbuf_cnt--; pxmitpriv 756 drivers/staging/rtl8712/rtl871x_xmit.c void r8712_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) pxmitpriv 759 drivers/staging/rtl8712/rtl871x_xmit.c struct __queue *pfree_xmitbuf_queue = &pxmitpriv->free_xmitbuf_queue; pxmitpriv 766 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->free_xmitbuf_cnt++; pxmitpriv 781 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_frame *r8712_alloc_xmitframe(struct xmit_priv *pxmitpriv) pxmitpriv 790 drivers/staging/rtl8712/rtl871x_xmit.c struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue; pxmitpriv 797 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->free_xmitframe_cnt--; pxmitpriv 807 drivers/staging/rtl8712/rtl871x_xmit.c void r8712_free_xmitframe(struct xmit_priv *pxmitpriv, pxmitpriv 811 drivers/staging/rtl8712/rtl871x_xmit.c struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue; pxmitpriv 812 drivers/staging/rtl8712/rtl871x_xmit.c struct _adapter *padapter = pxmitpriv->adapter; pxmitpriv 821 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->free_xmitframe_cnt++; pxmitpriv 827 drivers/staging/rtl8712/rtl871x_xmit.c void r8712_free_xmitframe_ex(struct xmit_priv *pxmitpriv, pxmitpriv 833 drivers/staging/rtl8712/rtl871x_xmit.c r8712_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 836 drivers/staging/rtl8712/rtl871x_xmit.c void r8712_free_xmitframe_queue(struct xmit_priv *pxmitpriv, pxmitpriv 849 drivers/staging/rtl8712/rtl871x_xmit.c r8712_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 937 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 939 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->hwxmit_entry = HWXMIT_ENTRY; pxmitpriv 940 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->hwxmits = kmalloc_array(pxmitpriv->hwxmit_entry, pxmitpriv 942 drivers/staging/rtl8712/rtl871x_xmit.c if (!pxmitpriv->hwxmits) pxmitpriv 944 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits = pxmitpriv->hwxmits; pxmitpriv 945 drivers/staging/rtl8712/rtl871x_xmit.c if (pxmitpriv->hwxmit_entry == 5) { pxmitpriv 946 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->bmc_txqueue.head = 0; pxmitpriv 947 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[0] .phwtxqueue = &pxmitpriv->bmc_txqueue; pxmitpriv 948 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[0] .sta_queue = &pxmitpriv->bm_pending; pxmitpriv 949 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vo_txqueue.head = 0; pxmitpriv 950 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[1] .phwtxqueue = &pxmitpriv->vo_txqueue; pxmitpriv 951 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[1] .sta_queue = &pxmitpriv->vo_pending; pxmitpriv 952 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vi_txqueue.head = 0; pxmitpriv 953 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[2] .phwtxqueue = &pxmitpriv->vi_txqueue; pxmitpriv 954 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[2] .sta_queue = &pxmitpriv->vi_pending; pxmitpriv 955 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->bk_txqueue.head = 0; pxmitpriv 956 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[3] .phwtxqueue = &pxmitpriv->bk_txqueue; pxmitpriv 957 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[3] .sta_queue = &pxmitpriv->bk_pending; pxmitpriv 958 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->be_txqueue.head = 0; pxmitpriv 959 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[4] .phwtxqueue = &pxmitpriv->be_txqueue; pxmitpriv 960 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[4] .sta_queue = &pxmitpriv->be_pending; pxmitpriv 961 drivers/staging/rtl8712/rtl871x_xmit.c } else if (pxmitpriv->hwxmit_entry == 4) { pxmitpriv 962 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vo_txqueue.head = 0; pxmitpriv 963 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[0] .phwtxqueue = &pxmitpriv->vo_txqueue; pxmitpriv 964 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[0] .sta_queue = &pxmitpriv->vo_pending; pxmitpriv 965 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->vi_txqueue.head = 0; pxmitpriv 966 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[1] .phwtxqueue = &pxmitpriv->vi_txqueue; pxmitpriv 967 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[1] .sta_queue = &pxmitpriv->vi_pending; pxmitpriv 968 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->be_txqueue.head = 0; pxmitpriv 969 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[2] .phwtxqueue = &pxmitpriv->be_txqueue; pxmitpriv 970 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[2] .sta_queue = &pxmitpriv->be_pending; pxmitpriv 971 drivers/staging/rtl8712/rtl871x_xmit.c pxmitpriv->bk_txqueue.head = 0; pxmitpriv 972 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[3] .phwtxqueue = &pxmitpriv->bk_txqueue; pxmitpriv 973 drivers/staging/rtl8712/rtl871x_xmit.c hwxmits[3] .sta_queue = &pxmitpriv->bk_pending; pxmitpriv 979 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 981 drivers/staging/rtl8712/rtl871x_xmit.c kfree(pxmitpriv->hwxmits); pxmitpriv 1021 drivers/staging/rtl8712/rtl871x_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1025 drivers/staging/rtl8712/rtl871x_xmit.c spin_lock_irqsave(&pxmitpriv->lock, irqL); pxmitpriv 1029 drivers/staging/rtl8712/rtl871x_xmit.c spin_unlock_irqrestore(&pxmitpriv->lock, irqL); pxmitpriv 1032 drivers/staging/rtl8712/rtl871x_xmit.c pxmitbuf = r8712_alloc_xmitbuf(pxmitpriv); pxmitpriv 1036 drivers/staging/rtl8712/rtl871x_xmit.c spin_unlock_irqrestore(&pxmitpriv->lock, irqL); pxmitpriv 1038 drivers/staging/rtl8712/rtl871x_xmit.c spin_unlock_irqrestore(&pxmitpriv->lock, irqL); pxmitpriv 252 drivers/staging/rtl8712/rtl871x_xmit.h void r8712_free_xmitbuf(struct xmit_priv *pxmitpriv, pxmitpriv 254 drivers/staging/rtl8712/rtl871x_xmit.h struct xmit_buf *r8712_alloc_xmitbuf(struct xmit_priv *pxmitpriv); pxmitpriv 256 drivers/staging/rtl8712/rtl871x_xmit.h struct xmit_frame *r8712_alloc_xmitframe(struct xmit_priv *pxmitpriv); pxmitpriv 257 drivers/staging/rtl8712/rtl871x_xmit.h void r8712_free_xmitframe(struct xmit_priv *pxmitpriv, pxmitpriv 259 drivers/staging/rtl8712/rtl871x_xmit.h void r8712_free_xmitframe_queue(struct xmit_priv *pxmitpriv, pxmitpriv 271 drivers/staging/rtl8712/rtl871x_xmit.h int _r8712_init_xmit_priv(struct xmit_priv *pxmitpriv, pxmitpriv 273 drivers/staging/rtl8712/rtl871x_xmit.h void _free_xmit_priv(struct xmit_priv *pxmitpriv); pxmitpriv 274 drivers/staging/rtl8712/rtl871x_xmit.h void r8712_free_xmitframe_ex(struct xmit_priv *pxmitpriv, pxmitpriv 315 drivers/staging/rtl8712/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 322 drivers/staging/rtl8712/usb_ops_linux.c ret = r8712_xmitframe_complete(padapter, pxmitpriv, NULL); pxmitpriv 325 drivers/staging/rtl8712/usb_ops_linux.c tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); pxmitpriv 334 drivers/staging/rtl8712/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 340 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->bkq_cnt--; pxmitpriv 344 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->viq_cnt--; pxmitpriv 348 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->voq_cnt--; pxmitpriv 353 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->beq_cnt--; pxmitpriv 356 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->txirp_cnt--; pxmitpriv 374 drivers/staging/rtl8712/usb_ops_linux.c r8712_free_xmitframe_ex(pxmitpriv, pxmitframe); pxmitpriv 375 drivers/staging/rtl8712/usb_ops_linux.c r8712_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 376 drivers/staging/rtl8712/usb_ops_linux.c tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); pxmitpriv 388 drivers/staging/rtl8712/usb_ops_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 398 drivers/staging/rtl8712/usb_ops_linux.c spin_lock_irqsave(&pxmitpriv->lock, irqL); pxmitpriv 399 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->txirp_cnt++; pxmitpriv 404 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->bkq_cnt++; pxmitpriv 408 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->viq_cnt++; pxmitpriv 412 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->voq_cnt++; pxmitpriv 417 drivers/staging/rtl8712/usb_ops_linux.c pxmitpriv->beq_cnt++; pxmitpriv 420 drivers/staging/rtl8712/usb_ops_linux.c spin_unlock_irqrestore(&pxmitpriv->lock, irqL); pxmitpriv 436 drivers/staging/rtl8712/usb_ops_linux.c if (pxmitpriv->free_xmitbuf_cnt % NR_XMITBUFF == 0) pxmitpriv 2228 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c static struct xmit_frame *_alloc_mgtxmitframe(struct xmit_priv *pxmitpriv, bool once) pxmitpriv 2234 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = rtw_alloc_xmitframe_once(pxmitpriv); pxmitpriv 2236 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = rtw_alloc_xmitframe_ext(pxmitpriv); pxmitpriv 2239 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_ADPT_FMT" alloc xmitframe fail, once:%d\n", FUNC_ADPT_ARG(pxmitpriv->adapter), once); pxmitpriv 2243 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); pxmitpriv 2245 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X(FUNC_ADPT_FMT" alloc xmitbuf fail\n", FUNC_ADPT_ARG(pxmitpriv->adapter)); pxmitpriv 2246 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitframe(pxmitpriv, pmgntframe); pxmitpriv 2261 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c inline struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv) pxmitpriv 2263 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c return _alloc_mgtxmitframe(pxmitpriv, false); pxmitpriv 2346 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2365 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_lock_irqsave(&pxmitpriv->lock_sctx, irqL); pxmitpriv 2367 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_unlock_irqrestore(&pxmitpriv->lock_sctx, irqL); pxmitpriv 2377 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2386 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (mutex_lock_interruptible(&pxmitpriv->ack_tx_mutex) == 0) { pxmitpriv 2387 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitpriv->ack_tx = true; pxmitpriv 2388 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitpriv->seq_no = seq_no++; pxmitpriv 2391 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = rtw_ack_tx_wait(pxmitpriv, timeout_ms); pxmitpriv 2393 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitpriv->ack_tx = false; pxmitpriv 2394 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c mutex_unlock(&pxmitpriv->ack_tx_mutex); pxmitpriv 2444 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 2453 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 2600 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 2615 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 2826 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 2834 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 2969 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 2974 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3102 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3112 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3237 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3244 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3337 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitbuf(pxmitpriv, pmgntframe->pxmitbuf); pxmitpriv 3338 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c rtw_free_xmitframe(pxmitpriv, pmgntframe); pxmitpriv 3422 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv; pxmitpriv 3431 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3435 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3582 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3588 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3705 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3713 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3813 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3820 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 3890 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3900 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 4041 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 4062 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmgntframe = alloc_mgtxmitframe(pxmitpriv); pxmitpriv 5669 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 5697 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (pxmitpriv->last_tx_pkts == pxmitpriv->tx_pkts) pxmitpriv 5736 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pxmitpriv->last_tx_pkts = pxmitpriv->tx_pkts; pxmitpriv 6677 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 6689 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 6716 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 1149 drivers/staging/rtl8723bs/core/rtw_recv.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1152 drivers/staging/rtl8723bs/core/rtw_recv.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 1188 drivers/staging/rtl8723bs/core/rtw_recv.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 1192 drivers/staging/rtl8723bs/core/rtw_recv.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 227 drivers/staging/rtl8723bs/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 256 drivers/staging/rtl8723bs/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; pxmitpriv 262 drivers/staging/rtl8723bs/core/rtw_security.c pframe += pxmitpriv->frag_len; pxmitpriv 667 drivers/staging/rtl8723bs/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 732 drivers/staging/rtl8723bs/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; pxmitpriv 738 drivers/staging/rtl8723bs/core/rtw_security.c pframe += pxmitpriv->frag_len; pxmitpriv 1534 drivers/staging/rtl8723bs/core/rtw_security.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1563 drivers/staging/rtl8723bs/core/rtw_security.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-pattrib->icv_len; pxmitpriv 1566 drivers/staging/rtl8723bs/core/rtw_security.c pframe += pxmitpriv->frag_len; pxmitpriv 315 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 336 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 338 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &psta->sleep_q); pxmitpriv 343 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vo_q.sta_pending); pxmitpriv 345 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phwxmit = pxmitpriv->hwxmits; pxmitpriv 352 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->vi_q.sta_pending); pxmitpriv 354 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phwxmit = pxmitpriv->hwxmits+1; pxmitpriv 361 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->be_q.sta_pending); pxmitpriv 363 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phwxmit = pxmitpriv->hwxmits+2; pxmitpriv 370 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c rtw_free_xmitframe_queue(pxmitpriv, &pstaxmitpriv->bk_q.sta_pending); pxmitpriv 372 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c phwxmit = pxmitpriv->hwxmits+3; pxmitpriv 377 drivers/staging/rtl8723bs/core/rtw_sta_mgt.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 850 drivers/staging/rtl8723bs/core/rtw_wlan_util.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 970 drivers/staging/rtl8723bs/core/rtw_wlan_util.c pxmitpriv->wmm_para_seq[i] = inx[i]; pxmitpriv 971 drivers/staging/rtl8723bs/core/rtw_wlan_util.c DBG_871X("wmm_para_seq(%d): %d\n", i, pxmitpriv->wmm_para_seq[i]); pxmitpriv 39 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter) pxmitpriv 46 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_init(&pxmitpriv->lock); pxmitpriv 47 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_init(&pxmitpriv->lock_sctx); pxmitpriv 48 drivers/staging/rtl8723bs/core/rtw_xmit.c init_completion(&pxmitpriv->xmit_comp); pxmitpriv 49 drivers/staging/rtl8723bs/core/rtw_xmit.c init_completion(&pxmitpriv->terminate_xmitthread_comp); pxmitpriv 55 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->adapter = padapter; pxmitpriv 60 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->be_pending); pxmitpriv 61 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->bk_pending); pxmitpriv 62 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->vi_pending); pxmitpriv 63 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->vo_pending); pxmitpriv 64 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->bm_pending); pxmitpriv 69 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xmit_queue); pxmitpriv 77 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pallocated_frame_buf = vzalloc(NR_XMITFRAME * sizeof(struct xmit_frame) + 4); pxmitpriv 79 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!pxmitpriv->pallocated_frame_buf) { pxmitpriv 80 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pxmit_frame_buf = NULL; pxmitpriv 85 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pxmit_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_frame_buf), 4); pxmitpriv 89 drivers/staging/rtl8723bs/core/rtw_xmit.c pxframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; pxmitpriv 102 drivers/staging/rtl8723bs/core/rtw_xmit.c list_add_tail(&(pxframe->list), &(pxmitpriv->free_xmit_queue.queue)); pxmitpriv 107 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt = NR_XMITFRAME; pxmitpriv 109 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->frag_len = MAX_FRAG_THRESHOLD; pxmitpriv 113 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xmitbuf_queue); pxmitpriv 114 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->pending_xmitbuf_queue); pxmitpriv 116 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pallocated_xmitbuf = vzalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4); pxmitpriv 118 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!pxmitpriv->pallocated_xmitbuf) { pxmitpriv 124 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmitbuf), 4); pxmitpriv 128 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; pxmitpriv 153 drivers/staging/rtl8723bs/core/rtw_xmit.c list_add_tail(&pxmitbuf->list, &(pxmitpriv->free_xmitbuf_queue.queue)); pxmitpriv 162 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmitbuf_cnt = NR_XMITBUFF; pxmitpriv 165 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xframe_ext_queue); pxmitpriv 167 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->xframe_ext_alloc_addr = vzalloc(NR_XMIT_EXTBUFF * sizeof(struct xmit_frame) + 4); pxmitpriv 169 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!pxmitpriv->xframe_ext_alloc_addr) { pxmitpriv 170 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->xframe_ext = NULL; pxmitpriv 175 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->xframe_ext = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->xframe_ext_alloc_addr), 4); pxmitpriv 176 drivers/staging/rtl8723bs/core/rtw_xmit.c pxframe = (struct xmit_frame *)pxmitpriv->xframe_ext; pxmitpriv 191 drivers/staging/rtl8723bs/core/rtw_xmit.c list_add_tail(&(pxframe->list), &(pxmitpriv->free_xframe_ext_queue.queue)); pxmitpriv 195 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xframe_ext_cnt = NR_XMIT_EXTBUFF; pxmitpriv 198 drivers/staging/rtl8723bs/core/rtw_xmit.c _rtw_init_queue(&pxmitpriv->free_xmit_extbuf_queue); pxmitpriv 200 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pallocated_xmit_extbuf = vzalloc(NR_XMIT_EXTBUFF * sizeof(struct xmit_buf) + 4); pxmitpriv 202 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!pxmitpriv->pallocated_xmit_extbuf) { pxmitpriv 208 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->pxmit_extbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmit_extbuf), 4); pxmitpriv 210 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf; pxmitpriv 230 drivers/staging/rtl8723bs/core/rtw_xmit.c list_add_tail(&pxmitbuf->list, &(pxmitpriv->free_xmit_extbuf_queue.queue)); pxmitpriv 238 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmit_extbuf_cnt = NR_XMIT_EXTBUFF; pxmitpriv 241 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = &pxmitpriv->pcmd_xmitbuf[i]; pxmitpriv 266 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); pxmitpriv 269 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->wmm_para_seq[i] = i; pxmitpriv 272 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->ack_tx = false; pxmitpriv 273 drivers/staging/rtl8723bs/core/rtw_xmit.c mutex_init(&pxmitpriv->ack_tx_mutex); pxmitpriv 274 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_sctx_init(&pxmitpriv->ack_tx_ops, 0); pxmitpriv 282 drivers/staging/rtl8723bs/core/rtw_xmit.c void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv) pxmitpriv 285 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; pxmitpriv 286 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_frame *pxmitframe = (struct xmit_frame *) pxmitpriv->pxmit_frame_buf; pxmitpriv 287 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_buf *pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; pxmitpriv 291 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!pxmitpriv->pxmit_frame_buf) pxmitpriv 306 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pxmitpriv->pallocated_frame_buf) pxmitpriv 307 drivers/staging/rtl8723bs/core/rtw_xmit.c vfree(pxmitpriv->pallocated_frame_buf); pxmitpriv 310 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pxmitpriv->pallocated_xmitbuf) pxmitpriv 311 drivers/staging/rtl8723bs/core/rtw_xmit.c vfree(pxmitpriv->pallocated_xmitbuf); pxmitpriv 314 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitframe = (struct xmit_frame *)pxmitpriv->xframe_ext; pxmitpriv 321 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pxmitpriv->xframe_ext_alloc_addr) pxmitpriv 322 drivers/staging/rtl8723bs/core/rtw_xmit.c vfree(pxmitpriv->xframe_ext_alloc_addr); pxmitpriv 325 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf; pxmitpriv 332 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pxmitpriv->pallocated_xmit_extbuf) { pxmitpriv 333 drivers/staging/rtl8723bs/core/rtw_xmit.c vfree(pxmitpriv->pallocated_xmit_extbuf); pxmitpriv 337 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = &pxmitpriv->pcmd_xmitbuf[i]; pxmitpriv 344 drivers/staging/rtl8723bs/core/rtw_xmit.c mutex_destroy(&pxmitpriv->ack_tx_mutex); pxmitpriv 860 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 953 drivers/staging/rtl8723bs/core/rtw_xmit.c length = pxmitpriv->frag_len-pattrib->hdrlen-pattrib->iv_len-((pattrib->bswenc) ? pattrib->icv_len : 0); pxmitpriv 1157 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1159 drivers/staging/rtl8723bs/core/rtw_xmit.c return ((!list_empty(&pxmitpriv->be_pending.queue)) || pxmitpriv 1160 drivers/staging/rtl8723bs/core/rtw_xmit.c (!list_empty(&pxmitpriv->bk_pending.queue)) || pxmitpriv 1161 drivers/staging/rtl8723bs/core/rtw_xmit.c (!list_empty(&pxmitpriv->vi_pending.queue)) || pxmitpriv 1162 drivers/staging/rtl8723bs/core/rtw_xmit.c (!list_empty(&pxmitpriv->vo_pending.queue))); pxmitpriv 1209 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1263 drivers/staging/rtl8723bs/core/rtw_xmit.c frg_len = pxmitpriv->frag_len - 4;/* 2346-4 = 2342 */ pxmitpriv 1557 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1560 drivers/staging/rtl8723bs/core/rtw_xmit.c switch (pxmitpriv->vcs_setting) { pxmitpriv 1562 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 1572 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 1577 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->vcs = RTS_CTS; pxmitpriv 1579 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->vcs = CTS_TO_SELF; pxmitpriv 1581 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->vcs = NONE_VCS; pxmitpriv 1593 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 1602 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->tx_pkts += pkt_num; pxmitpriv 1604 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->tx_bytes += sz; pxmitpriv 1617 drivers/staging/rtl8723bs/core/rtw_xmit.c static struct xmit_buf *__rtw_alloc_cmd_xmitbuf(struct xmit_priv *pxmitpriv, pxmitpriv 1622 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = &pxmitpriv->pcmd_xmitbuf[buf_type]; pxmitpriv 1641 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_frame *__rtw_alloc_cmdxmitframe(struct xmit_priv *pxmitpriv, pxmitpriv 1647 drivers/staging/rtl8723bs/core/rtw_xmit.c pcmdframe = rtw_alloc_xmitframe(pxmitpriv); pxmitpriv 1653 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitbuf = __rtw_alloc_cmd_xmitbuf(pxmitpriv, buf_type); pxmitpriv 1656 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_free_xmitframe(pxmitpriv, pcmdframe); pxmitpriv 1672 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv) pxmitpriv 1677 drivers/staging/rtl8723bs/core/rtw_xmit.c struct __queue *pfree_queue = &pxmitpriv->free_xmit_extbuf_queue; pxmitpriv 1695 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmit_extbuf_cnt--; pxmitpriv 1697 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("DBG_XMIT_BUF_EXT ALLOC no =%d, free_xmit_extbuf_cnt =%d\n", pxmitbuf->no, pxmitpriv->free_xmit_extbuf_cnt); pxmitpriv 1719 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) pxmitpriv 1722 drivers/staging/rtl8723bs/core/rtw_xmit.c struct __queue *pfree_queue = &pxmitpriv->free_xmit_extbuf_queue; pxmitpriv 1732 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmit_extbuf_cnt++; pxmitpriv 1734 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("DBG_XMIT_BUF_EXT FREE no =%d, free_xmit_extbuf_cnt =%d\n", pxmitbuf->no, pxmitpriv->free_xmit_extbuf_cnt); pxmitpriv 1742 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv) pxmitpriv 1747 drivers/staging/rtl8723bs/core/rtw_xmit.c struct __queue *pfree_xmitbuf_queue = &pxmitpriv->free_xmitbuf_queue; pxmitpriv 1767 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmitbuf_cnt--; pxmitpriv 1769 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("DBG_XMIT_BUF ALLOC no =%d, free_xmitbuf_cnt =%d\n", pxmitbuf->no, pxmitpriv->free_xmitbuf_cnt); pxmitpriv 1795 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) pxmitpriv 1798 drivers/staging/rtl8723bs/core/rtw_xmit.c struct __queue *pfree_xmitbuf_queue = &pxmitpriv->free_xmitbuf_queue; pxmitpriv 1812 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_free_xmitbuf_ext(pxmitpriv, pxmitbuf); pxmitpriv 1820 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmitbuf_cnt++; pxmitpriv 1823 drivers/staging/rtl8723bs/core/rtw_xmit.c DBG_871X("DBG_XMIT_BUF FREE no =%d, free_xmitbuf_cnt =%d\n", pxmitbuf->no, pxmitpriv->free_xmitbuf_cnt); pxmitpriv 1858 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv)/* _queue *pfree_xmit_queue) */ pxmitpriv 1868 drivers/staging/rtl8723bs/core/rtw_xmit.c struct __queue *pfree_xmit_queue = &pxmitpriv->free_xmit_queue; pxmitpriv 1873 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("rtw_alloc_xmitframe:%d\n", pxmitpriv->free_xmitframe_cnt)); pxmitpriv 1883 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt--; pxmitpriv 1884 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("rtw_alloc_xmitframe():free_xmitframe_cnt =%d\n", pxmitpriv->free_xmitframe_cnt)); pxmitpriv 1893 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_frame *rtw_alloc_xmitframe_ext(struct xmit_priv *pxmitpriv) pxmitpriv 1897 drivers/staging/rtl8723bs/core/rtw_xmit.c struct __queue *queue = &pxmitpriv->free_xframe_ext_queue; pxmitpriv 1902 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("rtw_alloc_xmitframe_ext:%d\n", pxmitpriv->free_xframe_ext_cnt)); pxmitpriv 1910 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xframe_ext_cnt--; pxmitpriv 1911 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("rtw_alloc_xmitframe_ext():free_xmitframe_cnt =%d\n", pxmitpriv->free_xframe_ext_cnt)); pxmitpriv 1921 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_frame *rtw_alloc_xmitframe_once(struct xmit_priv *pxmitpriv) pxmitpriv 1934 drivers/staging/rtl8723bs/core/rtw_xmit.c pxframe->padapter = pxmitpriv->adapter; pxmitpriv 1950 drivers/staging/rtl8723bs/core/rtw_xmit.c s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe) pxmitpriv 1953 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *padapter = pxmitpriv->adapter; pxmitpriv 1973 drivers/staging/rtl8723bs/core/rtw_xmit.c queue = &pxmitpriv->free_xmit_queue; pxmitpriv 1975 drivers/staging/rtl8723bs/core/rtw_xmit.c queue = &pxmitpriv->free_xframe_ext_queue; pxmitpriv 1985 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xmitframe_cnt++; pxmitpriv 1986 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_debug_, ("rtw_free_xmitframe():free_xmitframe_cnt =%d\n", pxmitpriv->free_xmitframe_cnt)); pxmitpriv 1988 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->free_xframe_ext_cnt++; pxmitpriv 1989 drivers/staging/rtl8723bs/core/rtw_xmit.c RT_TRACE(_module_rtl871x_xmit_c_, _drv_debug_, ("rtw_free_xmitframe():free_xframe_ext_cnt =%d\n", pxmitpriv->free_xframe_ext_cnt)); pxmitpriv 2004 drivers/staging/rtl8723bs/core/rtw_xmit.c void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue) pxmitpriv 2020 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 2150 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2152 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->hwxmit_entry = HWXMIT_ENTRY; pxmitpriv 2154 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->hwxmits = NULL; pxmitpriv 2156 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitpriv->hwxmits = rtw_zmalloc(sizeof(struct hw_xmit) * pxmitpriv->hwxmit_entry); pxmitpriv 2158 drivers/staging/rtl8723bs/core/rtw_xmit.c if (!pxmitpriv->hwxmits) pxmitpriv 2161 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits = pxmitpriv->hwxmits; pxmitpriv 2163 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pxmitpriv->hwxmit_entry == 5) { pxmitpriv 2166 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[0] .sta_queue = &pxmitpriv->bm_pending; pxmitpriv 2170 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[1] .sta_queue = &pxmitpriv->vo_pending; pxmitpriv 2174 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[2] .sta_queue = &pxmitpriv->vi_pending; pxmitpriv 2178 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[3] .sta_queue = &pxmitpriv->bk_pending; pxmitpriv 2182 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[4] .sta_queue = &pxmitpriv->be_pending; pxmitpriv 2184 drivers/staging/rtl8723bs/core/rtw_xmit.c } else if (pxmitpriv->hwxmit_entry == 4) { pxmitpriv 2188 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[0] .sta_queue = &pxmitpriv->vo_pending; pxmitpriv 2192 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[1] .sta_queue = &pxmitpriv->vi_pending; pxmitpriv 2196 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[2] .sta_queue = &pxmitpriv->be_pending; pxmitpriv 2200 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits[3] .sta_queue = &pxmitpriv->bk_pending; pxmitpriv 2211 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2213 drivers/staging/rtl8723bs/core/rtw_xmit.c hwxmits = pxmitpriv->hwxmits; pxmitpriv 2292 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2302 drivers/staging/rtl8723bs/core/rtw_xmit.c pxmitframe = rtw_alloc_xmitframe(pxmitpriv); pxmitpriv 2325 drivers/staging/rtl8723bs/core/rtw_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 2332 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 2334 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 2338 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 2590 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2598 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 2626 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 2636 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2642 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 2780 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 2795 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 2799 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 2861 drivers/staging/rtl8723bs/core/rtw_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 2865 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv, pxmitpriv 2869 drivers/staging/rtl8723bs/core/rtw_xmit.c struct adapter *pri_adapter = pxmitpriv->adapter; pxmitpriv 2871 drivers/staging/rtl8723bs/core/rtw_xmit.c pqueue = &pxmitpriv->pending_xmitbuf_queue; pxmitpriv 2882 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv, pxmitpriv 2887 drivers/staging/rtl8723bs/core/rtw_xmit.c pqueue = &pxmitpriv->pending_xmitbuf_queue; pxmitpriv 2896 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv) pxmitpriv 2903 drivers/staging/rtl8723bs/core/rtw_xmit.c pqueue = &pxmitpriv->pending_xmitbuf_queue; pxmitpriv 2922 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv) pxmitpriv 2929 drivers/staging/rtl8723bs/core/rtw_xmit.c pqueue = &pxmitpriv->pending_xmitbuf_queue; pxmitpriv 2964 drivers/staging/rtl8723bs/core/rtw_xmit.c struct xmit_priv *pxmitpriv) pxmitpriv 2969 drivers/staging/rtl8723bs/core/rtw_xmit.c pqueue = &pxmitpriv->pending_xmitbuf_queue; pxmitpriv 3063 drivers/staging/rtl8723bs/core/rtw_xmit.c int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms) pxmitpriv 3065 drivers/staging/rtl8723bs/core/rtw_xmit.c struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops; pxmitpriv 3074 drivers/staging/rtl8723bs/core/rtw_xmit.c void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status) pxmitpriv 3076 drivers/staging/rtl8723bs/core/rtw_xmit.c struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops; pxmitpriv 3078 drivers/staging/rtl8723bs/core/rtw_xmit.c if (pxmitpriv->ack_tx) { pxmitpriv 1428 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct xmit_priv *pxmitpriv; pxmitpriv 1455 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 1463 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); pxmitpriv 1790 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_free_xmitframe(pxmitpriv, pcmdframe); pxmitpriv 1813 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct xmit_priv *pxmitpriv; pxmitpriv 1831 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 1839 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); pxmitpriv 1910 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_free_xmitframe(pxmitpriv, pcmdframe); pxmitpriv 2128 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c struct xmit_priv *pxmitpriv; pxmitpriv 2144 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 2154 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c pcmdframe = rtw_alloc_cmdxmitframe(pxmitpriv); pxmitpriv 2220 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_free_xmitframe(pxmitpriv, pcmdframe); pxmitpriv 50 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 62 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); pxmitpriv 64 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); pxmitpriv 96 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); pxmitpriv 125 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 128 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); pxmitpriv 144 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv; pxmitpriv 149 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 151 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (wait_for_completion_interruptible(&pxmitpriv->xmit_comp)) { pxmitpriv 171 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c queue_pending = check_pending_xmitbuf(pxmitpriv); pxmitpriv 200 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c static s32 xmit_xmitframes(struct adapter *padapter, struct xmit_priv *pxmitpriv) pxmitpriv 216 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c hwxmits = pxmitpriv->hwxmits; pxmitpriv 217 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c hwentry = pxmitpriv->hwxmit_entry; pxmitpriv 225 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c inx[idx] = pxmitpriv->wmm_para_seq[idx]; pxmitpriv 238 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c (check_pending_xmitbuf(pxmitpriv)) && pxmitpriv 249 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 270 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv->free_xmit_extbuf_cnt, pxmitpriv 271 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv->free_xmitbuf_cnt, pxmitpriv 272 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv->free_xmitframe_cnt pxmitpriv 298 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pframe); pxmitpriv 300 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c enqueue_pending_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 304 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 307 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); pxmitpriv 313 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c complete(&(pxmitpriv->xmit_comp)); pxmitpriv 367 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 377 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 389 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pframe); pxmitpriv 391 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c enqueue_pending_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 394 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 415 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv; pxmitpriv 419 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 421 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c if (wait_for_completion_interruptible(&pxmitpriv->SdioXmitStart)) { pxmitpriv 444 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 446 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 453 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c ret = xmit_xmitframes(padapter, pxmitpriv); pxmitpriv 464 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 466 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 478 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv; pxmitpriv 483 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 497 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c complete(&pxmitpriv->SdioXmitTerminate); pxmitpriv 511 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 530 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pmgntframe); pxmitpriv 539 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 541 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c enqueue_pending_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 558 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv; pxmitpriv 563 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 575 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_lock_bh(&pxmitpriv->lock); pxmitpriv 577 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c spin_unlock_bh(&pxmitpriv->lock); pxmitpriv 580 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 582 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv->tx_drop++; pxmitpriv 586 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c complete(&pxmitpriv->SdioXmitStart); pxmitpriv 595 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 600 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, pxmitframe); pxmitpriv 602 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv->tx_drop++; pxmitpriv 605 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c tasklet_hi_schedule(&pxmitpriv->xmit_tasklet); pxmitpriv 607 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c complete(&pxmitpriv->SdioXmitStart); pxmitpriv 638 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c struct xmit_priv *pxmitpriv; pxmitpriv 645 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pxmitpriv = &padapter->xmitpriv; pxmitpriv 646 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c pqueue = &pxmitpriv->pending_xmitbuf_queue; pxmitpriv 665 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitframe(pxmitpriv, (struct xmit_frame *)pxmitbuf->priv_data); pxmitpriv 667 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c rtw_free_xmitbuf(pxmitpriv, pxmitbuf); pxmitpriv 543 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h extern struct xmit_frame *alloc_mgtxmitframe(struct xmit_priv *pxmitpriv); pxmitpriv 449 drivers/staging/rtl8723bs/include/rtw_xmit.h extern struct xmit_frame *__rtw_alloc_cmdxmitframe(struct xmit_priv *pxmitpriv, pxmitpriv 454 drivers/staging/rtl8723bs/include/rtw_xmit.h extern struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv); pxmitpriv 455 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); pxmitpriv 457 drivers/staging/rtl8723bs/include/rtw_xmit.h extern struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv); pxmitpriv 458 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); pxmitpriv 465 drivers/staging/rtl8723bs/include/rtw_xmit.h extern struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv); pxmitpriv 466 drivers/staging/rtl8723bs/include/rtw_xmit.h struct xmit_frame *rtw_alloc_xmitframe_ext(struct xmit_priv *pxmitpriv); pxmitpriv 467 drivers/staging/rtl8723bs/include/rtw_xmit.h struct xmit_frame *rtw_alloc_xmitframe_once(struct xmit_priv *pxmitpriv); pxmitpriv 468 drivers/staging/rtl8723bs/include/rtw_xmit.h extern s32 rtw_free_xmitframe(struct xmit_priv *pxmitpriv, struct xmit_frame *pxmitframe); pxmitpriv 469 drivers/staging/rtl8723bs/include/rtw_xmit.h extern void rtw_free_xmitframe_queue(struct xmit_priv *pxmitpriv, struct __queue *pframequeue); pxmitpriv 486 drivers/staging/rtl8723bs/include/rtw_xmit.h s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter); pxmitpriv 487 drivers/staging/rtl8723bs/include/rtw_xmit.h void _rtw_free_xmit_priv (struct xmit_priv *pxmitpriv); pxmitpriv 506 drivers/staging/rtl8723bs/include/rtw_xmit.h void enqueue_pending_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); pxmitpriv 507 drivers/staging/rtl8723bs/include/rtw_xmit.h void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); pxmitpriv 508 drivers/staging/rtl8723bs/include/rtw_xmit.h struct xmit_buf*dequeue_pending_xmitbuf(struct xmit_priv *pxmitpriv); pxmitpriv 509 drivers/staging/rtl8723bs/include/rtw_xmit.h struct xmit_buf*dequeue_pending_xmitbuf_under_survey(struct xmit_priv *pxmitpriv); pxmitpriv 510 drivers/staging/rtl8723bs/include/rtw_xmit.h sint check_pending_xmitbuf(struct xmit_priv *pxmitpriv); pxmitpriv 515 drivers/staging/rtl8723bs/include/rtw_xmit.h int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms); pxmitpriv 516 drivers/staging/rtl8723bs/include/rtw_xmit.h void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status); pxmitpriv 2518 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 2538 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if ((pmgntframe = alloc_mgtxmitframe(pxmitpriv)) == NULL) pxmitpriv 3016 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 3029 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if ((pmgntframe = alloc_mgtxmitframe(pxmitpriv)) == NULL) pxmitpriv 350 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); pxmitpriv 353 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.tx_packets = pxmitpriv->tx_pkts;/* pxmitpriv->tx_pkts++; */ pxmitpriv 355 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.tx_dropped = pxmitpriv->tx_drop; pxmitpriv 357 drivers/staging/rtl8723bs/os_dep/os_intfs.c padapter->stats.tx_bytes = pxmitpriv->tx_bytes; pxmitpriv 594 drivers/staging/rtl8723bs/os_dep/os_intfs.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 599 drivers/staging/rtl8723bs/os_dep/os_intfs.c pxmitpriv->vcs_setting = pregistrypriv->vrtl_carrier_sense; pxmitpriv 600 drivers/staging/rtl8723bs/os_dep/os_intfs.c pxmitpriv->vcs = pregistrypriv->vcs_type; pxmitpriv 601 drivers/staging/rtl8723bs/os_dep/os_intfs.c pxmitpriv->vcs_type = pregistrypriv->vcs_type; pxmitpriv 603 drivers/staging/rtl8723bs/os_dep/os_intfs.c pxmitpriv->frag_len = pregistrypriv->frag_thresh; pxmitpriv 73 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 78 drivers/staging/rtl8723bs/os_dep/xmit_linux.c (pxmitpriv->hwxmits[queue].accnt < WMM_XMIT_THRESHOLD)) pxmitpriv 109 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 115 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (pxmitpriv->hwxmits[queue].accnt > WMM_XMIT_THRESHOLD) { pxmitpriv 120 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (pxmitpriv->free_xmitframe_cnt <= 4) { pxmitpriv 130 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 186 drivers/staging/rtl8723bs/os_dep/xmit_linux.c pxmitpriv->tx_drop++; pxmitpriv 192 drivers/staging/rtl8723bs/os_dep/xmit_linux.c pxmitpriv->tx_drop++; pxmitpriv 205 drivers/staging/rtl8723bs/os_dep/xmit_linux.c struct xmit_priv *pxmitpriv = &padapter->xmitpriv; pxmitpriv 232 drivers/staging/rtl8723bs/os_dep/xmit_linux.c if (pxmitpriv->free_xmitframe_cnt > (NR_XMITFRAME / 4)) { pxmitpriv 251 drivers/staging/rtl8723bs/os_dep/xmit_linux.c RT_TRACE(_module_xmit_osdep_c_, _drv_info_, ("rtw_xmit_entry: tx_pkts =%d\n", (u32)pxmitpriv->tx_pkts)); pxmitpriv 255 drivers/staging/rtl8723bs/os_dep/xmit_linux.c pxmitpriv->tx_drop++; pxmitpriv 257 drivers/staging/rtl8723bs/os_dep/xmit_linux.c RT_TRACE(_module_xmit_osdep_c_, _drv_notice_, ("rtw_xmit_entry: drop, tx_drop =%d\n", (u32)pxmitpriv->tx_drop));