Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/staging/rtl8192e/
Drtl819x_HTProc.c72 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local
74 pHTInfo->bAcceptAddbaReq = 1; in HTUpdateDefaultSetting()
76 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting()
77 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting()
79 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
81 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting()
82 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
84 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting()
86 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting()
87 pHTInfo->bAMSDU_Support = 0; in HTUpdateDefaultSetting()
[all …]
Drtllib_tx.c272 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_tx_query_agg_cap() local
279 if (!pHTInfo->bCurrentHTSupport || !pHTInfo->bEnableHT) in rtllib_tx_query_agg_cap()
289 if (pHTInfo->IOTAction & HT_IOT_ACT_TX_NO_AGGREGATION) in rtllib_tx_query_agg_cap()
294 if (pHTInfo->bCurrentAMPDUEnable) { 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()
324 switch (pHTInfo->ForcedAMPDUMode) { 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()
356 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_query_HTCapShortGI() local
[all …]
Drtllib_module.c126 ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
127 if (!ieee->pHTInfo) in alloc_rtllib()
155 kfree(ieee->pHTInfo); in free_rtllib()
156 ieee->pHTInfo = NULL; in free_rtllib()
Drtllib_softmac.c180 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
183 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
191 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
833 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_probe_resp() local
847 ieee->pHTInfo->bCurSuppCCK)) { in rtllib_probe_resp()
858 if (ieee->pHTInfo->bCurrentHTSupport) { in rtllib_probe_resp()
859 tmp_ht_cap_buf = (u8 *) &(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
860 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in rtllib_probe_resp()
861 tmp_ht_info_buf = (u8 *) &(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
862 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in rtllib_probe_resp()
[all …]
Drtl819x_BAProc.c253 !ieee->pHTInfo->bCurrentHTSupport || in rtllib_rx_ADDBAReq()
254 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq()
259 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_ADDBAReq()
286 (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq()
336 !ieee->pHTInfo->bCurrentHTSupport || in rtllib_rx_ADDBARsp()
337 !ieee->pHTInfo->bCurrentAMPDUEnable) { in rtllib_rx_ADDBARsp()
341 ieee->pHTInfo->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
342 ieee->pHTInfo->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
427 !ieee->pHTInfo->bCurrentHTSupport) { in rtllib_rx_DELBA()
431 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_DELBA()
Drtllib_softmac_wx.c362 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && in rtllib_wx_sync_scan_wq()
363 ieee->pHTInfo->bCurBW40MHz) { in rtllib_wx_sync_scan_wq()
365 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in rtllib_wx_sync_scan_wq()
366 bandwidth = (enum ht_channel_width)ieee->pHTInfo->bCurBW40MHz; in rtllib_wx_sync_scan_wq()
Drtllib_rx.c570 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
572 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
594 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
758 msecs_to_jiffies(pHTInfo->RxReorderPendingTime)); in RxReorderIndicatePacket()
927 if (!ieee->pHTInfo->bCurRxReorderEnable || in rtllib_rx_check_duplicate()
1445 if (!ieee->pHTInfo->bCurRxReorderEnable || pTS == NULL || bToOtherSTA) in rtllib_rx_InfraAdhoc()
Drtl819x_TSProc.c86 msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime) in RxPktPendingTimeout()
Drtllib.h1441 struct rt_hi_throughput *pHTInfo; member
2098 void HTResetIOTSetting(struct rt_hi_throughput *pHTInfo);
/Linux-v5.15/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.c292 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_tx_query_agg_cap() local
296 if (!pHTInfo->bCurrentHTSupport || !pHTInfo->bEnableHT) in ieee80211_tx_query_agg_cap()
307 if (pHTInfo->bCurrentAMPDUEnable) { 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()
329 switch (pHTInfo->ForcedAMPDUMode) { 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()
363 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_query_HTCapShortGI() local
367 if (!pHTInfo->bCurrentHTSupport || !pHTInfo->bEnableHT) in ieee80211_query_HTCapShortGI()
[all …]
Dieee80211_softmac.c179 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
183 if (pHTInfo->IOTAction & HT_IOT_ACT_MGNT_USE_CCK_6M) in MgntQuery_MgntFrameTxRate()
192 (ieee->mode == IEEE_N_24G && !pHTInfo->bCurSuppCCK)) in MgntQuery_MgntFrameTxRate()
678 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in ieee80211_probe_resp() local
700 tmp_ht_cap_buf = (u8 *)&ieee->pHTInfo->SelfHTCap; in ieee80211_probe_resp()
701 tmp_ht_cap_len = sizeof(ieee->pHTInfo->SelfHTCap); in ieee80211_probe_resp()
702 tmp_ht_info_buf = (u8 *)&ieee->pHTInfo->SelfHTInfo; in ieee80211_probe_resp()
703 tmp_ht_info_len = sizeof(ieee->pHTInfo->SelfHTInfo); in ieee80211_probe_resp()
707 if (pHTInfo->bRegRT2RTAggregation) { in ieee80211_probe_resp()
708 tmp_generic_ie_buf = ieee->pHTInfo->szRT2RTAggBuffer; in ieee80211_probe_resp()
[all …]
Dieee80211_module.c139 ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL); in alloc_ieee80211()
140 if (!ieee->pHTInfo) { in alloc_ieee80211()
180 kfree(ieee->pHTInfo); in free_ieee80211()
181 ieee->pHTInfo = NULL; in free_ieee80211()
Drtl819x_BAProc.c348 (!ieee->pHTInfo->bCurrentHTSupport)) //|| in ieee80211_rx_ADDBAReq()
352 …ty is not ready(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_ADDBAReq()
444 !ieee->pHTInfo->bCurrentHTSupport || in ieee80211_rx_ADDBARsp()
445 !ieee->pHTInfo->bCurrentAMPDUEnable) { in ieee80211_rx_ADDBARsp()
446 …d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport, ieee->pHTInfo-… in ieee80211_rx_ADDBARsp()
554 !ieee->pHTInfo->bCurrentHTSupport) { in ieee80211_rx_DELBA()
555 …s not supported(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSuppor… in ieee80211_rx_DELBA()
Dieee80211_softmac_wx.c319 if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) { in ieee80211_wx_sync_scan_wq()
321 chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset; in ieee80211_wx_sync_scan_wq()
322 bandwidth = (enum ht_channel_width)ieee->pHTInfo->bCurBW40MHz; in ieee80211_wx_sync_scan_wq()
Dieee80211_rx.c589 PRT_HIGH_THROUGHPUT pHTInfo = ieee->pHTInfo; in RxReorderIndicatePacket() local
592 u8 WinSize = pHTInfo->RxReorderWinSize; in RxReorderIndicatePacket()
612 pHTInfo->RxReorderDropCounter++; in RxReorderIndicatePacket()
757 msecs_to_jiffies(pHTInfo->RxReorderPendingTime); in RxReorderIndicatePacket()
1002 …if ((!ieee->pHTInfo->bCurRxReorderEnable) || !ieee->current_network.qos_data.active || !IsDataFram… in ieee80211_rx()
1270 if (!ieee->pHTInfo->bCurRxReorderEnable || !pTS) { in ieee80211_rx()
Drtl819x_TSProc.c82 jiffies + msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
Dieee80211.h1621 PRT_HIGH_THROUGHPUT pHTInfo; member
2374 void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
/Linux-v5.15/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c328 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_rate_adaptive() local
350 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && in _rtl92e_dm_check_rate_adaptive()
351 pHTInfo->bCurShortGI40MHz) || in _rtl92e_dm_check_rate_adaptive()
352 (!pHTInfo->bCurTxBW40MHz && in _rtl92e_dm_check_rate_adaptive()
353 pHTInfo->bCurShortGI20MHz); in _rtl92e_dm_check_rate_adaptive()
1673 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_edca_turbo() local
1684 if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in _rtl92e_dm_check_edca_turbo()
1690 if (pHTInfo->IOTAction & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in _rtl92e_dm_check_edca_turbo()
1695 edca_setting_UL[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
1703 edca_setting_DL_GMode[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
[all …]
Drtl_cam.c45 if ((ieee->pHTInfo->IOTAction&HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
Drtl_core.c343 (!priv->rtllib->pHTInfo->bCurrentRT2RTLongSlotTime)) { in _rtl92e_update_cap()
375 if (ieee->pHTInfo->bCurrentHTSupport) in _rtl92e_update_beacon()
377 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = net->bssht.bd_rt2rt_long_slot_time; in _rtl92e_update_beacon()
378 ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.rt2rt_ht_mode; in _rtl92e_update_beacon()
718 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl92e_set_wireless_mode()
722 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl92e_set_wireless_mode()
Dr8192E_dev.c2142 if (ieee->pHTInfo->PeerMimoPs == 0) { in rtl92e_update_ratr_table()
2155 if (ieee->pHTInfo->bCurTxBW40MHz && in rtl92e_update_ratr_table()
2156 ieee->pHTInfo->bCurShortGI40MHz) in rtl92e_update_ratr_table()
2158 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl92e_update_ratr_table()
2159 ieee->pHTInfo->bCurShortGI20MHz) in rtl92e_update_ratr_table()
/Linux-v5.15/drivers/staging/rtl8192u/
Dr8192U_dm.c143 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_CheckRxAggregation() local
176 if (!priv->bCurrentRxAggrEnable && !pHTInfo->bCurrentRT2RTAggregation) { in dm_CheckRxAggregation()
179 ulValue = (pHTInfo->UsbRxFwAggrEn<<24) | (pHTInfo->UsbRxFwAggrPageNum<<16) | in dm_CheckRxAggregation()
180 (pHTInfo->UsbRxFwAggrPacketNum<<8) | (pHTInfo->UsbRxFwAggrTimeout); in dm_CheckRxAggregation()
286 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_rate_adaptive() local
310 bshort_gi_enabled = (pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI40MHz) || in dm_check_rate_adaptive()
311 (!pHTInfo->bCurTxBW40MHz && pHTInfo->bCurShortGI20MHz); in dm_check_rate_adaptive()
2121 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_edca_turbo() local
2136 if (priv->ieee80211->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) in dm_check_edca_turbo()
2148 write_nic_dword(dev, EDCAPARA_BE, edca_setting_DL[pHTInfo->IOTPeer]); in dm_check_edca_turbo()
[all …]
Dr8192U_core.c1125 (!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) in rtl8192_update_cap()
1741 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
1743 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in rtl8192_update_beacon()
1938 if (ieee->pHTInfo->PeerMimoPs == MIMO_PS_STATIC) { in rtl8192_update_ratr_table()
1951 if (ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table()
1953 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
1954 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
2066 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
2068 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
4446 if ((priv->ieee80211->pHTInfo->bCurrentHTSupport) && in query_rxdesc_status()
[all …]
Dr819xU_cmdpkt.c177 (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()

12