Lines Matching refs:chandef
96 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, in mesh_matches_local()
103 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local()
419 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
420 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
421 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
456 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
457 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
458 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
465 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, in mesh_add_ht_oper_ie()
483 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie()
484 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_vht_cap_ie()
485 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_vht_cap_ie()
520 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_oper_ie()
521 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_vht_oper_ie()
522 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_vht_oper_ie()
530 &sdata->vif.bss_conf.chandef); in mesh_add_vht_oper_ie()
549 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_he_cap_ie()
550 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_he_cap_ie()
551 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_he_cap_ie()
576 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_he_oper_ie()
577 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_he_oper_ie()
578 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_he_oper_ie()
826 struct cfg80211_chan_def *chandef; in ieee80211_mesh_build_beacon() local
835 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
854 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
861 ct = cfg80211_get_chandef_type(&csa->settings.chandef); in ieee80211_mesh_build_beacon()
878 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
879 ieee80211_ie_build_wide_bw_cs(pos, chandef); in ieee80211_mesh_build_beacon()
1053 &sdata->vif.bss_conf.chandef, in ieee80211_mesh_csa_mark_radar()
1057 &sdata->vif.bss_conf.chandef, GFP_ATOMIC); in ieee80211_mesh_csa_mark_radar()
1078 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_mesh_process_chnswitch()
1107 params.chandef = csa_ie.chandef; in ieee80211_mesh_process_chnswitch()
1110 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1112 !cfg80211_reg_can_beacon(sdata->local->hw.wiphy, ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1117 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1118 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1119 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1120 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1125 ¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1133 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1134 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1135 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1136 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1142 if (cfg80211_chandef_identical(¶ms.chandef, in ieee80211_mesh_process_chnswitch()
1143 &sdata->vif.bss_conf.chandef)) { in ieee80211_mesh_process_chnswitch()
1151 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1317 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()