/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 290 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 …]
|
D | ieee80211_crypt_wep.c | 72 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()
|
D | ieee80211_crypt_ccmp.c | 167 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_encrypt() local 197 if (!tcb_desc->bHwSec) { in ieee80211_ccmp_encrypt() 235 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in ieee80211_ccmp_decrypt() local 284 if (!tcb_desc->bHwSec) { in ieee80211_ccmp_decrypt()
|
D | ieee80211_crypt_tkip.c | 275 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()
|
D | ieee80211_softmac.c | 219 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() 2043 struct cb_desc *tcb_desc = NULL; in ieee80211_softmac_xmit() local [all …]
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 268 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap() argument 284 if (tcb_desc->bdhcp || ieee->CntAfterLink < 2) in rtllib_tx_query_agg_cap() 302 } else if (tcb_desc->bdhcp == 1) { in rtllib_tx_query_agg_cap() 316 tcb_desc->bAMPDUEnable = true; in rtllib_tx_query_agg_cap() 317 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap() 318 tcb_desc->ampdu_density = pHTInfo->current_mpdu_density; in rtllib_tx_query_agg_cap() 327 tcb_desc->bAMPDUEnable = true; in rtllib_tx_query_agg_cap() 328 tcb_desc->ampdu_density = pHTInfo->forced_mpdu_density; in rtllib_tx_query_agg_cap() 329 tcb_desc->ampdu_factor = pHTInfo->forced_ampdu_factor; in rtllib_tx_query_agg_cap() 333 tcb_desc->bAMPDUEnable = false; in rtllib_tx_query_agg_cap() [all …]
|
D | rtllib_crypt_wep.c | 67 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()
|
D | rtllib_crypt_tkip.c | 273 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()
|
D | rtllib_crypt_ccmp.c | 161 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt() local 190 if (!tcb_desc->bHwSec) { in rtllib_ccmp_encrypt() 229 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt() local 274 if (!tcb_desc->bHwSec) { in rtllib_ccmp_decrypt()
|
D | rtllib_softmac.c | 207 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 …]
|
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_cmdpkt.c | 19 struct cb_desc *tcb_desc; in rtl92e_send_cmd_pkt() local 46 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl92e_send_cmd_pkt() 47 tcb_desc->queue_index = TXCMD_QUEUE; in rtl92e_send_cmd_pkt() 48 tcb_desc->bCmdOrInit = type; in rtl92e_send_cmd_pkt() 49 tcb_desc->bLastIniPkt = bLastIniPkt; in rtl92e_send_cmd_pkt() 52 tcb_desc->pkt_size = frag_length; in rtl92e_send_cmd_pkt() 59 tcb_desc->txbuf_size = frag_length; in rtl92e_send_cmd_pkt()
|
D | rtl_core.c | 481 struct cb_desc *tcb_desc = NULL; in _rtl92e_prepare_beacon() local 493 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8); in _rtl92e_prepare_beacon() 494 tcb_desc->queue_index = BEACON_QUEUE; in _rtl92e_prepare_beacon() 495 tcb_desc->data_rate = 2; in _rtl92e_prepare_beacon() 496 tcb_desc->RATRIndex = 7; in _rtl92e_prepare_beacon() 497 tcb_desc->bTxDisableRateFallBack = 1; in _rtl92e_prepare_beacon() 498 tcb_desc->bTxUseDriverAssingedRate = 1; in _rtl92e_prepare_beacon() 502 priv->ops->tx_fill_descriptor(dev, pdesc, tcb_desc, pnewskb); in _rtl92e_prepare_beacon() 1054 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck() local 1079 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 600 struct rtl_tcb_desc *tcb_desc, in _rtl_qurey_shortpreamble_mode() argument 606 tcb_desc->use_shortpreamble = false; in _rtl_qurey_shortpreamble_mode() 609 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) in _rtl_qurey_shortpreamble_mode() 612 tcb_desc->use_shortpreamble = true; in _rtl_qurey_shortpreamble_mode() 619 struct rtl_tcb_desc *tcb_desc, in _rtl_query_shortgi() argument 627 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 …]
|
D | pci.c | 432 struct rtl_tcb_desc *tcb_desc, u8 tid) in _rtl_update_earlymode_info() argument 445 tcb_desc->empkt_num = 0; in _rtl_update_earlymode_info() 452 tcb_desc->empkt_len[tcb_desc->empkt_num] = in _rtl_update_earlymode_info() 454 tcb_desc->empkt_num++; in _rtl_update_earlymode_info() 463 if (tcb_desc->empkt_num >= rtlhal->max_earlymode_num) in _rtl_update_earlymode_info() 497 struct rtl_tcb_desc tcb_desc; in _rtl_pci_tx_chk_waitq() local 499 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_tx_chk_waitq() 518 &tcb_desc, tid); in _rtl_pci_tx_chk_waitq() 520 rtlpriv->intf_ops->adapter_tx(hw, NULL, skb, &tcb_desc); in _rtl_pci_tx_chk_waitq() 1081 struct rtl_tcb_desc tcb_desc; in _rtl_pci_prepare_bcn_tasklet() local [all …]
|
D | base.h | 119 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc);
|
D | core.c | 192 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() 1014 struct rtl_tcb_desc tcb_desc; in send_beacon_frame() local 1017 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in send_beacon_frame() 1018 rtlpriv->intf_ops->adapter_tx(hw, NULL, skb, &tcb_desc); in send_beacon_frame()
|
D | usb.c | 928 struct rtl_tcb_desc tcb_desc; in _rtl_usb_tx_preprocess() local 933 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_usb_tx_preprocess() 952 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | trx.c | 347 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 …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.c | 473 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 …]
|
D | trx.h | 396 struct rtl_tcb_desc *tcb_desc);
|
/linux-6.1.9/drivers/staging/rtl8192u/ |
D | r819xU_firmware.c | 46 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()
|
D | r819xU_cmdpkt.c | 34 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()
|
D | r8192U_core.c | 729 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_data_xmit() local 730 u8 queue_index = tcb_desc->queue_index; in rtl8192_hard_data_xmit() 738 tcb_desc->bTxEnableFwCalcDur = 1; in rtl8192_hard_data_xmit() 755 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_hard_start_xmit() local 756 u8 queue_index = tcb_desc->queue_index; in rtl8192_hard_start_xmit() 780 struct cb_desc *tcb_desc; in rtl8192_tx_isr() local 787 tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl8192_tx_isr() 788 queue_index = tcb_desc->queue_index; in rtl8192_tx_isr() 792 if (tcb_desc->queue_index != TXCMD_QUEUE) { in rtl8192_tx_isr() 1002 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE); in rtl819xU_tx_cmd() local [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | fw.c | 138 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()
|
D | trx.c | 500 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()
|