Lines Matching refs:chandef
97 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, in mesh_matches_local()
109 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local()
432 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
433 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
434 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
473 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
474 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
475 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
482 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, in mesh_add_ht_oper_ie()
504 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie()
505 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_vht_cap_ie()
506 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_vht_cap_ie()
545 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_oper_ie()
546 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_vht_oper_ie()
547 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_vht_oper_ie()
555 &sdata->vif.bss_conf.chandef); in mesh_add_vht_oper_ie()
574 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_he_cap_ie()
575 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_he_cap_ie()
576 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_he_cap_ie()
602 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_he_oper_ie()
603 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_he_oper_ie()
604 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_he_oper_ie()
608 if (sdata->vif.bss_conf.chandef.chan->band == NL80211_BAND_6GHZ) in mesh_add_he_oper_ie()
615 ieee80211_ie_build_he_oper(pos, &sdata->vif.bss_conf.chandef); in mesh_add_he_oper_ie()
683 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in ieee80211_mesh_update_bss_params()
684 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in ieee80211_mesh_update_bss_params()
685 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in ieee80211_mesh_update_bss_params()
887 struct cfg80211_chan_def *chandef; in ieee80211_mesh_build_beacon() local
896 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
915 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
922 ct = cfg80211_get_chandef_type(&csa->settings.chandef); in ieee80211_mesh_build_beacon()
939 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
940 ieee80211_ie_build_wide_bw_cs(pos, chandef); in ieee80211_mesh_build_beacon()
1116 &sdata->vif.bss_conf.chandef, in ieee80211_mesh_csa_mark_radar()
1120 &sdata->vif.bss_conf.chandef, GFP_ATOMIC); in ieee80211_mesh_csa_mark_radar()
1141 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_mesh_process_chnswitch()
1175 params.chandef = csa_ie.chandef; in ieee80211_mesh_process_chnswitch()
1178 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1180 !cfg80211_reg_can_beacon(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1185 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1186 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1187 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1188 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1193 ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1201 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1202 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1203 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1204 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1210 if (cfg80211_chandef_identical(¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1211 &sdata->vif.bss_conf.chandef)) { in ieee80211_mesh_process_chnswitch()
1219 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1394 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()