Lines Matching refs:sband
337 const struct ieee80211_supported_band *sband; in iwl_get_channels_for_scan() local
344 sband = iwl_get_hw_mode(priv, band); in iwl_get_channels_for_scan()
345 if (!sband) in iwl_get_channels_for_scan()
348 channels = sband->channels; in iwl_get_channels_for_scan()
356 for (i = 0, added = 0; i < sband->n_channels; i++) { in iwl_get_channels_for_scan()
503 static void iwl_ht_cap_to_ie(const struct ieee80211_supported_band *sband, in iwl_ht_cap_to_ie() argument
508 if (!sband || !sband->ht_cap.ht_supported) in iwl_ht_cap_to_ie()
517 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in iwl_ht_cap_to_ie()
518 memcpy(&ht_cap->mcs, &sband->ht_cap.mcs, 16); in iwl_ht_cap_to_ie()
520 (sband->ht_cap.ampdu_factor & IEEE80211_HT_AMPDU_PARM_FACTOR) | in iwl_ht_cap_to_ie()
521 ((sband->ht_cap.ampdu_density << 2) & in iwl_ht_cap_to_ie()
538 const struct ieee80211_supported_band *sband = in iwl_fill_probe_req() local
621 iwl_ht_cap_to_ie(sband, pos, &left); in iwl_fill_probe_req()