Home
last modified time | relevance | path

Searched refs:ht_info (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.3-rc2/drivers/staging/rtl8192e/
A Drtl819x_HTProc.c72 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTUpdateDefaultSetting() local
108 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTMcsToDataRate() local
169 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTIOTPeerDetermine() local
253 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTIOTActDetermineRaFunc() local
512 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTOnAssocRsp() local
554 ht_info->bCurSuppCCK = ((ht_info->bRegSuppCCK) ? in HTOnAssocRsp()
624 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTInitializeHTInfo() local
690 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTResetSelfAndSavePeerSetting() local
764 struct rt_hi_throughput *ht_info = ieee->ht_info; in HT_update_self_and_peer_setting() local
781 ht_info->bCurSuppCCK = ht_info->bRegSuppCCK; in HTUseDefaultSetting()
[all …]
A Drtllib_tx.c269 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_tx_query_agg_cap() local
276 if (!ht_info->bCurrentHTSupport || !ht_info->enable_ht) in rtllib_tx_query_agg_cap()
353 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_query_HTCapShortGI() local
357 if (!ht_info->bCurrentHTSupport || !ht_info->enable_ht) in rtllib_query_HTCapShortGI()
365 if (ht_info->bCurBW40MHz && ht_info->bCurShortGI40MHz) in rtllib_query_HTCapShortGI()
367 else if (!ht_info->bCurBW40MHz && ht_info->bCurShortGI20MHz) in rtllib_query_HTCapShortGI()
374 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_query_BandwidthMode() local
378 if (!ht_info->bCurrentHTSupport || !ht_info->enable_ht) in rtllib_query_BandwidthMode()
386 if (ht_info->bCurBW40MHz && ht_info->cur_tx_bw40mhz && in rtllib_query_BandwidthMode()
421 ht_info = ieee->ht_info; in rtllib_query_protectionmode()
[all …]
A Drtllib_softmac.c179 struct rt_hi_throughput *ht_info = ieee->ht_info; in MgntQuery_MgntFrameTxRate() local
832 struct rt_hi_throughput *ht_info = ieee->ht_info; in rtllib_probe_resp() local
846 ieee->ht_info->bCurSuppCCK)) { in rtllib_probe_resp()
1182 ieee->ht_info->enable_ht = 0; in rtllib_association_req()
1186 if (ieee->ht_info->bCurrentHTSupport && ieee->ht_info->enable_ht) { in rtllib_association_req()
1327 if (ieee->ht_info->bCurrentHTSupport && ieee->ht_info->enable_ht) { in rtllib_association_req()
1361 if (ieee->ht_info->bCurrentHTSupport && ieee->ht_info->enable_ht) { in rtllib_association_req()
1527 if (ieee->ht_info->bCurrentHTSupport && ieee->ht_info->enable_ht) { in rtllib_associate_complete_wq()
1534 ieee->ht_info->enable_ht); in rtllib_associate_complete_wq()
1687 ieee->ht_info->enable_ht, in rtllib_softmac_new_net()
[all …]
A Drtl819x_BAProc.c247 !ieee->ht_info->bCurrentHTSupport || in rtllib_rx_ADDBAReq()
248 (ieee->ht_info->iot_action & HT_IOT_ACT_REJECT_ADDBA_REQ)) { in rtllib_rx_ADDBAReq()
253 ieee->ht_info->bCurrentHTSupport); in rtllib_rx_ADDBAReq()
280 (ieee->ht_info->iot_action & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) in rtllib_rx_ADDBAReq()
329 !ieee->ht_info->bCurrentHTSupport || in rtllib_rx_ADDBARsp()
330 !ieee->ht_info->bCurrentAMPDUEnable) { in rtllib_rx_ADDBARsp()
334 ieee->ht_info->bCurrentHTSupport, in rtllib_rx_ADDBARsp()
335 ieee->ht_info->bCurrentAMPDUEnable); in rtllib_rx_ADDBARsp()
416 !ieee->ht_info->bCurrentHTSupport) { in rtllib_rx_DELBA()
420 ieee->ht_info->bCurrentHTSupport); in rtllib_rx_DELBA()
A Drtllib_module.c128 ieee->ht_info = kzalloc(sizeof(struct rt_hi_throughput), GFP_KERNEL); in alloc_rtllib()
129 if (!ieee->ht_info) in alloc_rtllib()
163 kfree(ieee->ht_info); in free_rtllib()
A Drtllib_softmac_wx.c362 if (ieee->ht_info->bCurrentHTSupport && ieee->ht_info->enable_ht && in rtllib_wx_sync_scan_wq()
363 ieee->ht_info->bCurBW40MHz) { in rtllib_wx_sync_scan_wq()
365 chan_offset = ieee->ht_info->CurSTAExtChnlOffset; in rtllib_wx_sync_scan_wq()
366 bandwidth = (enum ht_channel_width)ieee->ht_info->bCurBW40MHz; in rtllib_wx_sync_scan_wq()
A Drtllib_rx.c570 struct rt_hi_throughput *ht_info = ieee->ht_info; in RxReorderIndicatePacket() local
572 u8 WinSize = ht_info->rx_reorder_win_size; in RxReorderIndicatePacket()
594 ht_info->rx_reorder_drop_counter++; in RxReorderIndicatePacket()
758 msecs_to_jiffies(ht_info->rx_reorder_pending_time)); in RxReorderIndicatePacket()
927 if (!ieee->ht_info->cur_rx_reorder_enable || in rtllib_rx_check_duplicate()
1445 if (!ieee->ht_info->cur_rx_reorder_enable || pTS == NULL || bToOtherSTA) in rtllib_rx_InfraAdhoc()
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dcommon-init.c173 struct ieee80211_sta_ht_cap *ht_info) in ath9k_cmn_setup_ht_cap() argument
179 ht_info->ht_supported = true; in ath9k_cmn_setup_ht_cap()
180 ht_info->cap = IEEE80211_HT_CAP_SUP_WIDTH_20_40 | in ath9k_cmn_setup_ht_cap()
186 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; in ath9k_cmn_setup_ht_cap()
189 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in ath9k_cmn_setup_ht_cap()
191 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in ath9k_cmn_setup_ht_cap()
192 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8; in ath9k_cmn_setup_ht_cap()
205 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in ath9k_cmn_setup_ht_cap()
210 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in ath9k_cmn_setup_ht_cap()
219 ht_info->mcs.tx_params |= ((tx_streams - 1) << in ath9k_cmn_setup_ht_cap()
[all …]
A Dcommon-init.h19 struct ieee80211_sta_ht_cap *ht_info);
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
A Dcw1200.h148 struct cw1200_ht_info ht_info; member
300 static inline int cw1200_is_ht(const struct cw1200_ht_info *ht_info) in cw1200_is_ht() argument
302 return ht_info->channel_type != NL80211_CHAN_NO_HT; in cw1200_is_ht()
305 static inline int cw1200_ht_greenfield(const struct cw1200_ht_info *ht_info) in cw1200_ht_greenfield() argument
307 return cw1200_is_ht(ht_info) && in cw1200_ht_greenfield()
308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield()
309 !(ht_info->operation_mode & in cw1200_ht_greenfield()
313 static inline int cw1200_ht_ampdu_density(const struct cw1200_ht_info *ht_info) in cw1200_ht_ampdu_density() argument
315 if (!cw1200_is_ht(ht_info)) in cw1200_ht_ampdu_density()
317 return ht_info->ht_cap.ampdu_density; in cw1200_ht_ampdu_density()
A Ddebug.c183 cw1200_is_ht(&priv->ht_info) ? "on" : "off"); in cw1200_status_show()
184 if (cw1200_is_ht(&priv->ht_info)) { in cw1200_status_show()
186 cw1200_ht_greenfield(&priv->ht_info) ? "yes" : "no"); in cw1200_status_show()
188 cw1200_ht_ampdu_density(&priv->ht_info)); in cw1200_status_show()
A Dsta.c1911 priv->ht_info.ht_cap = sta->deflink.ht_cap; in cw1200_bss_info_changed()
1915 priv->ht_info.channel_type = cfg80211_get_chandef_type(&dev->conf.chandef); in cw1200_bss_info_changed()
1916 priv->ht_info.operation_mode = info->ht_operation_mode; in cw1200_bss_info_changed()
1918 memset(&priv->ht_info, 0, in cw1200_bss_info_changed()
1919 sizeof(priv->ht_info)); in cw1200_bss_info_changed()
1925 if (priv->ht_info.operation_mode & in cw1200_bss_info_changed()
1930 htprot |= cpu_to_le32((priv->ht_info.operation_mode & IEEE80211_HT_OP_MODE_PROTECTION) << 2); in cw1200_bss_info_changed()
1941 cw1200_ht_greenfield(&priv->ht_info); in cw1200_bss_info_changed()
1956 cw1200_ht_ampdu_density(&priv->ht_info); in cw1200_bss_info_changed()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dcfp.c185 u8 index, u8 ht_info) in mwifiex_index_to_acs_data_rate() argument
196 bw = (ht_info & 0xC) >> 2; in mwifiex_index_to_acs_data_rate()
199 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
207 bw = (ht_info & 0xC) >> 2; in mwifiex_index_to_acs_data_rate()
210 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
239 u8 index, u8 ht_info) in mwifiex_index_to_data_rate() argument
248 if (ht_info & BIT(0)) { in mwifiex_index_to_data_rate()
250 if (ht_info & BIT(2)) in mwifiex_index_to_data_rate()
255 if (ht_info & BIT(1)) { in mwifiex_index_to_data_rate()
256 if (ht_info & BIT(2)) in mwifiex_index_to_data_rate()
[all …]
A D11n.c304 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_append_11n_tlv() local
369 ht_info = (struct mwifiex_ie_types_htinfo *) *buffer; in mwifiex_cmd_append_11n_tlv()
370 memset(ht_info, 0, in mwifiex_cmd_append_11n_tlv()
372 ht_info->header.type = in mwifiex_cmd_append_11n_tlv()
374 ht_info->header.len = in mwifiex_cmd_append_11n_tlv()
378 memcpy((u8 *) ht_info + in mwifiex_cmd_append_11n_tlv()
381 le16_to_cpu(ht_info->header.len)); in mwifiex_cmd_append_11n_tlv()
385 ht_info->ht_oper.ht_param &= in mwifiex_cmd_append_11n_tlv()
A Djoin.c844 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_802_11_ad_hoc_start() local
1056 ht_info = (struct mwifiex_ie_types_htinfo *) pos; in mwifiex_cmd_802_11_ad_hoc_start()
1057 memset(ht_info, 0, sizeof(struct mwifiex_ie_types_htinfo)); in mwifiex_cmd_802_11_ad_hoc_start()
1058 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1059 ht_info->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1062 ht_info->ht_oper.primary_chan = in mwifiex_cmd_802_11_ad_hoc_start()
1065 ht_info->ht_oper.ht_param = adapter->sec_chan_offset; in mwifiex_cmd_802_11_ad_hoc_start()
1066 ht_info->ht_oper.ht_param |= in mwifiex_cmd_802_11_ad_hoc_start()
1069 ht_info->ht_oper.operation_mode = in mwifiex_cmd_802_11_ad_hoc_start()
1071 ht_info->ht_oper.basic_set[0] = 0xff; in mwifiex_cmd_802_11_ad_hoc_start()
A Dcfg80211.c1940 struct ieee80211_sta_ht_cap *ht_info; in mwifiex_cfg80211_set_antenna() local
1964 memset(&ht_info->mcs, 0xff, rx_mcs_supp); in mwifiex_cfg80211_set_antenna()
2882 ht_info->ht_supported = true; in mwifiex_setup_ht_caps()
2886 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in mwifiex_setup_ht_caps()
2895 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in mwifiex_setup_ht_caps()
2897 ht_info->cap &= ~IEEE80211_HT_CAP_SGI_20; in mwifiex_setup_ht_caps()
2900 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in mwifiex_setup_ht_caps()
2902 ht_info->cap &= ~IEEE80211_HT_CAP_SGI_40; in mwifiex_setup_ht_caps()
2910 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in mwifiex_setup_ht_caps()
2915 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; in mwifiex_setup_ht_caps()
[all …]
A Dsta_rx.c146 priv->rxpd_htinfo = local_rx_pd->ht_info; in mwifiex_process_rx_packet()
153 local_rx_pd->ht_info); in mwifiex_process_rx_packet()
A Duap_txrx.c182 src_node->stats.last_tx_htinfo = uap_rx_pd->ht_info; in mwifiex_uap_queue_bridged_pkt()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/
A Diwl-eeprom-parse.c680 struct ieee80211_sta_ht_cap *ht_info, in iwl_init_ht_hw_capab() argument
696 ht_info->ht_supported = false; in iwl_init_ht_hw_capab()
703 ht_info->ht_supported = true; in iwl_init_ht_hw_capab()
704 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; in iwl_init_ht_hw_capab()
710 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in iwl_init_ht_hw_capab()
723 ht_info->mcs.rx_mask[0] = 0xFF; in iwl_init_ht_hw_capab()
725 ht_info->mcs.rx_mask[1] = 0xFF; in iwl_init_ht_hw_capab()
727 ht_info->mcs.rx_mask[2] = 0xFF; in iwl_init_ht_hw_capab()
730 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; in iwl_init_ht_hw_capab()
731 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in iwl_init_ht_hw_capab()
[all …]
A Diwl-eeprom-parse.h85 struct ieee80211_sta_ht_cap *ht_info,
/linux-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/
A Drtl_dm.c299 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_rate_adaptive() local
318 bshort_gi_enabled = (ht_info->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
319 ht_info->bCurShortGI40MHz) || in _rtl92e_dm_check_rate_adaptive()
320 (!ht_info->cur_tx_bw40mhz && in _rtl92e_dm_check_rate_adaptive()
321 ht_info->bCurShortGI20MHz); in _rtl92e_dm_check_rate_adaptive()
1510 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_edca_turbo() local
1532 edca_setting_UL[ht_info->IOTPeer]); in _rtl92e_dm_check_edca_turbo()
1599 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_cts_to_self() local
1626 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_init_wa_broadcom_iot() local
1628 ht_info->bWAIotBroadcom = false; in _rtl92e_dm_init_wa_broadcom_iot()
[all …]
A Drtl_cam.c44 if ((ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE) || !hwwep) { in rtl92e_enable_hw_security_config()
A Dr8192E_dev.c1898 if (ieee->ht_info->peer_mimo_ps == 0) { in rtl92e_update_ratr_table()
1911 if (ieee->ht_info->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
1912 ieee->ht_info->bCurShortGI40MHz) in rtl92e_update_ratr_table()
1914 else if (!ieee->ht_info->cur_tx_bw40mhz && in rtl92e_update_ratr_table()
1915 ieee->ht_info->bCurShortGI20MHz) in rtl92e_update_ratr_table()
A Drtl_core.c310 (!priv->rtllib->ht_info->current_rt2rt_long_slot_time)) { in _rtl92e_update_cap()
342 if (ieee->ht_info->bCurrentHTSupport) in _rtl92e_update_beacon()
344 ieee->ht_info->current_rt2rt_long_slot_time = net->bssht.bd_rt2rt_long_slot_time; in _rtl92e_update_beacon()
345 ieee->ht_info->RT2RT_HT_Mode = net->bssht.rt2rt_ht_mode; in _rtl92e_update_beacon()
675 priv->rtllib->ht_info->enable_ht = 1; in rtl92e_set_wireless_mode()
677 priv->rtllib->ht_info->enable_ht = 0; in rtl92e_set_wireless_mode()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/
A Dcommon.c3363 struct ieee80211_sta_ht_cap *ht_info, in il_init_ht_hw_capab() argument
3370 ht_info->cap = 0; in il_init_ht_hw_capab()
3371 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in il_init_ht_hw_capab()
3373 ht_info->ht_supported = true; in il_init_ht_hw_capab()
3375 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in il_init_ht_hw_capab()
3379 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in il_init_ht_hw_capab()
3380 ht_info->mcs.rx_mask[4] = 0x01; in il_init_ht_hw_capab()
3390 ht_info->mcs.rx_mask[0] = 0xFF; in il_init_ht_hw_capab()
3392 ht_info->mcs.rx_mask[1] = 0xFF; in il_init_ht_hw_capab()
3394 ht_info->mcs.rx_mask[2] = 0xFF; in il_init_ht_hw_capab()
[all …]

Completed in 70 milliseconds

12