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,
402 struct ieee80211_supported_band *sband;
444 sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
454 for (j = 0; j < sband->n_bitrates; j++) {
456 if ((rate_flags & sband->bitrates[j].flags)
460 brate = DIV_ROUND_UP(sband->bitrates[j].bitrate,
610 struct ieee80211_supported_band *sband;
650 sband = local->hw.wiphy->bands[band];
652 ieee80211_mandatory_rates(sband, scan_width);
996 struct ieee80211_supported_band *sband;
1006 sband = local->hw.wiphy->bands[band];
1007 if (WARN_ON(!sband))
1028 ieee80211_mandatory_rates(sband, scan_width);
1063 rates_updated |= ieee80211_ht_cap_ie_to_sta_ht_cap(sdata, sband,
1081 ieee80211_vht_cap_ie_to_sta_vht_cap(sdata, sband,
1213 struct ieee80211_supported_band *sband;
1248 sband = local->hw.wiphy->bands[band];
1250 ieee80211_mandatory_rates(sband, scan_width);
1766 struct ieee80211_supported_band *sband;
1814 sband = local->hw.wiphy->bands[params->chandef.chan->band];
1815 for (i = 0; i < sband->n_bitrates; i++) {
1816 if ((rate_flags & sband->bitrates[i].flags) != rate_flags)