• Home
  • Raw
  • Download

Lines Matching refs:freq_params

4466 	switch (settings->freq_params.bandwidth) {  in hostapd_fill_csa_settings()
4468 if (settings->freq_params.center_freq2) in hostapd_fill_csa_settings()
4485 settings->freq_params.freq, in hostapd_fill_csa_settings()
4486 settings->freq_params.sec_channel_offset, in hostapd_fill_csa_settings()
4492 settings->freq_params.freq, in hostapd_fill_csa_settings()
4493 settings->freq_params.sec_channel_offset, in hostapd_fill_csa_settings()
4494 settings->freq_params.vht_enabled, in hostapd_fill_csa_settings()
4495 settings->freq_params.he_enabled, in hostapd_fill_csa_settings()
4496 settings->freq_params.eht_enabled); in hostapd_fill_csa_settings()
4500 settings->freq_params.channel = chan; in hostapd_fill_csa_settings()
4503 &settings->freq_params, in hostapd_fill_csa_settings()
4518 hapd->cs_freq_params = settings->freq_params; in hostapd_fill_csa_settings()
4561 struct hostapd_freq_params *freq_params) in hostapd_chan_switch_config() argument
4563 if (freq_params->eht_enabled) in hostapd_chan_switch_config()
4568 if (freq_params->he_enabled) in hostapd_chan_switch_config()
4573 if (freq_params->vht_enabled) in hostapd_chan_switch_config()
4624 if (!settings->freq_params.channel) { in hostapd_force_channel_switch()
4626 settings->freq_params.channel = hostapd_hw_get_channel( in hostapd_force_channel_switch()
4627 iface->bss[0], settings->freq_params.freq); in hostapd_force_channel_switch()
4628 if (!settings->freq_params.channel) in hostapd_force_channel_switch()
4638 hostapd_chan_switch_config(iface->bss[0], &settings->freq_params); in hostapd_force_channel_switch()
4640 &settings->freq_params, NULL); in hostapd_force_channel_switch()
4657 const struct hostapd_freq_params *freq_params) in hostapd_switch_channel_fallback() argument
4665 if (freq_params->center_freq1) in hostapd_switch_channel_fallback()
4666 ieee80211_freq_to_chan(freq_params->center_freq1, &seg0_idx); in hostapd_switch_channel_fallback()
4667 if (freq_params->center_freq2) in hostapd_switch_channel_fallback()
4668 ieee80211_freq_to_chan(freq_params->center_freq2, &seg1_idx); in hostapd_switch_channel_fallback()
4670 switch (freq_params->bandwidth) { in hostapd_switch_channel_fallback()
4677 if (freq_params->center_freq2) { in hostapd_switch_channel_fallback()
4694 freq_params->bandwidth); in hostapd_switch_channel_fallback()
4698 iface->freq = freq_params->freq; in hostapd_switch_channel_fallback()
4699 iface->conf->channel = freq_params->channel; in hostapd_switch_channel_fallback()
4700 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
4701 if (ieee80211_freq_to_channel_ext(freq_params->freq, in hostapd_switch_channel_fallback()
4702 freq_params->sec_channel_offset, bw, in hostapd_switch_channel_fallback()
4705 chan != freq_params->channel) in hostapd_switch_channel_fallback()
4707 freq_params->channel, chan); in hostapd_switch_channel_fallback()
4713 iface->conf->ieee80211n = freq_params->ht_enabled; in hostapd_switch_channel_fallback()
4714 iface->conf->ieee80211ac = freq_params->vht_enabled; in hostapd_switch_channel_fallback()
4715 iface->conf->ieee80211ax = freq_params->he_enabled; in hostapd_switch_channel_fallback()
4716 iface->conf->ieee80211be = freq_params->eht_enabled; in hostapd_switch_channel_fallback()