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()
805 struct cfg80211_chan_def *chandef; in ieee80211_mesh_build_beacon() local
814 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
833 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
840 ct = cfg80211_get_chandef_type(&csa->settings.chandef); in ieee80211_mesh_build_beacon()
857 chandef = &csa->settings.chandef; in ieee80211_mesh_build_beacon()
858 ieee80211_ie_build_wide_bw_cs(pos, chandef); in ieee80211_mesh_build_beacon()
1031 &sdata->vif.bss_conf.chandef, in ieee80211_mesh_csa_mark_radar()
1035 &sdata->vif.bss_conf.chandef, GFP_ATOMIC); in ieee80211_mesh_csa_mark_radar()
1056 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_mesh_process_chnswitch()
1085 params.chandef = csa_ie.chandef; in ieee80211_mesh_process_chnswitch()
1088 if (!cfg80211_chandef_usable(sdata->local->hw.wiphy, &params.chandef, in ieee80211_mesh_process_chnswitch()
1090 !cfg80211_reg_can_beacon(sdata->local->hw.wiphy, &params.chandef, in ieee80211_mesh_process_chnswitch()
1095 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1096 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1097 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1098 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1103 &params.chandef, in ieee80211_mesh_process_chnswitch()
1111 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1112 params.chandef.width, in ieee80211_mesh_process_chnswitch()
1113 params.chandef.center_freq1, in ieee80211_mesh_process_chnswitch()
1114 params.chandef.center_freq2); in ieee80211_mesh_process_chnswitch()
1120 if (cfg80211_chandef_identical(&params.chandef, in ieee80211_mesh_process_chnswitch()
1121 &sdata->vif.bss_conf.chandef)) { in ieee80211_mesh_process_chnswitch()
1129 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1295 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()