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()
857 struct cfg80211_chan_def *chandef; in ieee80211_mesh_build_beacon() local
866 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
885 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
892 ct = cfg80211_get_chandef_type(&csa->settings.chandef); in ieee80211_mesh_build_beacon()
909 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
910 ieee80211_ie_build_wide_bw_cs(pos, chandef); in ieee80211_mesh_build_beacon()
1085 &sdata->vif.bss_conf.chandef, in ieee80211_mesh_csa_mark_radar()
1089 &sdata->vif.bss_conf.chandef, GFP_ATOMIC); in ieee80211_mesh_csa_mark_radar()
1110 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_mesh_process_chnswitch()
1144 params.chandef = csa_ie.chandef; in ieee80211_mesh_process_chnswitch()
1147 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1149 !cfg80211_reg_can_beacon(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1154 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1155 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1156 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1157 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1162 ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1170 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1171 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1172 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1173 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1179 if (cfg80211_chandef_identical(¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1180 &sdata->vif.bss_conf.chandef)) { in ieee80211_mesh_process_chnswitch()
1188 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1354 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()