/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtl819x_HTProc.c | 80 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local 82 pHTInfo->bAcceptAddbaReq = 1; in HTUpdateDefaultSetting() 84 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting() 85 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting() 87 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting() 89 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting() 90 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting() 92 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting() 94 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting() 95 pHTInfo->bAMSDU_Support = 0; in HTUpdateDefaultSetting() [all …]
|
D | rtllib_tx.c | 288 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_tx_query_agg_cap() local 295 if (!pHTInfo->bCurrentHTSupport || !pHTInfo->bEnableHT) in rtllib_tx_query_agg_cap() 305 if (pHTInfo->IOTAction & HT_IOT_ACT_TX_NO_AGGREGATION) in rtllib_tx_query_agg_cap() 310 if (pHTInfo->bCurrentAMPDUEnable) { in rtllib_tx_query_agg_cap() 335 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in rtllib_tx_query_agg_cap() 336 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in rtllib_tx_query_agg_cap() 340 switch (pHTInfo->ForcedAMPDUMode) { in rtllib_tx_query_agg_cap() 346 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in rtllib_tx_query_agg_cap() 347 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in rtllib_tx_query_agg_cap() 372 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_query_HTCapShortGI() local [all …]
|
D | rtllib_module.c | 140 ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib() 141 if (!ieee->pHTInfo) in alloc_rtllib() 169 kfree(ieee->pHTInfo); in free_rtllib() 170 ieee->pHTInfo = NULL; in free_rtllib()
|
D | rtllib_softmac.c | 183 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local 186 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate() 194 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate() 837 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_probe_resp() local 851 ieee->pHTInfo->bCurSuppCCK)) { in rtllib_probe_resp() 862 if (ieee->pHTInfo->bCurrentHTSupport) { in rtllib_probe_resp() 863 tmp_ht_cap_buf = (u8 *) &(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp() 864 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp() 865 tmp_ht_info_buf = (u8 *) &(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp() 866 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp() [all …]
|
D | rtl819x_BAProc.c | 261 !ieee->pHTInfo->bCurrentHTSupport || in rtllib_rx_ADDBAReq() 262 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq() 267 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_ADDBAReq() 294 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq() 344 !ieee->pHTInfo->bCurrentHTSupport || in rtllib_rx_ADDBARsp() 345 !ieee->pHTInfo->bCurrentAMPDUEnable) { in rtllib_rx_ADDBARsp() 349 ieee->pHTInfo->bCurrentHTSupport, in rtllib_rx_ADDBARsp() 350 ieee->pHTInfo->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp() 435 !ieee->pHTInfo->bCurrentHTSupport) { in rtllib_rx_DELBA() 439 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_DELBA()
|
D | rtllib_softmac_wx.c | 365 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && in rtllib_wx_sync_scan_wq() 366 ieee->pHTInfo->bCurBW40MHz) { in rtllib_wx_sync_scan_wq() 368 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in rtllib_wx_sync_scan_wq() 369 bandwidth = (enum ht_channel_width)ieee->pHTInfo->bCurBW40MHz; in rtllib_wx_sync_scan_wq()
|
D | rtllib_rx.c | 578 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local 580 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket() 602 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket() 766 msecs_to_jiffies(pHTInfo->RxReorderPendingTime)); in RxReorderIndicatePacket() 935 if ((ieee->pHTInfo->bCurRxReorderEnable == false) || in rtllib_rx_check_duplicate() 1455 if (ieee->pHTInfo->bCurRxReorderEnable == false || pTS == NULL || in rtllib_rx_InfraAdhoc()
|
D | rtl819x_TSProc.c | 94 msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime) in RxPktPendingTimeout()
|
D | rtllib.h | 1446 struct rt_hi_throughput *pHTInfo; member 2105 void HTResetIOTSetting(struct rt_hi_throughput *pHTInfo);
|
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | rtl819x_HTProc.c | 61 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local 67 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting() 68 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting() 71 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting() 74 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting() 75 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting() 77 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting() 80 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting() 81 pHTInfo->bAMSDU_Support = 0; in HTUpdateDefaultSetting() 84 pHTInfo->bAMPDUEnable = 1; in HTUpdateDefaultSetting() [all …]
|
D | ieee80211_tx.c | 308 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_tx_query_agg_cap() local 312 if (!pHTInfo->bCurrentHTSupport||!pHTInfo->bEnableHT) in ieee80211_tx_query_agg_cap() 331 if(pHTInfo->bCurrentAMPDUEnable) in ieee80211_tx_query_agg_cap() 354 tcb_desc->ampdu_factor = pHTInfo->CurrentAMPDUFactor; in ieee80211_tx_query_agg_cap() 355 tcb_desc->ampdu_density = pHTInfo->CurrentMPDUDensity; in ieee80211_tx_query_agg_cap() 359 switch (pHTInfo->ForcedAMPDUMode ) in ieee80211_tx_query_agg_cap() 366 tcb_desc->ampdu_density = pHTInfo->ForcedMPDUDensity; in ieee80211_tx_query_agg_cap() 367 tcb_desc->ampdu_factor = pHTInfo->ForcedAMPDUFactor; in ieee80211_tx_query_agg_cap() 397 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_query_HTCapShortGI() local 401 if(!pHTInfo->bCurrentHTSupport||!pHTInfo->bEnableHT) in ieee80211_query_HTCapShortGI() [all …]
|
D | ieee80211_softmac.c | 180 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local 184 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate() 193 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate() 679 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_probe_resp() local 701 tmp_ht_cap_buf = (u8 *)&ieee->pHTInfo->SelfHTCap; in ieee80211_probe_resp() 702 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp() 703 tmp_ht_info_buf = (u8 *)&ieee->pHTInfo->SelfHTInfo; in ieee80211_probe_resp() 704 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp() 708 if (pHTInfo->bRegRT2RTAggregation) { in ieee80211_probe_resp() 709 tmp_generic_ie_buf = ieee->pHTInfo->szRT2RTAggBuffer; in ieee80211_probe_resp() [all …]
|
D | ieee80211_module.c | 159 ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL); in alloc_ieee80211() 160 if (ieee->pHTInfo == NULL) { in alloc_ieee80211() 196 kfree(ieee->pHTInfo); in free_ieee80211() 197 ieee->pHTInfo = NULL; in free_ieee80211()
|
D | rtl819x_BAProc.c | 352 (!ieee->pHTInfo->bCurrentHTSupport)) //|| in ieee80211_rx_ADDBAReq() 356 …ty is not ready(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_ADDBAReq() 448 !ieee->pHTInfo->bCurrentHTSupport || in ieee80211_rx_ADDBARsp() 449 !ieee->pHTInfo->bCurrentAMPDUEnable) { in ieee80211_rx_ADDBARsp() 450 …d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport, ieee->pHTInfo-… in ieee80211_rx_ADDBARsp() 558 !ieee->pHTInfo->bCurrentHTSupport) { in ieee80211_rx_DELBA() 559 …s not supported(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_DELBA()
|
D | ieee80211_softmac_wx.c | 320 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) { in ieee80211_wx_sync_scan_wq() 322 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in ieee80211_wx_sync_scan_wq() 323 bandwidth = (enum ht_channel_width)ieee->pHTInfo->bCurBW40MHz; in ieee80211_wx_sync_scan_wq()
|
D | ieee80211_rx.c | 591 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local 594 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket() 615 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket() 762 msecs_to_jiffies(pHTInfo->RxReorderPendingTime); in RxReorderIndicatePacket() 1013 …if ((!ieee->pHTInfo->bCurRxReorderEnable) || !ieee->current_network.qos_data.active|| !IsDataFrame… in ieee80211_rx() 1294 if (!ieee->pHTInfo->bCurRxReorderEnable || pTS == NULL){ in ieee80211_rx()
|
D | rtl819x_TSProc.c | 82 jiffies + msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
|
D | ieee80211.h | 1624 PRT_HIGH_THROUGHPUT pHTInfo; member 2382 void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 336 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_rate_adaptive() local 358 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && in _rtl92e_dm_check_rate_adaptive() 359 pHTInfo->bCurShortGI40MHz) || in _rtl92e_dm_check_rate_adaptive() 360 (!pHTInfo->bCurTxBW40MHz && in _rtl92e_dm_check_rate_adaptive() 361 pHTInfo->bCurShortGI20MHz); in _rtl92e_dm_check_rate_adaptive() 1682 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_edca_turbo() local 1693 if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in _rtl92e_dm_check_edca_turbo() 1699 if (pHTInfo->IOTAction & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in _rtl92e_dm_check_edca_turbo() 1704 edca_setting_UL[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo() 1712 edca_setting_DL_GMode[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo() [all …]
|
D | rtl_cam.c | 56 if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
|
D | rtl_core.c | 354 (!priv->rtllib->pHTInfo->bCurrentRT2RTLongSlotTime)) { in _rtl92e_update_cap() 386 if (ieee->pHTInfo->bCurrentHTSupport) in _rtl92e_update_beacon() 388 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in _rtl92e_update_beacon() 390 ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.RT2RT_HT_Mode; in _rtl92e_update_beacon() 728 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl92e_set_wireless_mode() 732 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl92e_set_wireless_mode()
|
D | r8192E_dev.c | 2159 if (ieee->pHTInfo->PeerMimoPs == 0) { in rtl92e_update_ratr_table() 2172 if (ieee->pHTInfo->bCurTxBW40MHz && in rtl92e_update_ratr_table() 2173 ieee->pHTInfo->bCurShortGI40MHz) in rtl92e_update_ratr_table() 2175 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl92e_update_ratr_table() 2176 ieee->pHTInfo->bCurShortGI20MHz) in rtl92e_update_ratr_table()
|
/Linux-v4.19/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 155 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_CheckRxAggregation() local 188 if (!priv->bCurrentRxAggrEnable && !pHTInfo->bCurrentRT2RTAggregation) { in dm_CheckRxAggregation() 191 ulValue = (pHTInfo->UsbRxFwAggrEn<<24) | (pHTInfo->UsbRxFwAggrPageNum<<16) | in dm_CheckRxAggregation() 192 (pHTInfo->UsbRxFwAggrPacketNum<<8) | (pHTInfo->UsbRxFwAggrTimeout); in dm_CheckRxAggregation() 301 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_rate_adaptive() local 325 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI40MHz) || in dm_check_rate_adaptive() 326 (!pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI20MHz); in dm_check_rate_adaptive() 2161 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_edca_turbo() local 2177 if (priv->ieee80211->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo() 2189 write_nic_dword(dev, EDCAPARA_BE, edca_setting_DL[pHTInfo->IOTPeer]); in dm_check_edca_turbo() [all …]
|
D | r8192U_core.c | 1191 (!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) in rtl8192_update_cap() 1799 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon() 1801 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in rtl8192_update_beacon() 2000 if (ieee->pHTInfo->PeerMimoPs == 0) { /* MIMO_PS_STATIC */ in rtl8192_update_ratr_table() 2013 if (ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table() 2015 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table() 2016 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table() 2136 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode() 2138 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode() 4647 if ((priv->ieee80211->pHTInfo->bCurrentHTSupport) && in query_rxdesc_status() [all …]
|
D | r819xU_cmdpkt.c | 176 (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()
|