Lines Matching refs:sband
865 struct ieee80211_supported_band *sband, in iwl_init_he_6ghz_capa() argument
875 if (sband->band != NL80211_BAND_6GHZ) in iwl_init_he_6ghz_capa()
904 iftype_data = (void *)(uintptr_t)sband->iftype_data; in iwl_init_he_6ghz_capa()
905 for (i = 0; i < sband->n_iftype_data; i++) in iwl_init_he_6ghz_capa()
912 struct ieee80211_supported_band *sband, in iwl_nvm_fixup_sband_iftd() argument
928 if (sband->band == NL80211_BAND_6GHZ && iftype_data->eht_cap.has_eht) in iwl_nvm_fixup_sband_iftd()
931 else if (sband->band != NL80211_BAND_2GHZ) in iwl_nvm_fixup_sband_iftd()
938 switch (sband->band) { in iwl_nvm_fixup_sband_iftd()
1119 struct ieee80211_supported_band *sband, in iwl_init_he_hw_capab() argument
1130 switch (sband->band) { in iwl_init_he_hw_capab()
1147 _ieee80211_set_sband_iftype_data(sband, iftype_data, in iwl_init_he_hw_capab()
1150 for (i = 0; i < sband->n_iftype_data; i++) in iwl_init_he_hw_capab()
1151 iwl_nvm_fixup_sband_iftd(trans, data, sband, &iftype_data[i], in iwl_init_he_hw_capab()
1154 iwl_init_he_6ghz_capa(trans, data, sband, tx_chains, rx_chains); in iwl_init_he_hw_capab()
1160 struct ieee80211_supported_band *sband; in iwl_reinit_cab() local
1162 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_reinit_cab()
1163 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_reinit_cab()
1167 iwl_init_he_hw_capab(trans, data, sband, tx_chains, rx_chains, in iwl_reinit_cab()
1170 sband = &data->bands[NL80211_BAND_5GHZ]; in iwl_reinit_cab()
1171 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ, in iwl_reinit_cab()
1174 iwl_init_vht_hw_capab(trans, data, &sband->vht_cap, in iwl_reinit_cab()
1178 iwl_init_he_hw_capab(trans, data, sband, tx_chains, rx_chains, in iwl_reinit_cab()
1181 sband = &data->bands[NL80211_BAND_6GHZ]; in iwl_reinit_cab()
1183 iwl_init_he_hw_capab(trans, data, sband, tx_chains, rx_chains, in iwl_reinit_cab()
1197 struct ieee80211_supported_band *sband; in iwl_init_sbands() local
1201 sband = &data->bands[NL80211_BAND_2GHZ]; in iwl_init_sbands()
1202 sband->band = NL80211_BAND_2GHZ; in iwl_init_sbands()
1203 sband->bitrates = &iwl_cfg80211_rates[RATES_24_OFFS]; in iwl_init_sbands()
1204 sband->n_bitrates = N_RATES_24; in iwl_init_sbands()
1205 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
1207 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_2GHZ, in iwl_init_sbands()
1211 iwl_init_he_hw_capab(trans, data, sband, tx_chains, rx_chains, in iwl_init_sbands()
1214 sband = &data->bands[NL80211_BAND_5GHZ]; in iwl_init_sbands()
1215 sband->band = NL80211_BAND_5GHZ; in iwl_init_sbands()
1216 sband->bitrates = &iwl_cfg80211_rates[RATES_52_OFFS]; in iwl_init_sbands()
1217 sband->n_bitrates = N_RATES_52; in iwl_init_sbands()
1218 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
1220 iwl_init_ht_hw_capab(trans, data, &sband->ht_cap, NL80211_BAND_5GHZ, in iwl_init_sbands()
1223 iwl_init_vht_hw_capab(trans, data, &sband->vht_cap, in iwl_init_sbands()
1227 iwl_init_he_hw_capab(trans, data, sband, tx_chains, rx_chains, in iwl_init_sbands()
1231 sband = &data->bands[NL80211_BAND_6GHZ]; in iwl_init_sbands()
1232 sband->band = NL80211_BAND_6GHZ; in iwl_init_sbands()
1234 sband->bitrates = &iwl_cfg80211_rates[RATES_52_OFFS]; in iwl_init_sbands()
1235 sband->n_bitrates = N_RATES_52; in iwl_init_sbands()
1236 n_used += iwl_init_sband_channels(data, sband, n_channels, in iwl_init_sbands()
1240 iwl_init_he_hw_capab(trans, data, sband, tx_chains, rx_chains, in iwl_init_sbands()
1243 sband->n_channels = 0; in iwl_init_sbands()