Lines Matching defs:sband
96 struct ieee80211_supported_band *sband;
103 sband = ieee80211_get_sband(sdata);
104 if (!sband)
107 if (sband->band == NL80211_BAND_5GHZ) {
111 } else if (sband->band != NL80211_BAND_2GHZ) {
115 for (i = 0; i < sband->n_bitrates; i++)
116 if (sband->bitrates[i].flags & IEEE80211_RATE_ERP_G)
129 if (erp_rates & sta->sta.deflink.supp_rates[sband->band])
266 struct ieee80211_supported_band *sband;
269 sband = ieee80211_get_sband(sdata);
270 if (!sband) {
274 band = sband->band;
424 struct ieee80211_supported_band *sband;
428 sband = ieee80211_get_sband(sdata);
429 if (!sband)
432 rates = ieee80211_sta_get_rates(sdata, elems, sband->band,
444 if (sta->sta.deflink.supp_rates[sband->band] != rates)
446 sta->sta.deflink.supp_rates[sband->band] = rates;
448 if (ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
453 ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
457 ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, elems->he_cap,
462 ieee80211_eht_cap_ie_to_sta_eht_cap(sdata, sband, elems->he_cap,
482 rate_control_rate_update(local, sband, sta, 0, changed);