Lines Matching defs:sband
198 struct ieee80211_supported_band *sband;
200 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
204 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
239 struct ieee80211_supported_band *sband;
241 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
245 rate = &sband->bitrates[frame_txctl->control.rts_cts_rate_idx];
838 struct ieee80211_supported_band *sband;
844 sband = local->hw.wiphy->bands[band];
845 if (!sband) {
847 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
855 bitrates = sband->bitrates;
857 for (i = 0; i < sband->n_bitrates; i++)
909 struct ieee80211_supported_band *sband;
914 sband = local->hw.wiphy->bands[band];
918 supp_rates_len = min_t(int, sband->n_bitrates, 8);
924 int rate = sband->bitrates[i].bitrate;
944 if (sband->n_bitrates > i) {
946 *pos++ = sband->n_bitrates - i;
948 for (; i < sband->n_bitrates; i++) {
949 int rate = sband->bitrates[i].bitrate;
972 if (sband->ht_cap.ht_supported) {
973 u16 cap = sband->ht_cap.cap;
977 sband->band == IEEE80211_BAND_2GHZ) {
988 *pos++ = sband->ht_cap.ampdu_factor |
989 (sband->ht_cap.ampdu_density <<
991 memcpy(pos, &sband->ht_cap.mcs, sizeof(sband->ht_cap.mcs));
992 pos += sizeof(sband->ht_cap.mcs);
1050 struct ieee80211_supported_band *sband;
1055 sband = local->hw.wiphy->bands[band];
1057 if (!sband) {
1059 sband = local->hw.wiphy->bands[local->hw.conf.channel->band];
1062 bitrates = sband->bitrates;
1063 num_rates = sband->n_bitrates;