Lines Matching refs:sband
1210 struct ieee80211_supported_band *sband;
1212 sband = local->hw.wiphy->bands[band];
1213 if (!sband)
1221 for (i = 0; i < sband->n_channels; i++)
1222 if (!(sband->channels[i].flags &
1226 if (i == sband->n_channels)
1229 &sband->channels[i],
1239 channels += sband->n_channels;
1246 if (WARN_ON(sband->ht_cap.ht_supported &&
1247 (sband->ht_cap.cap & IEEE80211_HT_CAP_DELAY_BA) &&
1251 if (max_bitrates < sband->n_bitrates)
1252 max_bitrates = sband->n_bitrates;
1253 supp_ht = supp_ht || sband->ht_cap.ht_supported;
1254 supp_vht = supp_vht || sband->vht_cap.vht_supported;
1256 for_each_sband_iftype_data(sband, i, iftd) {
1273 sband->ht_cap.ht_supported &&
1274 sband->ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 &&
1288 if (!sband->ht_cap.ht_supported)
1293 max(ieee80211_mcs_to_chains(&sband->ht_cap.mcs),
1297 sband->ht_cap.cap |= WLAN_HT_CAP_SM_PS_DISABLED <<
1519 * or have it when we don't, copy the sband structure and set/clear it.
1527 struct ieee80211_supported_band *sband;
1532 sband = local->hw.wiphy->bands[band];
1533 if (!sband || !sband->vht_cap.vht_supported)
1536 ie_cap = !!(sband->vht_cap.vht_mcs.tx_highest &
1542 sband = kmemdup(sband, sizeof(*sband), GFP_KERNEL);
1543 if (!sband) {
1548 wiphy_dbg(hw->wiphy, "copying sband (band %d) due to VHT EXT NSS BW flag\n",
1551 sband->vht_cap.vht_mcs.tx_highest ^=
1554 local->hw.wiphy->bands[band] = sband;