Lines Matching refs:sband

68 	struct ieee80211_supported_band *sband;  in mesh_matches_local()  local
90 sband = ieee80211_get_sband(sdata); in mesh_matches_local()
91 if (!sband) in mesh_matches_local()
94 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local()
427 struct ieee80211_supported_band *sband; in mesh_add_ht_cap_ie() local
430 sband = ieee80211_get_sband(sdata); in mesh_add_ht_cap_ie()
431 if (!sband) in mesh_add_ht_cap_ie()
435 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_ht_cap_ie()
438 if (!sband->ht_cap.ht_supported || in mesh_add_ht_cap_ie()
448 ieee80211_ie_build_ht_cap(pos, &sband->ht_cap, sband->ht_cap.cap); in mesh_add_ht_cap_ie()
459 struct ieee80211_supported_band *sband; in mesh_add_ht_oper_ie() local
472 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_ht_oper_ie()
473 ht_cap = &sband->ht_cap; in mesh_add_ht_oper_ie()
476 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_ht_oper_ie()
499 struct ieee80211_supported_band *sband; in mesh_add_vht_cap_ie() local
502 sband = ieee80211_get_sband(sdata); in mesh_add_vht_cap_ie()
503 if (!sband) in mesh_add_vht_cap_ie()
507 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_vht_cap_ie()
510 if (!sband->vht_cap.vht_supported || in mesh_add_vht_cap_ie()
520 ieee80211_ie_build_vht_cap(pos, &sband->vht_cap, sband->vht_cap.cap); in mesh_add_vht_cap_ie()
531 struct ieee80211_supported_band *sband; in mesh_add_vht_oper_ie() local
544 sband = local->hw.wiphy->bands[channel->band]; in mesh_add_vht_oper_ie()
545 vht_cap = &sband->vht_cap; in mesh_add_vht_oper_ie()
548 if (sband->band == NL80211_BAND_6GHZ) in mesh_add_vht_oper_ie()
570 struct ieee80211_supported_band *sband; in mesh_add_he_cap_ie() local
572 sband = ieee80211_get_sband(sdata); in mesh_add_he_cap_ie()
573 if (!sband) in mesh_add_he_cap_ie()
581 return ieee80211_put_he_cap(skb, sdata, sband, NULL); in mesh_add_he_cap_ie()
588 struct ieee80211_supported_band *sband; in mesh_add_he_oper_ie() local
592 sband = ieee80211_get_sband(sdata); in mesh_add_he_oper_ie()
593 if (!sband) in mesh_add_he_oper_ie()
596 he_cap = ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_he_oper_ie()
619 struct ieee80211_supported_band *sband; in mesh_add_he_6ghz_cap_ie() local
622 sband = ieee80211_get_sband(sdata); in mesh_add_he_6ghz_cap_ie()
623 if (!sband) in mesh_add_he_6ghz_cap_ie()
626 iftd = ieee80211_get_sband_iftype_data(sband, in mesh_add_he_6ghz_cap_ie()
639 struct ieee80211_supported_band *sband; in mesh_add_eht_cap_ie() local
641 sband = ieee80211_get_sband(sdata); in mesh_add_eht_cap_ie()
642 if (!sband) in mesh_add_eht_cap_ie()
650 return ieee80211_put_eht_cap(skb, sdata, sband, NULL); in mesh_add_eht_cap_ie()
656 struct ieee80211_supported_band *sband; in mesh_add_eht_oper_ie() local
660 sband = ieee80211_get_sband(sdata); in mesh_add_eht_oper_ie()
661 if (!sband) in mesh_add_eht_oper_ie()
664 eht_cap = ieee80211_get_eht_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in mesh_add_eht_oper_ie()
717 struct ieee80211_supported_band *sband; in ieee80211_mesh_update_bss_params() local
721 sband = ieee80211_get_sband(sdata); in ieee80211_mesh_update_bss_params()
722 if (!sband) in ieee80211_mesh_update_bss_params()
725 if (!ieee80211_get_he_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT) || in ieee80211_mesh_update_bss_params()
743 !!ieee80211_get_eht_iftype_cap(sband, NL80211_IFTYPE_MESH_POINT); in ieee80211_mesh_update_bss_params()
954 const struct ieee80211_supported_band *sband; in ieee80211_mesh_build_beacon() local
963 sband = ieee80211_get_sband(sdata); in ieee80211_mesh_build_beacon()
1092 if (ieee80211_put_srates_elem(skb, sband, in ieee80211_mesh_build_beacon()
1105 if (ieee80211_put_srates_elem(skb, sband, in ieee80211_mesh_build_beacon()
1280 struct ieee80211_supported_band *sband; in ieee80211_mesh_process_chnswitch() local
1287 sband = ieee80211_get_sband(sdata); in ieee80211_mesh_process_chnswitch()
1288 if (!sband) in ieee80211_mesh_process_chnswitch()
1313 err = ieee80211_parse_ch_switch_ie(sdata, elems, sband->band, in ieee80211_mesh_process_chnswitch()