Lines Matching refs:freq_params
4352 switch (settings->freq_params.bandwidth) { in hostapd_fill_csa_settings()
4354 if (settings->freq_params.center_freq2) in hostapd_fill_csa_settings()
4371 settings->freq_params.freq, in hostapd_fill_csa_settings()
4372 settings->freq_params.sec_channel_offset, in hostapd_fill_csa_settings()
4378 settings->freq_params.freq, in hostapd_fill_csa_settings()
4379 settings->freq_params.sec_channel_offset, in hostapd_fill_csa_settings()
4380 settings->freq_params.vht_enabled, in hostapd_fill_csa_settings()
4381 settings->freq_params.he_enabled, in hostapd_fill_csa_settings()
4382 settings->freq_params.eht_enabled); in hostapd_fill_csa_settings()
4386 settings->freq_params.channel = chan; in hostapd_fill_csa_settings()
4389 &settings->freq_params, in hostapd_fill_csa_settings()
4411 hapd->cs_freq_params = settings->freq_params; in hostapd_fill_csa_settings()
4454 struct hostapd_freq_params *freq_params) in hostapd_chan_switch_config() argument
4456 if (freq_params->eht_enabled) in hostapd_chan_switch_config()
4461 if (freq_params->he_enabled) in hostapd_chan_switch_config()
4466 if (freq_params->vht_enabled) in hostapd_chan_switch_config()
4514 const struct hostapd_freq_params *freq_params) in hostapd_switch_channel_fallback() argument
4522 if (freq_params->center_freq1) in hostapd_switch_channel_fallback()
4523 ieee80211_freq_to_chan(freq_params->center_freq1, &seg0_idx); in hostapd_switch_channel_fallback()
4524 if (freq_params->center_freq2) in hostapd_switch_channel_fallback()
4525 ieee80211_freq_to_chan(freq_params->center_freq2, &seg1_idx); in hostapd_switch_channel_fallback()
4527 switch (freq_params->bandwidth) { in hostapd_switch_channel_fallback()
4534 if (freq_params->center_freq2) { in hostapd_switch_channel_fallback()
4551 freq_params->bandwidth); in hostapd_switch_channel_fallback()
4555 iface->freq = freq_params->freq; in hostapd_switch_channel_fallback()
4556 iface->conf->channel = freq_params->channel; in hostapd_switch_channel_fallback()
4557 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
4558 if (ieee80211_freq_to_channel_ext(freq_params->freq, in hostapd_switch_channel_fallback()
4559 freq_params->sec_channel_offset, bw, in hostapd_switch_channel_fallback()
4562 chan != freq_params->channel) in hostapd_switch_channel_fallback()
4564 freq_params->channel, chan); in hostapd_switch_channel_fallback()
4570 iface->conf->ieee80211n = freq_params->ht_enabled; in hostapd_switch_channel_fallback()
4571 iface->conf->ieee80211ac = freq_params->vht_enabled; in hostapd_switch_channel_fallback()
4572 iface->conf->ieee80211ax = freq_params->he_enabled; in hostapd_switch_channel_fallback()
4573 iface->conf->ieee80211be = freq_params->eht_enabled; in hostapd_switch_channel_fallback()