Lines Matching defs:sband
54 struct ieee80211_supported_band *sband = ieee80211_get_link_sband(link);
55 bool vht = sband && sband->vht_cap.vht_supported;
187 struct ieee80211_supported_band *sband;
193 sband = ieee80211_get_link_sband(link);
195 if (sband && sband->band == NL80211_BAND_2GHZ) {
371 struct ieee80211_supported_band *sband;
381 sband = ieee80211_get_link_sband(link);
382 if (WARN_ON_ONCE(!sband))
385 ieee80211_add_srates_ie(sdata, skb, false, sband->band);
386 ieee80211_add_ext_srates_ie(sdata, skb, false, sband->band);
451 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
503 memcpy(&vht_cap, &sband->vht_cap, sizeof(vht_cap));
504 he_cap = ieee80211_get_he_iftype_cap_vif(sband, &sdata->vif);
505 eht_cap = ieee80211_get_eht_iftype_cap_vif(sband, &sdata->vif);
550 /* build the HE-cap from sband */
566 /* Build HE 6Ghz capa IE from sband */
567 if (sband->band == NL80211_BAND_6GHZ) {
571 ieee80211_get_he_6ghz_capa_vif(sband, &sdata->vif);
593 /* build the EHT-cap from sband */
628 struct ieee80211_supported_band *sband;
631 sband = ieee80211_get_link_sband(link);
632 if (WARN_ON_ONCE(!sband))
694 if (sband->band != NL80211_BAND_2GHZ &&
1355 struct ieee80211_supported_band *sband;
1362 sband = local->hw.wiphy->bands[conf->def.chan->band];
1375 rate_control_rate_update(local, sband, sta, 0,