Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
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()
206 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); in ath9k_cmn_setup_ht_cap()
210 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in ath9k_cmn_setup_ht_cap()
[all …]
Dcommon-init.h19 struct ieee80211_sta_ht_cap *ht_info);
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
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()
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()
Dsta.c1910 priv->ht_info.ht_cap = sta->ht_cap; in cw1200_bss_info_changed()
1914 priv->ht_info.channel_type = cfg80211_get_chandef_type(&dev->conf.chandef); in cw1200_bss_info_changed()
1915 priv->ht_info.operation_mode = info->ht_operation_mode; in cw1200_bss_info_changed()
1917 memset(&priv->ht_info, 0, in cw1200_bss_info_changed()
1918 sizeof(priv->ht_info)); in cw1200_bss_info_changed()
1924 if (priv->ht_info.operation_mode & in cw1200_bss_info_changed()
1929 htprot |= cpu_to_le32((priv->ht_info.operation_mode & IEEE80211_HT_OP_MODE_PROTECTION) << 2); in cw1200_bss_info_changed()
1940 cw1200_ht_greenfield(&priv->ht_info); in cw1200_bss_info_changed()
1955 cw1200_ht_ampdu_density(&priv->ht_info); in cw1200_bss_info_changed()
Dtxrx.c656 if (cw1200_ht_greenfield(&priv->ht_info)) in cw1200_tx_h_rate_policy()
903 if (cw1200_ht_greenfield(&priv->ht_info)) in cw1200_tx_confirm_cb()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfp.c197 u8 index, u8 ht_info) in mwifiex_index_to_acs_data_rate() argument
204 if ((ht_info & 0x3) == MWIFIEX_RATE_FORMAT_VHT) { in mwifiex_index_to_acs_data_rate()
208 bw = (ht_info & 0xC) >> 2; in mwifiex_index_to_acs_data_rate()
211 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
217 } else if ((ht_info & 0x3) == MWIFIEX_RATE_FORMAT_HT) { in mwifiex_index_to_acs_data_rate()
219 bw = (ht_info & 0xC) >> 2; in mwifiex_index_to_acs_data_rate()
222 gi = (ht_info & 0x10) >> 4; in mwifiex_index_to_acs_data_rate()
251 u8 index, u8 ht_info) in mwifiex_index_to_data_rate() argument
258 return mwifiex_index_to_acs_data_rate(priv, index, ht_info); in mwifiex_index_to_data_rate()
260 if (ht_info & BIT(0)) { in mwifiex_index_to_data_rate()
[all …]
D11n.c316 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_append_11n_tlv() local
381 ht_info = (struct mwifiex_ie_types_htinfo *) *buffer; in mwifiex_cmd_append_11n_tlv()
382 memset(ht_info, 0, in mwifiex_cmd_append_11n_tlv()
384 ht_info->header.type = in mwifiex_cmd_append_11n_tlv()
386 ht_info->header.len = in mwifiex_cmd_append_11n_tlv()
390 memcpy((u8 *) ht_info + in mwifiex_cmd_append_11n_tlv()
393 le16_to_cpu(ht_info->header.len)); in mwifiex_cmd_append_11n_tlv()
397 ht_info->ht_oper.ht_param &= in mwifiex_cmd_append_11n_tlv()
Djoin.c856 struct mwifiex_ie_types_htinfo *ht_info; in mwifiex_cmd_802_11_ad_hoc_start() local
1068 ht_info = (struct mwifiex_ie_types_htinfo *) pos; in mwifiex_cmd_802_11_ad_hoc_start()
1069 memset(ht_info, 0, sizeof(struct mwifiex_ie_types_htinfo)); in mwifiex_cmd_802_11_ad_hoc_start()
1070 ht_info->header.type = cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_802_11_ad_hoc_start()
1071 ht_info->header.len = in mwifiex_cmd_802_11_ad_hoc_start()
1074 ht_info->ht_oper.primary_chan = in mwifiex_cmd_802_11_ad_hoc_start()
1077 ht_info->ht_oper.ht_param = adapter->sec_chan_offset; in mwifiex_cmd_802_11_ad_hoc_start()
1078 ht_info->ht_oper.ht_param |= in mwifiex_cmd_802_11_ad_hoc_start()
1081 ht_info->ht_oper.operation_mode = in mwifiex_cmd_802_11_ad_hoc_start()
1083 ht_info->ht_oper.basic_set[0] = 0xff; in mwifiex_cmd_802_11_ad_hoc_start()
Dcfg80211.c1875 struct ieee80211_sta_ht_cap *ht_info; in mwifiex_cfg80211_set_antenna() local
1895 ht_info = &adapter->wiphy->bands[band]->ht_cap; in mwifiex_cfg80211_set_antenna()
1898 memset(&ht_info->mcs, 0, adapter->number_of_antenna); in mwifiex_cfg80211_set_antenna()
1899 memset(&ht_info->mcs, 0xff, rx_mcs_supp); in mwifiex_cfg80211_set_antenna()
2794 mwifiex_setup_ht_caps(struct ieee80211_sta_ht_cap *ht_info, in mwifiex_setup_ht_caps() argument
2802 ht_info->ht_supported = true; in mwifiex_setup_ht_caps()
2803 ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K; in mwifiex_setup_ht_caps()
2804 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE; in mwifiex_setup_ht_caps()
2806 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in mwifiex_setup_ht_caps()
2810 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in mwifiex_setup_ht_caps()
[all …]
Dsta_rx.c158 priv->rxpd_htinfo = local_rx_pd->ht_info; in mwifiex_process_rx_packet()
165 local_rx_pd->ht_info); in mwifiex_process_rx_packet()
Duap_txrx.c194 src_node->stats.last_tx_htinfo = uap_rx_pd->ht_info; in mwifiex_uap_queue_bridged_pkt()
Dfw.h722 u8 ht_info; member
753 u8 ht_info; member
1288 u8 ht_info; member
Dmain.h1202 u8 index, u8 ht_info);
1204 u8 index, u8 ht_info);
1679 u8 rx_rate, u8 ht_info);
Dsta_cmdresp.c529 priv->tx_htinfo = resp->params.tx_rate.ht_info; in mwifiex_ret_802_11_tx_rate_query()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-parse.c733 struct ieee80211_sta_ht_cap *ht_info, in iwl_init_ht_hw_capab() argument
749 ht_info->ht_supported = false; in iwl_init_ht_hw_capab()
756 ht_info->ht_supported = true; in iwl_init_ht_hw_capab()
757 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; in iwl_init_ht_hw_capab()
760 ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT); in iwl_init_ht_hw_capab()
763 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in iwl_init_ht_hw_capab()
767 ht_info->cap |= IEEE80211_HT_CAP_LDPC_CODING; in iwl_init_ht_hw_capab()
772 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; in iwl_init_ht_hw_capab()
774 ht_info->ampdu_factor = cfg->max_ht_ampdu_exponent; in iwl_init_ht_hw_capab()
775 ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_4; in iwl_init_ht_hw_capab()
[all …]
Diwl-eeprom-parse.h128 struct ieee80211_sta_ht_cap *ht_info,
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
Dcommon.c3366 struct ieee80211_sta_ht_cap *ht_info, in il_init_ht_hw_capab() argument
3373 ht_info->cap = 0; in il_init_ht_hw_capab()
3374 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in il_init_ht_hw_capab()
3376 ht_info->ht_supported = true; in il_init_ht_hw_capab()
3378 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in il_init_ht_hw_capab()
3381 ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40; in il_init_ht_hw_capab()
3382 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in il_init_ht_hw_capab()
3383 ht_info->mcs.rx_mask[4] = 0x01; in il_init_ht_hw_capab()
3388 ht_info->cap |= IEEE80211_HT_CAP_MAX_AMSDU; in il_init_ht_hw_capab()
3390 ht_info->ampdu_factor = CFG_HT_RX_AMPDU_FACTOR_DEF; in il_init_ht_hw_capab()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.h1913 __le32 ht_info[2]; member