/openbmc/linux/drivers/staging/rtl8192u/ieee80211/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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 …]
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_tx.c | 267 struct cb_desc *tcb_desc) in rtllib_tx_query_agg_cap() argument 283 if (tcb_desc->bdhcp || ieee->CntAfterLink < 2) in rtllib_tx_query_agg_cap() 301 } else if (tcb_desc->bdhcp == 1) { in rtllib_tx_query_agg_cap() 315 tcb_desc->bAMPDUEnable = true; in rtllib_tx_query_agg_cap() 316 tcb_desc->ampdu_factor = ht_info->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap() 317 tcb_desc->ampdu_density = ht_info->current_mpdu_density; in rtllib_tx_query_agg_cap() 326 tcb_desc->bAMPDUEnable = true; in rtllib_tx_query_agg_cap() 327 tcb_desc->ampdu_density = ht_info->forced_mpdu_density; in rtllib_tx_query_agg_cap() 328 tcb_desc->ampdu_factor = ht_info->forced_ampdu_factor; in rtllib_tx_query_agg_cap() 332 tcb_desc->bAMPDUEnable = false; in rtllib_tx_query_agg_cap() [all …]
|
H A D | rtllib_crypt_wep.c | 65 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_encrypt() local 105 if (!tcb_desc->bHwSec) { in prism2_wep_encrypt() 134 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in prism2_wep_decrypt() local 158 if (!tcb_desc->bHwSec) { in prism2_wep_decrypt()
|
H A D | rtllib_crypt_tkip.c | 259 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_encrypt() local 271 if (!tcb_desc->bHwSec) { in rtllib_tkip_encrypt() 288 if (tcb_desc->bHwSec) { in rtllib_tkip_encrypt() 304 if (!tcb_desc->bHwSec) { in rtllib_tkip_encrypt() 322 if (!tcb_desc->bHwSec) in rtllib_tkip_encrypt() 334 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_tkip_decrypt() local 374 if (!tcb_desc->bHwSec || (skb->cb[0] == 1)) { in rtllib_tkip_decrypt()
|
H A D | rtllib_softmac.c | 193 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + 8); in softmac_mgmt_xmit() local 201 tcb_desc->queue_index = BEACON_QUEUE; in softmac_mgmt_xmit() 203 tcb_desc->queue_index = MGNT_QUEUE; in softmac_mgmt_xmit() 206 tcb_desc->queue_index = HIGH_QUEUE; in softmac_mgmt_xmit() 208 tcb_desc->data_rate = MgntQuery_MgntFrameTxRate(ieee); in softmac_mgmt_xmit() 209 tcb_desc->ratr_index = 7; in softmac_mgmt_xmit() 210 tcb_desc->tx_dis_rate_fallback = 1; in softmac_mgmt_xmit() 211 tcb_desc->tx_use_drv_assinged_rate = 1; in softmac_mgmt_xmit() 242 tcb_desc->queue_index) || in softmac_mgmt_xmit() 243 skb_queue_len(&ieee->skb_waitQ[tcb_desc->queue_index]) || in softmac_mgmt_xmit() [all …]
|
H A D | rtllib_crypt_ccmp.c | 157 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_encrypt() local 186 if (!tcb_desc->bHwSec) { in rtllib_ccmp_encrypt() 224 struct cb_desc *tcb_desc = (struct cb_desc *)(skb->cb + in rtllib_ccmp_decrypt() local 269 if (!tcb_desc->bHwSec) { in rtllib_ccmp_decrypt()
|
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A 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()
|
H A D | rtl_core.c | 454 struct cb_desc *tcb_desc = NULL; in _rtl92e_prepare_beacon() local 466 tcb_desc = (struct cb_desc *)(pnewskb->cb + 8); in _rtl92e_prepare_beacon() 467 tcb_desc->queue_index = BEACON_QUEUE; in _rtl92e_prepare_beacon() 468 tcb_desc->data_rate = 2; in _rtl92e_prepare_beacon() 469 tcb_desc->ratr_index = 7; in _rtl92e_prepare_beacon() 470 tcb_desc->tx_dis_rate_fallback = 1; in _rtl92e_prepare_beacon() 471 tcb_desc->tx_use_drv_assinged_rate = 1; in _rtl92e_prepare_beacon() 475 rtl92e_fill_tx_desc(dev, pdesc, tcb_desc, pnewskb); in _rtl92e_prepare_beacon() 933 struct cb_desc *tcb_desc = NULL; in _rtl92e_tx_check_stuck() local 958 tcb_desc = (struct cb_desc *)(skb->cb + in _rtl92e_tx_check_stuck() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | base.c | 605 struct rtl_tcb_desc *tcb_desc, in _rtl_qurey_shortpreamble_mode() argument 611 tcb_desc->use_shortpreamble = false; in _rtl_qurey_shortpreamble_mode() 614 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) in _rtl_qurey_shortpreamble_mode() 617 tcb_desc->use_shortpreamble = true; in _rtl_qurey_shortpreamble_mode() 624 struct rtl_tcb_desc *tcb_desc, in _rtl_query_shortgi() argument 632 tcb_desc->use_shortgi = false; in _rtl_query_shortgi() 660 tcb_desc->use_shortgi = true; in _rtl_query_shortgi() 662 tcb_desc->use_shortgi = false; in _rtl_query_shortgi() 665 tcb_desc->use_shortgi = true; in _rtl_query_shortgi() 667 tcb_desc->use_shortgi = true; in _rtl_query_shortgi() [all …]
|
H A D | pci.c | 353 struct rtl_tcb_desc *tcb_desc, u8 tid) in _rtl_update_earlymode_info() argument 366 tcb_desc->empkt_num = 0; in _rtl_update_earlymode_info() 373 tcb_desc->empkt_len[tcb_desc->empkt_num] = in _rtl_update_earlymode_info() 375 tcb_desc->empkt_num++; in _rtl_update_earlymode_info() 384 if (tcb_desc->empkt_num >= rtlhal->max_earlymode_num) in _rtl_update_earlymode_info() 413 struct rtl_tcb_desc tcb_desc; in _rtl_pci_tx_chk_waitq() local 415 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_pci_tx_chk_waitq() 434 &tcb_desc, tid); in _rtl_pci_tx_chk_waitq() 436 rtlpriv->intf_ops->adapter_tx(hw, NULL, skb, &tcb_desc); in _rtl_pci_tx_chk_waitq() 997 struct rtl_tcb_desc tcb_desc; in _rtl_pci_prepare_bcn_tasklet() local [all …]
|
H A D | base.h | 119 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc);
|
H A 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()
|
H A D | usb.c | 904 struct rtl_tcb_desc tcb_desc; in _rtl_usb_tx_preprocess() local 909 memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); in _rtl_usb_tx_preprocess() 928 hw_queue, &tcb_desc); in _rtl_usb_tx_preprocess()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A 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 …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A 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 …]
|
H A D | trx.h | 396 struct rtl_tcb_desc *tcb_desc);
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H A 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()
|
H A 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()
|
H A 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 …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A 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()
|
H A 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()
|