Lines Matching refs:sband
29 struct ieee80211_supported_band *sband; in cfg80211_wext_giwname() local
35 sband = wdev->wiphy->bands[IEEE80211_BAND_5GHZ]; in cfg80211_wext_giwname()
36 if (sband) { in cfg80211_wext_giwname()
38 is_ht |= sband->ht_cap.ht_supported; in cfg80211_wext_giwname()
41 sband = wdev->wiphy->bands[IEEE80211_BAND_2GHZ]; in cfg80211_wext_giwname()
42 if (sband) { in cfg80211_wext_giwname()
45 for (i = 0; i < sband->n_bitrates; i++) { in cfg80211_wext_giwname()
46 if (sband->bitrates[i].bitrate == 10) in cfg80211_wext_giwname()
48 if (sband->bitrates[i].bitrate == 60) in cfg80211_wext_giwname()
51 is_ht |= sband->ht_cap.ht_supported; in cfg80211_wext_giwname()
219 struct ieee80211_supported_band *sband; in cfg80211_wext_giwrange() local
221 sband = wdev->wiphy->bands[band]; in cfg80211_wext_giwrange()
223 if (!sband) in cfg80211_wext_giwrange()
226 for (i = 0; i < sband->n_channels && c < IW_MAX_FREQUENCIES; i++) { in cfg80211_wext_giwrange()
227 struct ieee80211_channel *chan = &sband->channels[i]; in cfg80211_wext_giwrange()
1229 struct ieee80211_supported_band *sband; in cfg80211_wext_siwrate() local
1249 sband = wdev->wiphy->bands[band]; in cfg80211_wext_siwrate()
1250 if (sband == NULL) in cfg80211_wext_siwrate()
1252 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()
1253 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()