Home
last modified time | relevance | path

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

/linux/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/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.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()
A 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()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dcfp.c197 u8 index, u8 ht_info) in mwifiex_index_to_acs_data_rate() argument
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()
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
260 if (ht_info & BIT(0)) { in mwifiex_index_to_data_rate()
262 if (ht_info & BIT(2)) in mwifiex_index_to_data_rate()
267 if (ht_info & BIT(1)) { in mwifiex_index_to_data_rate()
268 if (ht_info & BIT(2)) in mwifiex_index_to_data_rate()
[all …]
A 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()
A Dcfg80211.c1948 struct ieee80211_sta_ht_cap *ht_info; in mwifiex_cfg80211_set_antenna() local
1972 memset(&ht_info->mcs, 0xff, rx_mcs_supp); in mwifiex_cfg80211_set_antenna()
2889 ht_info->ht_supported = true; in mwifiex_setup_ht_caps()
2893 memset(&ht_info->mcs, 0, sizeof(ht_info->mcs)); in mwifiex_setup_ht_caps()
2902 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in mwifiex_setup_ht_caps()
2904 ht_info->cap &= ~IEEE80211_HT_CAP_SGI_20; in mwifiex_setup_ht_caps()
2907 ht_info->cap |= IEEE80211_HT_CAP_SGI_40; in mwifiex_setup_ht_caps()
2909 ht_info->cap &= ~IEEE80211_HT_CAP_SGI_40; in mwifiex_setup_ht_caps()
2917 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in mwifiex_setup_ht_caps()
2922 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; in mwifiex_setup_ht_caps()
[all …]
A 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()
A 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()
A Dfw.h722 u8 ht_info; member
753 u8 ht_info; member
1293 u8 ht_info; member
A Dmain.h1203 u8 index, u8 ht_info);
1205 u8 index, u8 ht_info);
1680 u8 rx_rate, u8 ht_info);
A Duap_txrx.c194 src_node->stats.last_tx_htinfo = uap_rx_pd->ht_info; in mwifiex_uap_queue_bridged_pkt()
A Dsta_cmdresp.c530 priv->tx_htinfo = resp->params.tx_rate.ht_info; in mwifiex_ret_802_11_tx_rate_query()
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-eeprom-parse.c678 struct ieee80211_sta_ht_cap *ht_info, in iwl_init_ht_hw_capab() argument
694 ht_info->ht_supported = false; in iwl_init_ht_hw_capab()
701 ht_info->ht_supported = true; in iwl_init_ht_hw_capab()
702 ht_info->cap = IEEE80211_HT_CAP_DSSSCCK40; in iwl_init_ht_hw_capab()
708 ht_info->cap |= IEEE80211_HT_CAP_TX_STBC; in iwl_init_ht_hw_capab()
721 ht_info->mcs.rx_mask[0] = 0xFF; in iwl_init_ht_hw_capab()
723 ht_info->mcs.rx_mask[1] = 0xFF; in iwl_init_ht_hw_capab()
725 ht_info->mcs.rx_mask[2] = 0xFF; in iwl_init_ht_hw_capab()
728 ht_info->cap |= IEEE80211_HT_CAP_GRN_FLD; in iwl_init_ht_hw_capab()
729 ht_info->cap |= IEEE80211_HT_CAP_SGI_20; in iwl_init_ht_hw_capab()
[all …]
A Diwl-eeprom-parse.h84 struct ieee80211_sta_ht_cap *ht_info,
/linux/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 …]
/linux/drivers/net/wireless/ath/ath10k/
A Dwmi-tlv.h1913 __le32 ht_info[2]; member

Completed in 80 milliseconds