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 …]
748 sband = &common->sbands[band]; in ath9k_init_band_txpower()946 &common->sbands[NL80211_BAND_2GHZ]; in ath9k_set_hw_capab()949 &common->sbands[NL80211_BAND_5GHZ]; in ath9k_set_hw_capab()
110 sband = &common->sbands[NL80211_BAND_2GHZ]; in ath_chanctx_init()112 sband = &common->sbands[NL80211_BAND_5GHZ]; in ath_chanctx_init()1340 sband = &common->sbands[NL80211_BAND_2GHZ]; in ath9k_offchannel_init()1342 sband = &common->sbands[NL80211_BAND_5GHZ]; in ath9k_offchannel_init()
229 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts()
769 &common->sbands[NL80211_BAND_2GHZ]; in ath9k_set_hw_capab()772 &common->sbands[NL80211_BAND_5GHZ]; in ath9k_set_hw_capab()
83 sband = &common->sbands[sc->cur_chandef.chan->band]; in ath9k_beacon_setup()
1052 rate = &common->sbands[rxs->band].bitrates[rxs->rate_idx]; in ath_rx_count_airtime()
1324 rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; in ath_buf_set_rate()
168 struct ieee80211_supported_band *sbands = &adapter->sbands[band]; in rsi_register_rates_channels() local176 sbands->band = NL80211_BAND_2GHZ; in rsi_register_rates_channels()177 sbands->n_channels = ARRAY_SIZE(rsi_2ghz_channels); in rsi_register_rates_channels()178 sbands->bitrates = rsi_rates; in rsi_register_rates_channels()179 sbands->n_bitrates = ARRAY_SIZE(rsi_rates); in rsi_register_rates_channels()185 sbands->band = NL80211_BAND_5GHZ; in rsi_register_rates_channels()186 sbands->n_channels = ARRAY_SIZE(rsi_5ghz_channels); in rsi_register_rates_channels()187 sbands->bitrates = &rsi_rates[4]; in rsi_register_rates_channels()188 sbands->n_bitrates = ARRAY_SIZE(rsi_rates) - 4; in rsi_register_rates_channels()191 sbands->channels = channels; in rsi_register_rates_channels()[all …]
299 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()
615 sband = &ah->sbands[band]; in ath5k_hw_set_ifs_intervals()
1046 BUG_ON(!ah->sbands); in ath5k_debug_dump_bands()1049 struct ieee80211_supported_band *band = &ah->sbands[b]; in ath5k_debug_dump_bands()
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()1427 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
188 struct ieee80211_supported_band sbands[NUM_NL80211_BANDS]; member
850 struct ieee80211_supported_band sbands[NUM_NL80211_BANDS]; member
4528 band = &ar->mac.sbands[NL80211_BAND_2GHZ]; in ath10k_mac_setup_ht_vht_cap()4532 band = &ar->mac.sbands[NL80211_BAND_5GHZ]; in ath10k_mac_setup_ht_vht_cap()6814 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; in ath10k_mac_bitrate_mask_get_single_nss()6863 struct ieee80211_supported_band *sband = &ar->mac.sbands[band]; in ath10k_mac_bitrate_mask_get_single_rate()8146 band = &ar->mac.sbands[NL80211_BAND_2GHZ]; in ath10k_mac_register()8170 band = &ar->mac.sbands[NL80211_BAND_5GHZ]; in ath10k_mac_register()8390 kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); in ath10k_mac_register()8391 kfree(ar->mac.sbands[NL80211_BAND_5GHZ].channels); in ath10k_mac_register()8404 kfree(ar->mac.sbands[NL80211_BAND_2GHZ].channels); in ath10k_mac_unregister()8405 kfree(ar->mac.sbands[NL80211_BAND_5GHZ].channels); in ath10k_mac_unregister()
636 sband = &ar->mac.sbands[status->band]; in ath10k_htt_rx_h_rates()
2374 sband = &ar->mac.sbands[status->band]; in ath10k_wmi_event_mgmt_rx()