Home
last modified time | relevance | path

Searched refs:secondary_channel (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Ddfs.c305 int secondary_channel, in dfs_adjust_center_freq() argument
534 *secondary_channel = 0; in dfs_get_valid_channel()
567 *secondary_channel = 1; in dfs_get_valid_channel()
569 *secondary_channel = 0; in dfs_get_valid_channel()
981 secondary_channel); in hostapd_dfs_request_channel_switch()
1036 iface->conf->secondary_channel = secondary_channel; in hostapd_dfs_request_channel_switch()
1274 int secondary_channel; in hostapd_dfs_start_channel_switch_cac() local
1306 iface->conf->secondary_channel = secondary_channel; in hostapd_dfs_start_channel_switch_cac()
1368 int secondary_channel; in hostapd_dfs_start_channel_switch() local
1423 iface->conf->secondary_channel = secondary_channel; in hostapd_dfs_start_channel_switch()
[all …]
H A Dhw_features.c283 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec()
287 iface->conf->secondary_channel = 1; in ieee80211n_switch_pri_sec()
369 iface->conf->secondary_channel = 0; in ieee80211n_check_scan()
380 if (iface->conf->secondary_channel && in ieee80211n_check_scan()
390 iface->conf->secondary_channel = 0; in ieee80211n_check_scan()
395 if (iface->conf->secondary_channel) in ieee80211n_check_scan()
398 iface->conf->secondary_channel = 0; in ieee80211n_check_scan()
536 iface->conf->secondary_channel = 0; in ap_ht40_scan_retry()
1040 if (!iface->conf->secondary_channel) in hostapd_is_usable_chans()
1060 iface->conf->secondary_channel = 1; in hostapd_is_usable_chans()
[all …]
H A Dieee802_11_ht.c99 if (hapd->iconf->secondary_channel == 1) in hostapd_eid_ht_operation()
102 if (hapd->iconf->secondary_channel == -1) in hostapd_eid_ht_operation()
158 else if (iface->conf->secondary_channel && iface->num_sta_ht_20mhz) in hostapd_ht_operation_update()
190 if (iface->conf->secondary_channel > 0) in is_40_allowed()
332 if (iface->conf->secondary_channel) { in hostapd_2040_coex_action()
337 iface->conf->secondary_channel = 0; in hostapd_2040_coex_action()
403 if (iface->conf->secondary_channel && in ht40_intolerant_add()
405 iface->conf->secondary_channel = 0; in ht40_intolerant_add()
532 iface->conf->secondary_channel = iface->secondary_ch; in ap_ht2040_timeout()
H A Dacs.c836 int secondary_channel = 1, freq_offset; in acs_find_ideal_chan_mode() local
842 secondary_channel = iface->conf->secondary_channel; in acs_find_ideal_chan_mode()
891 iface->conf->secondary_channel) || in acs_find_ideal_chan_mode()
940 j * secondary_channel * 20); in acs_find_ideal_chan_mode()
1110 iface->conf->secondary_channel) in acs_find_ideal_chan()
1170 if (!iface->conf->secondary_channel || in acs_adjust_secondary()
1179 iface->conf->secondary_channel = 1; in acs_adjust_secondary()
1181 iface->conf->secondary_channel = -1; in acs_adjust_secondary()
1194 if (iface->conf->secondary_channel && in acs_adjust_center_freq()
1197 2 * iface->conf->secondary_channel; in acs_adjust_center_freq()
[all …]
H A Dneighbor_db.c215 if (!hapd->iconf->secondary_channel) in hostapd_get_nr_chan_width()
282 hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
297 10 * hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
H A Dap_list.c235 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
H A Dhostapd.c316 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
2133 if (bw >= 40 && !iface->conf->secondary_channel) { in hostapd_set_6ghz_sec_chan()
2135 iface->conf->secondary_channel = -1; in hostapd_set_6ghz_sec_chan()
2137 iface->conf->secondary_channel = 1; in hostapd_set_6ghz_sec_chan()
2558 hapd->iconf->secondary_channel, in hostapd_setup_interface_complete_sync()
4272 conf->ieee80211be, conf->secondary_channel, in hostapd_change_config_freq()
4326 conf->secondary_channel = params->sec_channel_offset; in hostapd_change_config_freq()
4564 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
H A Ddrv_callbacks.c1262 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch()
1446 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected()
1448 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected()
1450 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
H A Dhostapd.h613 int secondary_channel; member
H A Dap_config.h1112 int secondary_channel; member
H A Dbeacon.c451 hapd->iconf->secondary_channel, in hostapd_eid_supported_op_classes()
1914 if (hapd->iconf->secondary_channel) in hostapd_fils_discovery_cap()
2635 iconf->secondary_channel, in __ieee802_11_set_beacon()
H A Dctrl_iface_ap.c878 iface->conf->secondary_channel : 0, in hostapd_ctrl_iface_status()
H A Dieee802_11.c3058 other->iconf->secondary_channel, in handle_auth()
7147 if (iconf->secondary_channel == 0) { in hostapd_eid_txpower_envelope()
7767 hapd->iconf->secondary_channel, in hostapd_eid_rnr_iface()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dap.c81 if (!conf->secondary_channel) in wpas_conf_ap_vht()
249 conf->secondary_channel = in wpas_conf_ap_he_6ghz()
254 conf->secondary_channel); in wpas_conf_ap_he_6ghz()
367 conf->secondary_channel = ssid->ht40; in wpa_supplicant_conf_ap_ht()
369 conf->secondary_channel = 0; in wpa_supplicant_conf_ap_ht()
377 conf->secondary_channel = in wpa_supplicant_conf_ap_ht()
382 conf->secondary_channel); in wpa_supplicant_conf_ap_ht()
392 conf->secondary_channel = 0; in wpa_supplicant_conf_ap_ht()
402 conf->secondary_channel); in wpa_supplicant_conf_ap_ht()
405 if (conf->secondary_channel) in wpa_supplicant_conf_ap_ht()
[all …]
H A Dmesh.c229 ifmsh->conf->secondary_channel, in wpas_mesh_update_freq_params()
H A Dp2p_supplicant.c9805 csa_settings.freq_params.sec_channel_offset = conf->secondary_channel; in wpas_p2p_move_go_csa()
9807 csa_settings.freq_params.bandwidth = conf->secondary_channel ? 40 : 20; in wpas_p2p_move_go_csa()
9814 conf->secondary_channel, in wpas_p2p_move_go_csa()
/freebsd/contrib/wpa/hostapd/
H A Dconfig_file.c1105 conf->secondary_channel = -1; in hostapd_config_ht_capab()
1109 conf->secondary_channel = 1; in hostapd_config_ht_capab()
1116 conf->secondary_channel = 0; in hostapd_config_ht_capab()