Searched refs:sbands (Results 1 – 17 of 17) sorted by relevance
142 common->sbands[IEEE80211_BAND_2GHZ].channels = channels; in ath9k_cmn_init_channels_rates()143 common->sbands[IEEE80211_BAND_2GHZ].band = IEEE80211_BAND_2GHZ; in ath9k_cmn_init_channels_rates()144 common->sbands[IEEE80211_BAND_2GHZ].n_channels = in ath9k_cmn_init_channels_rates()146 common->sbands[IEEE80211_BAND_2GHZ].bitrates = ath9k_legacy_rates; in ath9k_cmn_init_channels_rates()147 common->sbands[IEEE80211_BAND_2GHZ].n_bitrates = in ath9k_cmn_init_channels_rates()159 common->sbands[IEEE80211_BAND_5GHZ].channels = channels; in ath9k_cmn_init_channels_rates()160 common->sbands[IEEE80211_BAND_5GHZ].band = IEEE80211_BAND_5GHZ; in ath9k_cmn_init_channels_rates()161 common->sbands[IEEE80211_BAND_5GHZ].n_channels = in ath9k_cmn_init_channels_rates()163 common->sbands[IEEE80211_BAND_5GHZ].bitrates = in ath9k_cmn_init_channels_rates()165 common->sbands[IEEE80211_BAND_5GHZ].n_bitrates = in ath9k_cmn_init_channels_rates()[all …]
110 sband = &common->sbands[IEEE80211_BAND_2GHZ]; in ath_chanctx_init()112 sband = &common->sbands[IEEE80211_BAND_5GHZ]; in ath_chanctx_init()1155 sband = &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_offchannel_init()1157 sband = &common->sbands[IEEE80211_BAND_5GHZ]; in ath9k_offchannel_init()
641 sband = &common->sbands[band]; in ath9k_init_band_txpower()838 &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_set_hw_capab()841 &common->sbands[IEEE80211_BAND_5GHZ]; in ath9k_set_hw_capab()
610 &common->sbands[IEEE80211_BAND_2GHZ]; in ath9k_set_hw_capab()613 &common->sbands[IEEE80211_BAND_5GHZ]; in ath9k_set_hw_capab()
214 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts()
83 sband = &common->sbands[sc->cur_chandef.chan->band]; in ath9k_beacon_setup()
1173 rate = &common->sbands[tx_info->band].bitrates[rates[i].idx]; in ath_buf_set_rate()
150 struct ieee80211_supported_band *sbands = &adapter->sbands[band]; in rsi_register_rates_channels() local158 sbands->band = IEEE80211_BAND_2GHZ; in rsi_register_rates_channels()159 sbands->n_channels = ARRAY_SIZE(rsi_2ghz_channels); in rsi_register_rates_channels()160 sbands->bitrates = rsi_rates; in rsi_register_rates_channels()161 sbands->n_bitrates = ARRAY_SIZE(rsi_rates); in rsi_register_rates_channels()167 sbands->band = IEEE80211_BAND_5GHZ; in rsi_register_rates_channels()168 sbands->n_channels = ARRAY_SIZE(rsi_5ghz_channels); in rsi_register_rates_channels()169 sbands->bitrates = &rsi_rates[4]; in rsi_register_rates_channels()170 sbands->n_bitrates = ARRAY_SIZE(rsi_rates) - 4; in rsi_register_rates_channels()173 sbands->channels = channels; in rsi_register_rates_channels()[all …]
214 struct ieee80211_supported_band sbands[IEEE80211_NUM_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()
352 BUILD_BUG_ON(ARRAY_SIZE(ah->sbands) < IEEE80211_NUM_BANDS); in ath5k_setup_bands()356 sband = &ah->sbands[IEEE80211_BAND_2GHZ]; in ath5k_setup_bands()404 sband = &ah->sbands[IEEE80211_BAND_5GHZ]; in ath5k_setup_bands()1413 ah->sbands[ah->curchan->band].bitrates[rxs->rate_idx].hw_value_short) in ath5k_receive_frame()
1044 BUG_ON(!ah->sbands); in ath5k_debug_dump_bands()1047 struct ieee80211_supported_band *band = &ah->sbands[b]; in ath5k_debug_dump_bands()
1266 struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS]; member
178 struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS]; member
473 struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS]; member
4768 band = &ar->mac.sbands[IEEE80211_BAND_2GHZ]; in ath10k_mac_register()4789 band = &ar->mac.sbands[IEEE80211_BAND_5GHZ]; in ath10k_mac_register()4912 kfree(ar->mac.sbands[IEEE80211_BAND_2GHZ].channels); in ath10k_mac_register()4913 kfree(ar->mac.sbands[IEEE80211_BAND_5GHZ].channels); in ath10k_mac_register()4925 kfree(ar->mac.sbands[IEEE80211_BAND_2GHZ].channels); in ath10k_mac_unregister()4926 kfree(ar->mac.sbands[IEEE80211_BAND_5GHZ].channels); in ath10k_mac_unregister()