Searched refs:sbands (Results 1 – 20 of 20) sorted by relevance
142 common->sbands[NL80211_BAND_2GHZ].channels = channels; in ath9k_cmn_init_channels_rates()143 common->sbands[NL80211_BAND_2GHZ].band = NL80211_BAND_2GHZ; in ath9k_cmn_init_channels_rates()144 common->sbands[NL80211_BAND_2GHZ].n_channels = in ath9k_cmn_init_channels_rates()146 common->sbands[NL80211_BAND_2GHZ].bitrates = ath9k_legacy_rates; in ath9k_cmn_init_channels_rates()147 common->sbands[NL80211_BAND_2GHZ].n_bitrates = in ath9k_cmn_init_channels_rates()159 common->sbands[NL80211_BAND_5GHZ].channels = channels; in ath9k_cmn_init_channels_rates()160 common->sbands[NL80211_BAND_5GHZ].band = NL80211_BAND_5GHZ; in ath9k_cmn_init_channels_rates()161 common->sbands[NL80211_BAND_5GHZ].n_channels = in ath9k_cmn_init_channels_rates()163 common->sbands[NL80211_BAND_5GHZ].bitrates = in ath9k_cmn_init_channels_rates()165 common->sbands[NL80211_BAND_5GHZ].n_bitrates = in ath9k_cmn_init_channels_rates()[all …]
802 sband = &common->sbands[band]; in ath9k_init_band_txpower()1000 &common->sbands[NL80211_BAND_2GHZ]; in ath9k_set_hw_capab()1003 &common->sbands[NL80211_BAND_5GHZ]; in ath9k_set_hw_capab()
111 sband = &common->sbands[NL80211_BAND_2GHZ]; in ath_chanctx_init()113 sband = &common->sbands[NL80211_BAND_5GHZ]; in ath_chanctx_init()1341 sband = &common->sbands[NL80211_BAND_2GHZ]; in ath9k_offchannel_init()1343 sband = &common->sbands[NL80211_BAND_5GHZ]; in ath9k_offchannel_init()
258 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts()
767 &common->sbands[NL80211_BAND_2GHZ]; in ath9k_set_hw_capab()770 &common->sbands[NL80211_BAND_5GHZ]; in ath9k_set_hw_capab()
83 sband = &common->sbands[sc->cur_chandef.chan->band]; in ath9k_beacon_setup()
1049 rate = &common->sbands[rxs->band].bitrates[rxs->rate_idx]; in ath_rx_count_airtime()
1281 rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; in ath_buf_set_rate()
195 struct ieee80211_supported_band *sbands = &adapter->sbands[band]; in rsi_register_rates_channels() local203 sbands->band = NL80211_BAND_2GHZ; in rsi_register_rates_channels()204 sbands->n_channels = ARRAY_SIZE(rsi_2ghz_channels); in rsi_register_rates_channels()205 sbands->bitrates = rsi_rates; in rsi_register_rates_channels()206 sbands->n_bitrates = ARRAY_SIZE(rsi_rates); in rsi_register_rates_channels()212 sbands->band = NL80211_BAND_5GHZ; in rsi_register_rates_channels()213 sbands->n_channels = ARRAY_SIZE(rsi_5ghz_channels); in rsi_register_rates_channels()214 sbands->bitrates = &rsi_rates[4]; in rsi_register_rates_channels()215 sbands->n_bitrates = ARRAY_SIZE(rsi_rates) - 4; in rsi_register_rates_channels()218 sbands->channels = channels; in rsi_register_rates_channels()[all …]
352 struct ieee80211_supported_band sbands[NUM_NL80211_BANDS]; member
285 for (i = 0; i < ah->sbands[band].n_bitrates; i++) { in ath5k_hw_write_rate_duration()290 rate = &ah->sbands[band].bitrates[ack_rates_high[i]]; in ath5k_hw_write_rate_duration()293 rate = &ah->sbands[band].bitrates[0]; in ath5k_hw_write_rate_duration()296 rate = &ah->sbands[band].bitrates[4]; in ath5k_hw_write_rate_duration()
613 sband = &ah->sbands[band]; in ath5k_hw_set_ifs_intervals()
366 BUILD_BUG_ON(ARRAY_SIZE(ah->sbands) < NUM_NL80211_BANDS); in ath5k_setup_bands()370 sband = &ah->sbands[NL80211_BAND_2GHZ]; in ath5k_setup_bands()418 sband = &ah->sbands[NL80211_BAND_5GHZ]; in ath5k_setup_bands()1426 ah->sbands[ah->curchan->band].bitrates[rxs->rate_idx].hw_value_short) in ath5k_receive_frame()
1268 struct ieee80211_supported_band sbands[NUM_NL80211_BANDS]; member
1032 struct ieee80211_supported_band *band = &ah->sbands[b]; in ath5k_debug_dump_bands()
186 struct ieee80211_supported_band sbands[NUM_NL80211_BANDS]; member
1041 struct ieee80211_supported_band sbands[NUM_NL80211_BANDS]; member
4666 band = &ar->mac.sbands[NL80211_BAND_2GHZ]; in ath10k_mac_setup_ht_vht_cap()4670 band = &ar->mac.sbands[NL80211_BAND_5GHZ]; in ath10k_mac_setup_ht_vht_cap()7226 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; in ath10k_mac_bitrate_mask_get_single_nss()8723 band = &ar->mac.sbands[NL80211_BAND_2GHZ]; in ath10k_mac_register()8747 band = &ar->mac.sbands[NL80211_BAND_5GHZ]; in ath10k_mac_register()9028 kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); in ath10k_mac_register()9029 kfree(ar->mac.sbands[NL80211_BAND_5GHZ].channels); in ath10k_mac_register()9042 kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); in ath10k_mac_unregister()9043 kfree(ar->mac.sbands[NL80211_BAND_5GHZ].channels); in ath10k_mac_unregister()
963 sband = &ar->mac.sbands[status->band]; in ath10k_htt_rx_h_rates()
2511 sband = &ar->mac.sbands[status->band]; in ath10k_wmi_event_mgmt_rx()