Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/rtl8192e/
Drtl819x_HTProc.c72 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting() local
73 pHTInfo->bRegShortGI20MHz = 1; in HTUpdateDefaultSetting()
74 pHTInfo->bRegShortGI40MHz = 1; in HTUpdateDefaultSetting()
76 pHTInfo->bRegBW40MHz = 1; in HTUpdateDefaultSetting()
78 if (pHTInfo->bRegBW40MHz) in HTUpdateDefaultSetting()
79 pHTInfo->bRegSuppCCK = 1; in HTUpdateDefaultSetting()
81 pHTInfo->bRegSuppCCK = true; in HTUpdateDefaultSetting()
83 pHTInfo->nAMSDU_MaxSize = 7935UL; in HTUpdateDefaultSetting()
84 pHTInfo->bAMSDU_Support = 0; in HTUpdateDefaultSetting()
86 pHTInfo->bAMPDUEnable = 1; in HTUpdateDefaultSetting()
[all …]
Drtllib_tx.c270 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_tx_query_agg_cap() local
277 if (!pHTInfo->bCurrentHTSupport || !pHTInfo->bEnableHT) in rtllib_tx_query_agg_cap()
287 if (pHTInfo->iot_action & HT_IOT_ACT_TX_NO_AGGREGATION) in rtllib_tx_query_agg_cap()
292 if (pHTInfo->bCurrentAMPDUEnable) { 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()
322 switch (pHTInfo->ForcedAMPDUMode) { 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()
354 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in rtllib_query_HTCapShortGI() local
[all …]
Drtllib_softmac.c180 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in MgntQuery_MgntFrameTxRate() local
183 if (pHTInfo->iot_action & 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.c248 !ieee->pHTInfo->bCurrentHTSupport || in rtllib_rx_ADDBAReq()
249 (ieee->pHTInfo->iot_action & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq()
254 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_ADDBAReq()
281 (ieee->pHTInfo->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq()
330 !ieee->pHTInfo->bCurrentHTSupport || in rtllib_rx_ADDBARsp()
331 !ieee->pHTInfo->bCurrentAMPDUEnable) { in rtllib_rx_ADDBARsp()
335 ieee->pHTInfo->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
336 ieee->pHTInfo->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
418 !ieee->pHTInfo->bCurrentHTSupport) { in rtllib_rx_DELBA()
422 ieee->pHTInfo->bCurrentHTSupport); in rtllib_rx_DELBA()
Drtllib_module.c128 ieee->pHTInfo = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
129 if (!ieee->pHTInfo) in alloc_rtllib()
163 kfree(ieee->pHTInfo); in free_rtllib()
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->rx_reorder_win_size; in RxReorderIndicatePacket()
594 pHTInfo->rx_reorder_drop_counter++; in RxReorderIndicatePacket()
758 msecs_to_jiffies(pHTInfo->rx_reorder_pending_time)); in RxReorderIndicatePacket()
927 if (!ieee->pHTInfo->cur_rx_reorder_enable || in rtllib_rx_check_duplicate()
1445 if (!ieee->pHTInfo->cur_rx_reorder_enable || pTS == NULL || bToOtherSTA) in rtllib_rx_InfraAdhoc()
Drtl819x_TSProc.c86 msecs_to_jiffies(ieee->pHTInfo->rx_reorder_pending_time) in RxPktPendingTimeout()
Drtllib.h1441 struct rt_hi_throughput *pHTInfo; member
2098 void HTResetIOTSetting(struct rt_hi_throughput *pHTInfo);
/linux-6.1.9/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()
1004 …if ((!ieee->pHTInfo->bCurRxReorderEnable) || !ieee->current_network.qos_data.active || !IsDataFram… in ieee80211_rx()
1272 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
2379 void HTResetIOTSetting(PRT_HIGH_THROUGHPUT pHTInfo);
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c326 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_rate_adaptive() local
346 bshort_gi_enabled = (pHTInfo->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
347 pHTInfo->bCurShortGI40MHz) || in _rtl92e_dm_check_rate_adaptive()
348 (!pHTInfo->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
349 pHTInfo->bCurShortGI20MHz); in _rtl92e_dm_check_rate_adaptive()
1540 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_edca_turbo() local
1551 if (priv->rtllib->pHTInfo->iot_action & HT_IOT_ACT_DISABLE_EDCA_TURBO) in _rtl92e_dm_check_edca_turbo()
1557 if (pHTInfo->iot_action & HT_IOT_ACT_EDCA_BIAS_ON_RX) { in _rtl92e_dm_check_edca_turbo()
1562 edca_setting_UL[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
1570 edca_setting_DL_GMode[pHTInfo->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
[all …]
Drtl_cam.c45 if ((ieee->pHTInfo->iot_action & HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
Drtl_core.c310 (!priv->rtllib->pHTInfo->current_rt2rt_long_slot_time)) { in _rtl92e_update_cap()
342 if (ieee->pHTInfo->bCurrentHTSupport) in _rtl92e_update_beacon()
344 ieee->pHTInfo->current_rt2rt_long_slot_time = net->bssht.bd_rt2rt_long_slot_time; in _rtl92e_update_beacon()
345 ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.rt2rt_ht_mode; in _rtl92e_update_beacon()
675 priv->rtllib->pHTInfo->bEnableHT = 1; in rtl92e_set_wireless_mode()
677 priv->rtllib->pHTInfo->bEnableHT = 0; in rtl92e_set_wireless_mode()
Dr8192E_dev.c1988 if (ieee->pHTInfo->peer_mimo_ps == 0) { in rtl92e_update_ratr_table()
2001 if (ieee->pHTInfo->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
2002 ieee->pHTInfo->bCurShortGI40MHz) in rtl92e_update_ratr_table()
2004 else if (!ieee->pHTInfo->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
2005 ieee->pHTInfo->bCurShortGI20MHz) in rtl92e_update_ratr_table()
/linux-6.1.9/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.c948 (!priv->ieee80211->pHTInfo->bCurrentRT2RTLongSlotTime)) in rtl8192_update_cap()
1564 if (ieee->pHTInfo->bCurrentHTSupport) in rtl8192_update_beacon()
1566 ieee->pHTInfo->bCurrentRT2RTLongSlotTime = in rtl8192_update_beacon()
1761 if (ieee->pHTInfo->PeerMimoPs == MIMO_PS_STATIC) { in rtl8192_update_ratr_table()
1774 if (ieee->pHTInfo->bCurTxBW40MHz && ieee->pHTInfo->bCurShortGI40MHz) in rtl8192_update_ratr_table()
1776 else if (!ieee->pHTInfo->bCurTxBW40MHz && in rtl8192_update_ratr_table()
1777 ieee->pHTInfo->bCurShortGI20MHz) in rtl8192_update_ratr_table()
1889 priv->ieee80211->pHTInfo->bEnableHT = 1; in rtl8192_SetWirelessMode()
1891 priv->ieee80211->pHTInfo->bEnableHT = 0; in rtl8192_SetWirelessMode()
4265 if ((priv->ieee80211->pHTInfo->bCurrentHTSupport) && in query_rxdesc_status()
[all …]
Dr819xU_cmdpkt.c177 (!priv->ieee80211->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb()

12