Lines Matching defs:sband

50 	struct ieee80211_supported_band *sband;
93 sband = local->hw.wiphy->bands[chandef->chan->band];
100 for (i = 0; i < sband->n_bitrates; i++) {
101 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)
103 if (sband->bitrates[i].bitrate > 110 &&
113 for (ri = 0; ri < sband->n_bitrates; ri++) {
114 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate,
129 if (sband->band == NL80211_BAND_2GHZ) {
157 for (; ri < sband->n_bitrates; ri++) {
158 int rate = DIV_ROUND_UP(sband->bitrates[ri].bitrate,
179 sband->ht_cap.ht_supported) {
182 memcpy(&ht_cap, &sband->ht_cap, sizeof(ht_cap));
191 pos = ieee80211_ie_build_ht_oper(pos, &sband->ht_cap,
197 sband->vht_cap.vht_supported) {
198 pos = ieee80211_ie_build_vht_cap(pos, &sband->vht_cap,
199 sband->vht_cap.cap);
200 pos = ieee80211_ie_build_vht_oper(pos, &sband->vht_cap,
399 struct ieee80211_supported_band *sband;
441 sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
451 for (j = 0; j < sband->n_bitrates; j++) {
453 if ((rate_flags & sband->bitrates[j].flags)
457 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate,
602 struct ieee80211_supported_band *sband;
642 sband = local->hw.wiphy->bands[band];
644 ieee80211_mandatory_rates(sband, scan_width);
989 struct ieee80211_supported_band *sband;
999 sband = local->hw.wiphy->bands[band];
1000 if (WARN_ON(!sband))
1021 ieee80211_mandatory_rates(sband, scan_width);
1056 rates_updated |= ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
1074 ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
1207 struct ieee80211_supported_band *sband;
1242 sband = local->hw.wiphy->bands[band];
1244 ieee80211_mandatory_rates(sband, scan_width);
1763 struct ieee80211_supported_band *sband;
1811 sband = local->hw.wiphy->bands[params->chandef.chan->band];
1812 for (i = 0; i < sband->n_bitrates; i++) {
1813 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)