Lines Matching refs:sband

65 	struct ieee80211_supported_band *sband;  in mesh_matches_local()  local
87 sband = ieee80211_get_sband(sdata); in mesh_matches_local()
88 if (!sband) in mesh_matches_local()
91 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local()
420 struct ieee80211_supported_band *sband; in mesh_add_ht_cap_ie() local
423 sband = ieee80211_get_sband(sdata); in mesh_add_ht_cap_ie()
424 if (!sband) in mesh_add_ht_cap_ie()
428 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_ht_cap_ie()
431 if (!sband->ht_cap.ht_supported || in mesh_add_ht_cap_ie()
441 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap); in mesh_add_ht_cap_ie()
452 struct ieee80211_supported_band *sband; in mesh_add_ht_oper_ie() local
465 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie()
466 ht_cap = &sband->ht_cap; in mesh_add_ht_oper_ie()
469 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_ht_oper_ie()
492 struct ieee80211_supported_band *sband; in mesh_add_vht_cap_ie() local
495 sband = ieee80211_get_sband(sdata); in mesh_add_vht_cap_ie()
496 if (!sband) in mesh_add_vht_cap_ie()
500 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_vht_cap_ie()
503 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie()
513 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie()
524 struct ieee80211_supported_band *sband; in mesh_add_vht_oper_ie() local
537 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_vht_oper_ie()
538 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie()
541 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_vht_oper_ie()
564 struct ieee80211_supported_band *sband; in mesh_add_he_cap_ie() local
567 sband = ieee80211_get_sband(sdata); in mesh_add_he_cap_ie()
568 if (!sband) in mesh_add_he_cap_ie()
571 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_cap_ie()
592 struct ieee80211_supported_band *sband; in mesh_add_he_oper_ie() local
596 sband = ieee80211_get_sband(sdata); in mesh_add_he_oper_ie()
597 if (!sband) in mesh_add_he_oper_ie()
600 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_oper_ie()
623 struct ieee80211_supported_band *sband; in mesh_add_he_6ghz_cap_ie() local
626 sband = ieee80211_get_sband(sdata); in mesh_add_he_6ghz_cap_ie()
627 if (!sband) in mesh_add_he_6ghz_cap_ie()
630 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
1099 struct ieee80211_supported_band *sband; in ieee80211_mesh_process_chnswitch() local
1105 sband = ieee80211_get_sband(sdata); in ieee80211_mesh_process_chnswitch()
1106 if (!sband) in ieee80211_mesh_process_chnswitch()
1129 err = ieee80211_parse_ch_switch_ie(sdata, elems, sband->band, in ieee80211_mesh_process_chnswitch()