Searched refs:cs_freq_params (Results 1 – 11 of 11) sorted by relevance
172 if (!hapd->cs_freq_params.channel || in hostapd_eid_wb_chsw_wrapper()173 !hapd->cs_freq_params.vht_enabled) in hostapd_eid_wb_chsw_wrapper()177 switch (hapd->cs_freq_params.bandwidth) { in hostapd_eid_wb_chsw_wrapper()183 if (!hapd->cs_freq_params.center_freq2) in hostapd_eid_wb_chsw_wrapper()196 freq1 = hapd->cs_freq_params.center_freq1 ? in hostapd_eid_wb_chsw_wrapper()197 hapd->cs_freq_params.center_freq1 : in hostapd_eid_wb_chsw_wrapper()198 hapd->cs_freq_params.freq; in hostapd_eid_wb_chsw_wrapper()203 if (hapd->cs_freq_params.center_freq2 && in hostapd_eid_wb_chsw_wrapper()204 ieee80211_freq_to_chan(hapd->cs_freq_params.center_freq2, in hostapd_eid_wb_chsw_wrapper()
115 if (!hapd->cs_freq_params.channel || in hostapd_eid_secondary_channel()116 !hapd->cs_freq_params.sec_channel_offset) in hostapd_eid_secondary_channel()119 if (hapd->cs_freq_params.sec_channel_offset == -1) in hostapd_eid_secondary_channel()121 else if (hapd->cs_freq_params.sec_channel_offset == 1) in hostapd_eid_secondary_channel()
311 if (!hapd->cs_freq_params.channel) in hostapd_eid_csa()317 *eid++ = hapd->cs_freq_params.channel; in hostapd_eid_csa()326 if (!hapd->cs_freq_params.channel || !hapd->iface->cs_oper_class) in hostapd_eid_ecsa()333 *eid++ = hapd->cs_freq_params.channel; in hostapd_eid_ecsa()
278 struct hostapd_freq_params cs_freq_params; member
886 freq == hapd->cs_freq_params.freq) { in hostapd_event_ch_switch()1516 &hapd->cs_freq_params); in hostapd_event_iface_unavailable()
3407 hapd->cs_freq_params = settings->freq_params; in hostapd_fill_csa_settings()3428 os_memset(&hapd->cs_freq_params, 0, sizeof(hapd->cs_freq_params)); in hostapd_cleanup_cs_params()
374 if (!hapd->cs_freq_params.channel) in hostapd_eid_csa()380 *eid++ = hapd->cs_freq_params.channel; in hostapd_eid_csa()389 if (!hapd->cs_freq_params.channel || !hapd->iface->cs_oper_class) in hostapd_eid_ecsa()396 *eid++ = hapd->cs_freq_params.channel; in hostapd_eid_ecsa()
288 struct hostapd_freq_params cs_freq_params; member
7026 if (!hapd->cs_freq_params.channel || in hostapd_eid_wb_chsw_wrapper()7027 (!hapd->cs_freq_params.vht_enabled && in hostapd_eid_wb_chsw_wrapper()7028 !hapd->cs_freq_params.he_enabled)) in hostapd_eid_wb_chsw_wrapper()7032 switch (hapd->cs_freq_params.bandwidth) { in hostapd_eid_wb_chsw_wrapper()7038 if (!hapd->cs_freq_params.center_freq2) in hostapd_eid_wb_chsw_wrapper()7051 freq1 = hapd->cs_freq_params.center_freq1 ? in hostapd_eid_wb_chsw_wrapper()7052 hapd->cs_freq_params.center_freq1 : in hostapd_eid_wb_chsw_wrapper()7053 hapd->cs_freq_params.freq; in hostapd_eid_wb_chsw_wrapper()7058 if (hapd->cs_freq_params.center_freq2 && in hostapd_eid_wb_chsw_wrapper()7059 ieee80211_freq_to_chan(hapd->cs_freq_params.center_freq2, in hostapd_eid_wb_chsw_wrapper()
993 freq == hapd->cs_freq_params.freq) { in hostapd_event_ch_switch()1689 &hapd->cs_freq_params); in hostapd_event_iface_unavailable()
3574 hapd->cs_freq_params = settings->freq_params; in hostapd_fill_csa_settings()3595 os_memset(&hapd->cs_freq_params, 0, sizeof(hapd->cs_freq_params)); in hostapd_cleanup_cs_params()