Lines Matching refs:chandef

1353 					 struct cfg80211_chan_def *chandef,  in ieee80211_build_preq_ies_band()  argument
1373 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_build_preq_ies_band()
1374 shift = ieee80211_chandef_get_shift(chandef); in ieee80211_build_preq_ies_band()
1425 if (chandef->chan && sband->band == IEEE80211_BAND_2GHZ) { in ieee80211_build_preq_ies_band()
1431 chandef->chan->center_freq); in ieee80211_build_preq_ies_band()
1522 struct cfg80211_chan_def *chandef) in ieee80211_build_preq_ies() argument
1536 chandef, in ieee80211_build_preq_ies()
1568 struct cfg80211_chan_def chandef; in ieee80211_build_probe_req() local
1580 chandef.width = sdata->vif.bss_conf.chandef.width; in ieee80211_build_probe_req()
1582 chandef.chan = NULL; in ieee80211_build_probe_req()
1584 chandef.chan = chan; in ieee80211_build_probe_req()
1595 rate_masks, &chandef); in ieee80211_build_probe_req()
1640 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates()
2307 const struct cfg80211_chan_def *chandef, in ieee80211_ie_build_ht_oper() argument
2316 chandef->chan->center_freq); in ieee80211_ie_build_ht_oper()
2317 switch (chandef->width) { in ieee80211_ie_build_ht_oper()
2322 if (chandef->center_freq1 > chandef->chan->center_freq) in ieee80211_ie_build_ht_oper()
2332 chandef->width != NL80211_CHAN_WIDTH_20_NOHT && in ieee80211_ie_build_ht_oper()
2333 chandef->width != NL80211_CHAN_WIDTH_20) in ieee80211_ie_build_ht_oper()
2348 const struct cfg80211_chan_def *chandef) in ieee80211_ie_build_vht_oper() argument
2356 chandef->center_freq1); in ieee80211_ie_build_vht_oper()
2357 if (chandef->center_freq2) in ieee80211_ie_build_vht_oper()
2359 ieee80211_frequency_to_channel(chandef->center_freq2); in ieee80211_ie_build_vht_oper()
2361 switch (chandef->width) { in ieee80211_ie_build_vht_oper()
2384 struct cfg80211_chan_def *chandef) in ieee80211_ht_oper_to_chandef() argument
2389 cfg80211_chandef_create(chandef, control_chan, in ieee80211_ht_oper_to_chandef()
2408 cfg80211_chandef_create(chandef, control_chan, channel_type); in ieee80211_ht_oper_to_chandef()
2413 struct cfg80211_chan_def *chandef) in ieee80211_vht_oper_to_chandef() argument
2418 chandef->chan = control_chan; in ieee80211_vht_oper_to_chandef()
2424 chandef->width = NL80211_CHAN_WIDTH_80; in ieee80211_vht_oper_to_chandef()
2427 chandef->width = NL80211_CHAN_WIDTH_160; in ieee80211_vht_oper_to_chandef()
2430 chandef->width = NL80211_CHAN_WIDTH_80P80; in ieee80211_vht_oper_to_chandef()
2436 chandef->center_freq1 = in ieee80211_vht_oper_to_chandef()
2439 chandef->center_freq2 = in ieee80211_vht_oper_to_chandef()
2444 int ieee80211_parse_bitrates(struct cfg80211_chan_def *chandef, in ieee80211_parse_bitrates() argument
2448 u32 rate_flags = ieee80211_chandef_rate_flags(chandef); in ieee80211_parse_bitrates()
2449 int shift = ieee80211_chandef_get_shift(chandef); in ieee80211_parse_bitrates()
2486 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_add_srates_ie()
2530 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_add_ext_srates_ie()
2684 struct cfg80211_chan_def chandef; in ieee80211_dfs_cac_cancel() local
2696 chandef = sdata->vif.bss_conf.chandef; in ieee80211_dfs_cac_cancel()
2699 &chandef, in ieee80211_dfs_cac_cancel()
2712 struct cfg80211_chan_def chandef = local->hw.conf.chandef; in ieee80211_dfs_radar_detected_work() local
2722 chandef = ctx->conf.def; in ieee80211_dfs_radar_detected_work()
2732 cfg80211_radar_event(local->hw.wiphy, &chandef, GFP_KERNEL); in ieee80211_dfs_radar_detected_work()
2872 freq = csa_settings->chandef.chan->center_freq; in ieee80211_send_action_csa()
2876 if (csa_settings->chandef.width == NL80211_CHAN_WIDTH_40) { in ieee80211_send_action_csa()
2882 ch_type = cfg80211_get_chandef_type(&csa_settings->chandef); in ieee80211_send_action_csa()
3190 radar_detect |= BIT(sdata->vif.bss_conf.chandef.width); in ieee80211_chanctx_radar_detect()
3196 const struct cfg80211_chan_def *chandef, in ieee80211_check_combinations() argument
3213 if (WARN_ON(chandef && chanmode == IEEE80211_CHANCTX_SHARED && in ieee80211_check_combinations()
3214 !chandef->chan)) in ieee80211_check_combinations()
3217 if (chandef) in ieee80211_check_combinations()
3243 if (chandef && chanmode == IEEE80211_CHANCTX_SHARED && in ieee80211_check_combinations()
3244 cfg80211_chandef_compatible(chandef, in ieee80211_check_combinations()