Searched refs:secondary_channel (Results 1 – 12 of 12) sorted by relevance
28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()199 iface->conf->secondary_channel && in dfs_find_channel()224 int secondary_channel, in dfs_adjust_vht_center_freq() argument238 if (secondary_channel == 1) in dfs_adjust_vht_center_freq()240 else if (secondary_channel == -1) in dfs_adjust_vht_center_freq()275 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1) in dfs_get_start_chan_idx()337 iface->conf->secondary_channel, in dfs_get_start_chan_idx()424 int *secondary_channel, in dfs_get_valid_channel() argument436 *secondary_channel = 0; in dfs_get_valid_channel()458 if (iface->conf->secondary_channel) in dfs_get_valid_channel()[all …]
229 if (!iface->conf->secondary_channel) in ieee80211n_allowed_ht40_channel_pair()233 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair()242 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec()244 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec()247 iface->conf->secondary_channel = 1; in ieee80211n_switch_pri_sec()259 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_5g()276 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4()306 iface->secondary_ch = iface->conf->secondary_channel; in ieee80211n_check_scan()312 iface->conf->secondary_channel * 4); in ieee80211n_check_scan()313 iface->conf->secondary_channel = 0; in ieee80211n_check_scan()[all …]
98 if (hapd->iconf->secondary_channel == 1) in hostapd_eid_ht_operation()101 if (hapd->iconf->secondary_channel == -1) in hostapd_eid_ht_operation()157 else if (iface->conf->secondary_channel && iface->num_sta_ht_20mhz) in hostapd_ht_operation_update()189 if (iface->conf->secondary_channel > 0) in is_40_allowed()287 if (iface->conf->secondary_channel) { in hostapd_2040_coex_action()292 iface->conf->secondary_channel = 0; in hostapd_2040_coex_action()358 if (iface->conf->secondary_channel && in ht40_intolerant_add()360 iface->conf->secondary_channel = 0; in ht40_intolerant_add()488 iface->conf->secondary_channel = iface->secondary_ch; in ap_ht2040_timeout()
584 iface->conf->secondary_channel == -1) { in acs_find_ideal_chan()590 iface->conf->secondary_channel) in acs_find_ideal_chan()621 iface->conf->secondary_channel && in acs_find_ideal_chan()754 offset = 2 * iface->conf->secondary_channel; in acs_adjust_vht_center_freq()
493 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch()574 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected()576 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected()578 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
183 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()1442 hapd->iconf->secondary_channel, in hostapd_setup_interface_complete()2574 old_params->sec_channel_offset = conf->secondary_channel; in hostapd_change_config_freq()2579 conf->secondary_channel = params->sec_channel_offset; in hostapd_change_config_freq()2708 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
236 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
621 int secondary_channel; member
477 iface->conf->secondary_channel, in hostapd_ctrl_iface_status()
1068 iconf->secondary_channel, in ieee802_11_set_beacon()
56 if (!conf->secondary_channel) in wpas_conf_ap_vht()70 channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()73 conf->channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()118 conf->secondary_channel = in wpa_supplicant_conf_ap_ht()121 if (conf->secondary_channel) in wpa_supplicant_conf_ap_ht()
1078 conf->secondary_channel = -1; in hostapd_config_ht_capab()1082 conf->secondary_channel = 1; in hostapd_config_ht_capab()