Home
last modified time | relevance | path

Searched refs:pHTInfo (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v4.19/drivers/staging/rtl8192e/
Drtl819x_HTProc.c80 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 …]
Drtllib_tx.c288 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 …]
Drtllib_module.c140 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()
Drtllib_softmac.c183 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 …]
Drtl819x_BAProc.c261 !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()
Drtllib_softmac_wx.c365 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()
Drtllib_rx.c578 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()
Drtl819x_TSProc.c94 msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime) in RxPktPendingTimeout()
Drtllib.h1446 struct rt_hi_throughput *pHTInfo; member
2105 void HTResetIOTSetting(struct rt_hi_throughput *pHTInfo);
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HTProc.c61 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 …]
Dieee80211_tx.c308 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 …]
Dieee80211_softmac.c180 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 …]
Dieee80211_module.c159 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()
Drtl819x_BAProc.c352 (!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()
Dieee80211_softmac_wx.c320 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()
Dieee80211_rx.c591 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()
Drtl819x_TSProc.c82 jiffies + msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
Dieee80211.h1624 PRT_HIGH_THROUGHPUT pHTInfo; member
2382 void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c336 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 …]
Drtl_cam.c56 if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
Drtl_core.c354 (!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()
Dr8192E_dev.c2159 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/
Dr8192U_dm.c155 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 …]
Dr8192U_core.c1191 (!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 …]
Dr819xU_cmdpkt.c176 (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()

12