Home
last modified time | relevance | path

Searched refs:tcb_desc (Results 1 – 25 of 28) sorted by relevance

12

/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c290 struct sk_buff *skb, struct cb_desc *tcb_desc) in ieee80211_tx_query_agg_cap() argument
323 tcb_desc->bAMPDUEnable = true; in ieee80211_tx_query_agg_cap()
324 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in ieee80211_tx_query_agg_cap()
325 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in ieee80211_tx_query_agg_cap()
334 tcb_desc->bAMPDUEnable = true; in ieee80211_tx_query_agg_cap()
335 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in ieee80211_tx_query_agg_cap()
336 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in ieee80211_tx_query_agg_cap()
340 tcb_desc->bAMPDUEnable = false; in ieee80211_tx_query_agg_cap()
341 tcb_desc->ampdu_density = 0; in ieee80211_tx_query_agg_cap()
342 tcb_desc->ampdu_factor = 0; in ieee80211_tx_query_agg_cap()
[all …]
Dieee80211_crypt_wep.c72 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in prism2_wep_encrypt() local
109 if (!tcb_desc->bHwSec) { in prism2_wep_encrypt()
139 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in prism2_wep_decrypt() local
162 if (!tcb_desc->bHwSec) { in prism2_wep_decrypt()
Dieee80211_crypt_ccmp.c165 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_encrypt() local
195 if (!tcb_desc->bHwSec) { in ieee80211_ccmp_encrypt()
233 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_decrypt() local
282 if (!tcb_desc->bHwSec) { in ieee80211_ccmp_decrypt()
Dieee80211_crypt_tkip.c275 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_tkip_encrypt() local
285 if (!tcb_desc->bHwSec) { in ieee80211_tkip_encrypt()
301 if (tcb_desc->bHwSec) { in ieee80211_tkip_encrypt()
317 if (!tcb_desc->bHwSec) { in ieee80211_tkip_encrypt()
345 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_tkip_decrypt() local
382 if (!tcb_desc->bHwSec) { in ieee80211_tkip_decrypt()
Dieee80211_softmac.c219 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in softmac_mgmt_xmit() local
226 tcb_desc->queue_index = MGNT_QUEUE; in softmac_mgmt_xmit()
227 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_mgmt_xmit()
228 tcb_desc->RATRIndex = 7; in softmac_mgmt_xmit()
229 tcb_desc->bTxDisableRateFallBack = 1; in softmac_mgmt_xmit()
230 tcb_desc->bTxUseDriverAssingedRate = 1; in softmac_mgmt_xmit()
262 if (!ieee->check_nic_enough_desc(ieee->dev, tcb_desc->queue_index) || \ in softmac_mgmt_xmit()
263 (skb_queue_len(&ieee->skb_waitQ[tcb_desc->queue_index]) != 0) || \ in softmac_mgmt_xmit()
270 skb_queue_tail(&ieee->skb_waitQ[tcb_desc->queue_index], skb); in softmac_mgmt_xmit()
2034 struct cb_desc *tcb_desc = NULL; in ieee80211_softmac_xmit() local
[all …]
/drivers/staging/rtl8192e/
Drtllib_tx.c270 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap() argument
286 if (tcb_desc->bdhcp || ieee->CntAfterLink < 2) in rtllib_tx_query_agg_cap()
304 } else if (tcb_desc->bdhcp == 1) { in rtllib_tx_query_agg_cap()
318 tcb_desc->bAMPDUEnable = true; in rtllib_tx_query_agg_cap()
319 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap()
320 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in rtllib_tx_query_agg_cap()
329 tcb_desc->bAMPDUEnable = true; in rtllib_tx_query_agg_cap()
330 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in rtllib_tx_query_agg_cap()
331 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in rtllib_tx_query_agg_cap()
335 tcb_desc->bAMPDUEnable = false; in rtllib_tx_query_agg_cap()
[all …]
Drtllib_crypt_wep.c67 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_encrypt() local
107 if (!tcb_desc->bHwSec) { in prism2_wep_encrypt()
137 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_decrypt() local
161 if (!tcb_desc->bHwSec) { in prism2_wep_decrypt()
Drtllib_crypt_tkip.c273 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_encrypt() local
285 if (!tcb_desc->bHwSec) { in rtllib_tkip_encrypt()
302 if (tcb_desc->bHwSec) { in rtllib_tkip_encrypt()
318 if (!tcb_desc->bHwSec) { in rtllib_tkip_encrypt()
336 if (!tcb_desc->bHwSec) in rtllib_tkip_encrypt()
350 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_decrypt() local
390 if (!tcb_desc->bHwSec || (skb->cb[0] == 1)) { in rtllib_tkip_decrypt()
Drtllib_crypt_ccmp.c159 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt() local
188 if (!tcb_desc->bHwSec) { in rtllib_ccmp_encrypt()
227 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt() local
272 if (!tcb_desc->bHwSec) { in rtllib_ccmp_decrypt()
Drtllib_softmac.c207 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_mgmt_xmit() local
215 tcb_desc->queue_index = BEACON_QUEUE; in softmac_mgmt_xmit()
217 tcb_desc->queue_index = MGNT_QUEUE; in softmac_mgmt_xmit()
220 tcb_desc->queue_index = HIGH_QUEUE; in softmac_mgmt_xmit()
222 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_mgmt_xmit()
223 tcb_desc->RATRIndex = 7; in softmac_mgmt_xmit()
224 tcb_desc->bTxDisableRateFallBack = 1; in softmac_mgmt_xmit()
225 tcb_desc->bTxUseDriverAssingedRate = 1; in softmac_mgmt_xmit()
256 tcb_desc->queue_index) || in softmac_mgmt_xmit()
257 skb_queue_len(&ieee->skb_waitQ[tcb_desc->queue_index]) || in softmac_mgmt_xmit()
[all …]
Drtllib_rx.c293 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_rx_frame_decrypt() local
296 tcb_desc->bHwSec = 1; in rtllib_rx_frame_decrypt()
299 tcb_desc->bHwSec = 0; in rtllib_rx_frame_decrypt()
333 struct cb_desc *tcb_desc = (struct cb_desc *) in rtllib_rx_frame_decrypt_msdu() local
336 tcb_desc->bHwSec = 1; in rtllib_rx_frame_decrypt_msdu()
339 tcb_desc->bHwSec = 0; in rtllib_rx_frame_decrypt_msdu()
/drivers/net/wireless/realtek/rtlwifi/
Dbase.c601 struct rtl_tcb_desc *tcb_desc, in _rtl_qurey_shortpreamble_mode() argument
607 tcb_desc->use_shortpreamble = false; in _rtl_qurey_shortpreamble_mode()
610 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) in _rtl_qurey_shortpreamble_mode()
613 tcb_desc->use_shortpreamble = true; in _rtl_qurey_shortpreamble_mode()
620 struct rtl_tcb_desc *tcb_desc, in _rtl_query_shortgi() argument
628 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
655 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
657 tcb_desc->use_shortgi = false; in _rtl_query_shortgi()
660 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
662 tcb_desc->use_shortgi = true; in _rtl_query_shortgi()
[all …]
Dpci.c394 struct rtl_tcb_desc *tcb_desc, u8 tid) in _rtl_update_earlymode_info() argument
407 tcb_desc->empkt_num = 0; in _rtl_update_earlymode_info()
414 tcb_desc->empkt_len[tcb_desc->empkt_num] = in _rtl_update_earlymode_info()
416 tcb_desc->empkt_num++; in _rtl_update_earlymode_info()
425 if (tcb_desc->empkt_num >= rtlhal->max_earlymode_num) in _rtl_update_earlymode_info()
459 struct rtl_tcb_desc tcb_desc; in _rtl_pci_tx_chk_waitq() local
461 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_tx_chk_waitq()
480 &tcb_desc, tid); in _rtl_pci_tx_chk_waitq()
482 rtlpriv->intf_ops->adapter_tx(hw, NULL, skb, &tcb_desc); in _rtl_pci_tx_chk_waitq()
1043 struct rtl_tcb_desc tcb_desc; in _rtl_pci_prepare_bcn_tasklet() local
[all …]
Dbase.h119 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc);
Dcore.c192 struct rtl_tcb_desc tcb_desc; in rtl_op_tx() local
194 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in rtl_op_tx()
203 rtlpriv->intf_ops->adapter_tx(hw, control->sta, skb, &tcb_desc); in rtl_op_tx()
1013 struct rtl_tcb_desc tcb_desc; in send_beacon_frame() local
1016 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in send_beacon_frame()
1017 rtlpriv->intf_ops->adapter_tx(hw, NULL, skb, &tcb_desc); in send_beacon_frame()
Dusb.c929 struct rtl_tcb_desc tcb_desc; in _rtl_usb_tx_preprocess() local
934 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_usb_tx_preprocess()
953 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c347 u8 hw_queue, struct rtl_tcb_desc *tcb_desc) in rtl92ce_tx_fill_desc() argument
387 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc); in rtl92ce_tx_fill_desc()
398 set_tx_desc_tx_rate(pdesc, tcb_desc->hw_rate); in rtl92ce_tx_fill_desc()
400 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble) in rtl92ce_tx_fill_desc()
409 set_tx_desc_rts_enable(pdesc, ((tcb_desc->rts_enable && in rtl92ce_tx_fill_desc()
410 !tcb_desc-> in rtl92ce_tx_fill_desc()
413 ((tcb_desc->rts_enable in rtl92ce_tx_fill_desc()
414 || tcb_desc->cts_enable) ? 1 : 0)); in rtl92ce_tx_fill_desc()
415 set_tx_desc_cts2self(pdesc, ((tcb_desc->cts_enable) ? 1 : 0)); in rtl92ce_tx_fill_desc()
416 set_tx_desc_rts_stbc(pdesc, ((tcb_desc->rts_stbc) ? 1 : 0)); in rtl92ce_tx_fill_desc()
[all …]
/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_cmdpkt.c19 struct cb_desc *tcb_desc; in rtl92e_send_cmd_pkt() local
48 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl92e_send_cmd_pkt()
49 tcb_desc->queue_index = TXCMD_QUEUE; in rtl92e_send_cmd_pkt()
50 tcb_desc->bCmdOrInit = type; in rtl92e_send_cmd_pkt()
51 tcb_desc->bLastIniPkt = bLastIniPkt; in rtl92e_send_cmd_pkt()
54 tcb_desc->pkt_size = frag_length; in rtl92e_send_cmd_pkt()
61 tcb_desc->txbuf_size = (u16)frag_length; in rtl92e_send_cmd_pkt()
Drtl_core.c526 struct cb_desc *tcb_desc = NULL; in _rtl92e_prepare_beacon() local
538 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8); in _rtl92e_prepare_beacon()
539 tcb_desc->queue_index = BEACON_QUEUE; in _rtl92e_prepare_beacon()
540 tcb_desc->data_rate = 2; in _rtl92e_prepare_beacon()
541 tcb_desc->RATRIndex = 7; in _rtl92e_prepare_beacon()
542 tcb_desc->bTxDisableRateFallBack = 1; in _rtl92e_prepare_beacon()
543 tcb_desc->bTxUseDriverAssingedRate = 1; in _rtl92e_prepare_beacon()
547 priv->ops->tx_fill_descriptor(dev, pdesc, tcb_desc, pnewskb); in _rtl92e_prepare_beacon()
1116 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck() local
1141 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c473 struct rtl_tcb_desc *tcb_desc) in rtl92cu_tx_fill_desc() argument
491 rtl_get_tcb_desc(hw, info, sta, skb, tcb_desc); in rtl92cu_tx_fill_desc()
499 set_tx_desc_tx_rate(txdesc, tcb_desc->hw_rate); in rtl92cu_tx_fill_desc()
500 if (tcb_desc->use_shortgi || tcb_desc->use_shortpreamble) in rtl92cu_tx_fill_desc()
511 ((tcb_desc->rts_enable && in rtl92cu_tx_fill_desc()
512 !tcb_desc->cts_enable) ? 1 : 0)); in rtl92cu_tx_fill_desc()
514 ((tcb_desc->rts_enable || in rtl92cu_tx_fill_desc()
515 tcb_desc->cts_enable) ? 1 : 0)); in rtl92cu_tx_fill_desc()
516 set_tx_desc_cts2self(txdesc, ((tcb_desc->cts_enable) ? 1 : 0)); in rtl92cu_tx_fill_desc()
517 set_tx_desc_rts_stbc(txdesc, ((tcb_desc->rts_stbc) ? 1 : 0)); in rtl92cu_tx_fill_desc()
[all …]
/drivers/staging/rtl8192u/
Dr819xU_firmware.c46 struct cb_desc *tcb_desc; in fw_download_code() local
69 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in fw_download_code()
70 tcb_desc->queue_index = TXCMD_QUEUE; in fw_download_code()
71 tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_INIT; in fw_download_code()
72 tcb_desc->bLastIniPkt = bLastIniPkt; in fw_download_code()
86 tcb_desc->txbuf_size = (u16)i; in fw_download_code()
89 index = tcb_desc->queue_index; in fw_download_code()
94 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in fw_download_code()
Dr819xU_cmdpkt.c34 struct cb_desc *tcb_desc; in SendTxCommandPacket() local
43 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in SendTxCommandPacket()
44 tcb_desc->queue_index = TXCMD_QUEUE; in SendTxCommandPacket()
45 tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_NORMAL; in SendTxCommandPacket()
46 tcb_desc->bLastIniPkt = 0; in SendTxCommandPacket()
49 tcb_desc->txbuf_size = (u16)DataLen; in SendTxCommandPacket()
51 if (!priv->ieee80211->check_nic_enough_desc(dev, tcb_desc->queue_index) || in SendTxCommandPacket()
52 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index])) || in SendTxCommandPacket()
55 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in SendTxCommandPacket()
Dr8192U_core.c907 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_data_xmit() local
908 u8 queue_index = tcb_desc->queue_index; in rtl8192_hard_data_xmit()
916 tcb_desc->bTxEnableFwCalcDur = 1; in rtl8192_hard_data_xmit()
933 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_start_xmit() local
934 u8 queue_index = tcb_desc->queue_index; in rtl8192_hard_start_xmit()
958 struct cb_desc *tcb_desc; in rtl8192_tx_isr() local
965 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_tx_isr()
966 queue_index = tcb_desc->queue_index; in rtl8192_tx_isr()
970 if (tcb_desc->queue_index != TXCMD_QUEUE) { in rtl8192_tx_isr()
1180 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl819xU_tx_cmd() local
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c138 struct rtl_tcb_desc *tcb_desc; in _rtl92s_firmware_downloadcode() local
171 tcb_desc = (struct rtl_tcb_desc *)(skb->cb); in _rtl92s_firmware_downloadcode()
172 tcb_desc->queue_index = TXCMD_QUEUE; in _rtl92s_firmware_downloadcode()
173 tcb_desc->cmd_or_init = DESC_PACKET_TYPE_INIT; in _rtl92s_firmware_downloadcode()
174 tcb_desc->last_inipkt = last_inipkt; in _rtl92s_firmware_downloadcode()
Dtrx.c500 struct rtl_tcb_desc *tcb_desc = (struct rtl_tcb_desc *)(skb->cb); in rtl92se_tx_fill_cmddesc() local
515 if (tcb_desc->cmd_or_init == DESC_PACKET_TYPE_INIT) { in rtl92se_tx_fill_cmddesc()
517 set_tx_desc_linip(pdesc, tcb_desc->last_inipkt); in rtl92se_tx_fill_cmddesc()

12