Lines Matching refs:chandef

1303 					 struct cfg80211_chan_def *chandef,  in ieee80211_build_preq_ies_band()  argument
1323 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_build_preq_ies_band()
1324 shift = ieee80211_chandef_get_shift(chandef); in ieee80211_build_preq_ies_band()
1375 if (chandef->chan && sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_build_preq_ies_band()
1381 chandef->chan->center_freq); in ieee80211_build_preq_ies_band()
1472 struct cfg80211_chan_def *chandef) in ieee80211_build_preq_ies() argument
1486 chandef, in ieee80211_build_preq_ies()
1518 struct cfg80211_chan_def chandef; in ieee80211_build_probe_req() local
1530 chandef.width = sdata->vif.bss_conf.chandef.width; in ieee80211_build_probe_req()
1532 chandef.chan = NULL; in ieee80211_build_probe_req()
1534 chandef.chan = chan; in ieee80211_build_probe_req()
1545 rate_masks, &chandef); in ieee80211_build_probe_req()
1590 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates()
2300 const struct cfg80211_chan_def *chandef, in ieee80211_ie_build_ht_oper() argument
2309 chandef->chan->center_freq); in ieee80211_ie_build_ht_oper()
2310 switch (chandef->width) { in ieee80211_ie_build_ht_oper()
2315 if (chandef->center_freq1 > chandef->chan->center_freq) in ieee80211_ie_build_ht_oper()
2325 chandef->width != NL80211_CHAN_WIDTH_20_NOHT && in ieee80211_ie_build_ht_oper()
2326 chandef->width != NL80211_CHAN_WIDTH_20) in ieee80211_ie_build_ht_oper()
2344 const struct cfg80211_chan_def *chandef) in ieee80211_ie_build_vht_oper() argument
2352 chandef->center_freq1); in ieee80211_ie_build_vht_oper()
2353 if (chandef->center_freq2) in ieee80211_ie_build_vht_oper()
2355 ieee80211_frequency_to_channel(chandef->center_freq2); in ieee80211_ie_build_vht_oper()
2359 switch (chandef->width) { in ieee80211_ie_build_vht_oper()
2382 struct cfg80211_chan_def *chandef) in ieee80211_ht_oper_to_chandef() argument
2387 cfg80211_chandef_create(chandef, control_chan, in ieee80211_ht_oper_to_chandef()
2406 cfg80211_chandef_create(chandef, control_chan, channel_type); in ieee80211_ht_oper_to_chandef()
2411 struct cfg80211_chan_def *chandef) in ieee80211_vht_oper_to_chandef() argument
2416 chandef->chan = control_chan; in ieee80211_vht_oper_to_chandef()
2422 chandef->width = NL80211_CHAN_WIDTH_80; in ieee80211_vht_oper_to_chandef()
2425 chandef->width = NL80211_CHAN_WIDTH_160; in ieee80211_vht_oper_to_chandef()
2428 chandef->width = NL80211_CHAN_WIDTH_80P80; in ieee80211_vht_oper_to_chandef()
2434 chandef->center_freq1 = in ieee80211_vht_oper_to_chandef()
2437 chandef->center_freq2 = in ieee80211_vht_oper_to_chandef()
2442 int ieee80211_parse_bitrates(struct cfg80211_chan_def *chandef, in ieee80211_parse_bitrates() argument
2446 u32 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_parse_bitrates()
2447 int shift = ieee80211_chandef_get_shift(chandef); in ieee80211_parse_bitrates()
2484 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_add_srates_ie()
2528 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_add_ext_srates_ie()
2682 struct cfg80211_chan_def chandef; in ieee80211_dfs_cac_cancel() local
2694 chandef = sdata->vif.bss_conf.chandef; in ieee80211_dfs_cac_cancel()
2697 &chandef, in ieee80211_dfs_cac_cancel()
2710 struct cfg80211_chan_def chandef = local->hw.conf.chandef; in ieee80211_dfs_radar_detected_work() local
2720 chandef = ctx->conf.def; in ieee80211_dfs_radar_detected_work()
2730 cfg80211_radar_event(local->hw.wiphy, &chandef, GFP_KERNEL); in ieee80211_dfs_radar_detected_work()
2870 freq = csa_settings->chandef.chan->center_freq; in ieee80211_send_action_csa()
2874 if (csa_settings->chandef.width == NL80211_CHAN_WIDTH_40) { in ieee80211_send_action_csa()
2880 ch_type = cfg80211_get_chandef_type(&csa_settings->chandef); in ieee80211_send_action_csa()
3188 radar_detect |= BIT(sdata->vif.bss_conf.chandef.width); in ieee80211_chanctx_radar_detect()
3194 const struct cfg80211_chan_def *chandef, in ieee80211_check_combinations() argument
3211 if (WARN_ON(chandef && chanmode == IEEE80211_CHANCTX_SHARED && in ieee80211_check_combinations()
3212 !chandef->chan)) in ieee80211_check_combinations()
3215 if (chandef) in ieee80211_check_combinations()
3241 if (chandef && chanmode == IEEE80211_CHANCTX_SHARED && in ieee80211_check_combinations()
3242 cfg80211_chandef_compatible(chandef, in ieee80211_check_combinations()