Lines Matching refs:sband
83 struct ieee80211_supported_band *sband,
92 for (j = 0; j < sband->n_bitrates; j++)
93 if (sband->bitrates[j].bitrate == rate) {
106 struct ieee80211_supported_band *sband,
113 u16 cap = sband->ht_cap.cap;
116 if (!sband->ht_cap.ht_supported)
130 sband->band == IEEE80211_BAND_2GHZ) {
183 *pos++ = sband->ht_cap.ampdu_factor |
184 (sband->ht_cap.ampdu_density <<
188 memcpy(pos, &sband->ht_cap.mcs, sizeof(sband->ht_cap.mcs));
189 pos += sizeof(sband->ht_cap.mcs);
212 struct ieee80211_supported_band *sband;
215 sband = local->hw.wiphy->bands[wk->chan->band];
226 sband, &rates);
234 rates_len = sband->n_bitrates;
242 2 + 2 * sband->n_channels + /* supported channels */
256 if (sband->band == IEEE80211_BAND_2GHZ) {
305 len = sband->n_bitrates;
311 for (i = 0; i < sband->n_bitrates; i++) {
313 int rate = sband->bitrates[i].bitrate;
325 for (i++; i < sband->n_bitrates; i++) {
327 int rate = sband->bitrates[i].bitrate;
343 pos = skb_put(skb, 2 * sband->n_channels + 2);
345 *pos++ = 2 * sband->n_channels;
346 for (i = 0; i < sband->n_channels; i++) {
348 sband->channels[i].center_freq);
378 sband, wk->chan, wk->assoc.smps);