Lines Matching refs:sband
317 struct ieee80211_supported_band *sband; in mwifiex_get_cfp() local
325 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_cfp()
327 sband = priv->wdev.wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_cfp()
329 if (!sband) { in mwifiex_get_cfp()
336 for (i = 0; i < sband->n_channels; i++) { in mwifiex_get_cfp()
337 ch = &sband->channels[i]; in mwifiex_get_cfp()
352 if (i == sband->n_channels) { in mwifiex_get_cfp()
398 struct ieee80211_supported_band *sband; in mwifiex_get_rates_from_cfg80211() local
402 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211()
403 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211()
407 sband = wiphy->bands[IEEE80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
408 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211()
414 for (i = 0; i < sband->n_bitrates; i++) { in mwifiex_get_rates_from_cfg80211()
417 rates[num_rates++] = (u8)(sband->bitrates[i].bitrate / 5); in mwifiex_get_rates_from_cfg80211()