Searched refs:tcb_desc (Results 1 - 25 of 30) sorted by relevance

12

/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c306 void ieee80211_tx_query_agg_cap(struct ieee80211_device* ieee, struct sk_buff* skb, cb_desc* tcb_desc) argument
353 tcb_desc->bAMPDUEnable = true;
354 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor;
355 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity;
365 tcb_desc->bAMPDUEnable = true;
366 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity;
367 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor;
371 tcb_desc->bAMPDUEnable = false;
372 tcb_desc->ampdu_density = 0;
373 tcb_desc
380 ieee80211_qurey_ShortPreambleMode(struct ieee80211_device* ieee, cb_desc* tcb_desc) argument
394 ieee80211_query_HTCapShortGI(struct ieee80211_device *ieee, cb_desc *tcb_desc) argument
415 ieee80211_query_BandwidthMode(struct ieee80211_device* ieee, cb_desc *tcb_desc) argument
435 ieee80211_query_protectionmode(struct ieee80211_device* ieee, cb_desc* tcb_desc, struct sk_buff* skb) argument
546 ieee80211_txrate_selectmode(struct ieee80211_device* ieee, cb_desc* tcb_desc) argument
612 cb_desc *tcb_desc; local
865 cb_desc *tcb_desc = (cb_desc *)(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE); local
[all...]
H A Dieee80211_crypt_wep.c108 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
144 if (!tcb_desc->bHwSec)
178 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
202 if (!tcb_desc->bHwSec)
H A Dieee80211_crypt_ccmp.c201 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
233 if (!tcb_desc->bHwSec)
275 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
326 if (!tcb_desc->bHwSec)
H A Dieee80211_crypt_tkip.c311 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
324 if (!tcb_desc->bHwSec)
342 if (tcb_desc->bHwSec)
361 if (!tcb_desc->bHwSec)
380 if (!tcb_desc->bHwSec)
395 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
433 if (!tcb_desc->bHwSec)
/drivers/staging/rtl8192e/
H A Drtllib_tx.c286 struct cb_desc *tcb_desc)
303 if (tcb_desc->bdhcp || ieee->CntAfterLink < 2)
321 } else if (tcb_desc->bdhcp == 1) {
335 tcb_desc->bAMPDUEnable = true;
336 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor;
337 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity;
346 tcb_desc->bAMPDUEnable = true;
347 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity;
348 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor;
352 tcb_desc
284 rtllib_tx_query_agg_cap(struct rtllib_device *ieee, struct sk_buff *skb, struct cb_desc *tcb_desc) argument
360 rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument
372 rtllib_query_HTCapShortGI(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument
393 rtllib_query_BandwidthMode(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument
414 rtllib_query_protectionmode(struct rtllib_device *ieee, struct cb_desc *tcb_desc, struct sk_buff *skb) argument
497 rtllib_txrate_selectmode(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument
572 struct cb_desc *tcb_desc; local
882 struct cb_desc *tcb_desc = (struct cb_desc *) local
[all...]
H A Drtllib_crypt_wep.c102 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
142 if (!tcb_desc->bHwSec) {
174 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
199 if (!tcb_desc->bHwSec) {
H A Drtllib_crypt_ccmp.c193 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
224 if (!tcb_desc->bHwSec) {
265 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
311 if (!tcb_desc->bHwSec) {
H A Drtllib_crypt_tkip.c301 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
315 if (!tcb_desc->bHwSec) {
332 if (tcb_desc->bHwSec) {
348 if (!tcb_desc->bHwSec) {
369 if (!tcb_desc->bHwSec)
384 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
423 if (!tcb_desc->bHwSec || (skb->cb[0] == 1)) {
H A Drtllib_softmac.c223 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); local
230 tcb_desc->queue_index = BEACON_QUEUE;
232 tcb_desc->queue_index = MGNT_QUEUE;
235 tcb_desc->queue_index = HIGH_QUEUE;
237 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee);
238 tcb_desc->RATRIndex = 7;
239 tcb_desc->bTxDisableRateFallBack = 1;
240 tcb_desc->bTxUseDriverAssingedRate = 1;
270 if (!ieee->check_nic_enough_desc(ieee->dev, tcb_desc->queue_index) ||
271 (skb_queue_len(&ieee->skb_waitQ[tcb_desc
295 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); local
2470 struct cb_desc *tcb_desc = NULL; local
[all...]
/drivers/staging/rtl8192u/
H A Dr819xU_firmware.c44 cb_desc *tcb_desc; local
70 tcb_desc = (cb_desc*)(skb->cb + MAX_DEV_ADDR_SIZE);
71 tcb_desc->queue_index = TXCMD_QUEUE;
72 tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_INIT;
73 tcb_desc->bLastIniPkt = bLastIniPkt;
89 tcb_desc->txbuf_size= (u16)i;
92 if(!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)||
93 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\
96 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb);
119 cb_desc *tcb_desc; local
[all...]
H A Dr819xU_cmdpkt.c51 cb_desc *tcb_desc; local
60 tcb_desc = (cb_desc*)(skb->cb + MAX_DEV_ADDR_SIZE);
61 tcb_desc->queue_index = TXCMD_QUEUE;
62 tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_NORMAL;
63 tcb_desc->bLastIniPkt = 0;
67 tcb_desc->txbuf_size= (u16)DataLen;
69 if(!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)||
70 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\
73 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb);
122 cb_desc *tcb_desc;
[all...]
H A Dr8192U_core.c1201 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
1202 u8 queue_index = tcb_desc->queue_index;
1210 // tcb_desc->RATRIndex = 7;
1211 // tcb_desc->bTxDisableRateFallBack = 1;
1212 // tcb_desc->bTxUseDriverAssingedRate = 1;
1213 tcb_desc->bTxEnableFwCalcDur = 1;
1236 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
1237 u8 queue_index = tcb_desc->queue_index;
1270 u8 QueryIsShort(u8 TxHT, u8 TxRate, cb_desc *tcb_desc);
1276 cb_desc *tcb_desc local
1448 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
1469 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
1818 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
1964 QueryIsShort(u8 TxHT, u8 TxRate, cb_desc *tcb_desc) argument
1989 cb_desc *tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); local
[all...]
/drivers/net/wireless/rtlwifi/
H A Dbase.c486 struct rtl_tcb_desc *tcb_desc,
492 tcb_desc->use_shortpreamble = false;
495 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M])
498 tcb_desc->use_shortpreamble = true;
505 struct rtl_tcb_desc *tcb_desc,
511 tcb_desc->use_shortgi = false;
532 tcb_desc->use_shortgi = true;
534 tcb_desc->use_shortgi = true;
537 tcb_desc->use_shortgi = false;
541 struct rtl_tcb_desc *tcb_desc,
485 _rtl_qurey_shortpreamble_mode(struct ieee80211_hw *hw, struct rtl_tcb_desc *tcb_desc, struct ieee80211_tx_info *info) argument
503 _rtl_query_shortgi(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct rtl_tcb_desc *tcb_desc, struct ieee80211_tx_info *info) argument
540 _rtl_query_protection_mode(struct ieee80211_hw *hw, struct rtl_tcb_desc *tcb_desc, struct ieee80211_tx_info *info) argument
567 _rtl_txrate_selectmode(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct rtl_tcb_desc *tcb_desc) argument
627 _rtl_query_bandwidth_mode(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct rtl_tcb_desc *tcb_desc) argument
831 rtl_get_tcb_desc(struct ieee80211_hw *hw, struct ieee80211_tx_info *info, struct ieee80211_sta *sta, struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc) argument
1320 struct rtl_tcb_desc tcb_desc; local
[all...]
H A Dpci.c433 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc, u8 tid)
445 tcb_desc->empkt_num = 0;
452 tcb_desc->empkt_len[tcb_desc->empkt_num] =
454 tcb_desc->empkt_num++;
463 if (tcb_desc->empkt_num >= 5)
490 struct rtl_tcb_desc tcb_desc; local
491 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc));
508 &tcb_desc, tid);
510 rtlpriv->intf_ops->adapter_tx(hw, skb, &tcb_desc);
432 _rtl_update_earlymode_info(struct ieee80211_hw *hw, struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc, u8 tid) argument
916 struct rtl_tcb_desc tcb_desc; local
[all...]
H A Dbase.h134 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc);
H A Dcore.c90 struct rtl_tcb_desc tcb_desc; local
91 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc));
100 rtlpriv->intf_ops->adapter_tx(hw, skb, &tcb_desc);
H A Dusb.c857 struct rtl_tcb_desc tcb_desc; local
866 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc));
894 hw_queue, &tcb_desc);
/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_firmware.c47 struct cb_desc *tcb_desc; local
65 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
66 tcb_desc->queue_index = TXCMD_QUEUE;
67 tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_INIT;
68 tcb_desc->bLastIniPkt = bLastIniPkt;
81 tcb_desc->txbuf_size = (u16)i;
84 if (!priv->rtllib->check_nic_enough_desc(dev, tcb_desc->queue_index) ||
85 (!skb_queue_empty(&priv->rtllib->skb_waitQ[tcb_desc->queue_index])) ||
90 [tcb_desc->queue_index], skb);
H A Dr8192E_dev.h30 u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc);
H A Dr8192E_cmdpkt.c51 struct cb_desc *tcb_desc; local
79 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
80 tcb_desc->queue_index = TXCMD_QUEUE;
81 tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_NORMAL;
82 tcb_desc->bLastIniPkt = bLastIniPkt;
83 tcb_desc->pkt_size = frag_length;
H A Drtl_core.c731 struct cb_desc *tcb_desc = NULL; local
744 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8);
745 tcb_desc->queue_index = BEACON_QUEUE;
746 tcb_desc->data_rate = 2;
747 tcb_desc->RATRIndex = 7;
748 tcb_desc->bTxDisableRateFallBack = 1;
749 tcb_desc->bTxUseDriverAssingedRate = 1;
753 priv->ops->tx_fill_descriptor(dev, pdesc, tcb_desc, pnewskb);
1373 struct cb_desc *tcb_desc = NULL; local
1401 tcb_desc
1875 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
1909 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
1976 struct cb_desc *tcb_desc; local
2000 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + local
[all...]
/drivers/net/wireless/rtlwifi/rtl8192ce/
H A Dtrx.c600 u8 hw_queue, struct rtl_tcb_desc *tcb_desc)
636 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc);
647 SET_TX_DESC_TX_RATE(pdesc, tcb_desc->hw_rate);
649 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble)
658 SET_TX_DESC_RTS_ENABLE(pdesc, ((tcb_desc->rts_enable &&
659 !tcb_desc->
662 ((tcb_desc->rts_enable
663 || tcb_desc->cts_enable) ? 1 : 0));
664 SET_TX_DESC_CTS2SELF(pdesc, ((tcb_desc
597 rtl92ce_tx_fill_desc(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr, u8 *pdesc_tx, struct ieee80211_tx_info *info, struct sk_buff *skb, u8 hw_queue, struct rtl_tcb_desc *tcb_desc) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A Dtrx.c501 struct rtl_tcb_desc *tcb_desc)
519 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc);
526 SET_TX_DESC_TX_RATE(txdesc, tcb_desc->hw_rate);
527 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble)
537 SET_TX_DESC_RTS_ENABLE(txdesc, ((tcb_desc->rts_enable &&
538 !tcb_desc->cts_enable) ? 1 : 0));
539 SET_TX_DESC_HW_RTS_ENABLE(txdesc, ((tcb_desc->rts_enable ||
540 tcb_desc->cts_enable) ? 1 : 0));
541 SET_TX_DESC_CTS2SELF(txdesc, ((tcb_desc
497 rtl92cu_tx_fill_desc(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr, u8 *pdesc_tx, struct ieee80211_tx_info *info, struct sk_buff *skb, u8 queue_index, struct rtl_tcb_desc *tcb_desc) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192se/
H A Dfw.c169 struct rtl_tcb_desc *tcb_desc; local
207 tcb_desc = (struct rtl_tcb_desc *)(skb->cb);
208 tcb_desc->queue_index = TXCMD_QUEUE;
209 tcb_desc->cmd_or_init = DESC_PACKET_TYPE_INIT;
210 tcb_desc->last_inipkt = last_inipkt;
H A Dtrx.c767 struct rtl_tcb_desc *tcb_desc = (struct rtl_tcb_desc *)(skb->cb); local
776 if (tcb_desc->cmd_or_init == DESC_PACKET_TYPE_INIT) {
778 SET_TX_DESC_LINIP(pdesc, tcb_desc->last_inipkt);

Completed in 240 milliseconds

12