/freebsd/contrib/wpa/src/ap/ |
H A D | dfs.c | 30 dfs_downgrade_bandwidth(struct hostapd_iface *iface, int *secondary_channel, 49 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans() 258 iface->conf->secondary_channel && in dfs_find_channel() 305 int secondary_channel, in dfs_adjust_center_freq() argument 320 if (secondary_channel == 1) in dfs_adjust_center_freq() 322 else if (secondary_channel == -1) in dfs_adjust_center_freq() 363 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1) in dfs_get_start_chan_idx() 430 iface->conf->secondary_channel, in dfs_get_start_chan_idx() 519 int *secondary_channel, in dfs_get_valid_channel() argument 534 *secondary_channel = 0; in dfs_get_valid_channel() [all …]
|
H A D | hw_features.c | 260 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_allowed_ht40_channel_pair() 280 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec() 283 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec() 287 iface->conf->secondary_channel = 1; in ieee80211n_switch_pri_sec() 300 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_check_40mhz_5g() 332 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4() 362 iface->secondary_ch = iface->conf->secondary_channel; in ieee80211n_check_scan() 368 iface->conf->secondary_channel * 4); in ieee80211n_check_scan() 369 iface->conf->secondary_channel = 0; in ieee80211n_check_scan() 380 if (iface->conf->secondary_channel && in ieee80211n_check_scan() [all …]
|
H A D | ieee802_11_ht.c | 99 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 D | acs.c | 836 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() 880 if (!chan_bw_allowed(chan, bw, secondary_channel != -1, 1)) { 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() 989 freq_offset = j * 20 * secondary_channel; 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() [all …]
|
H A D | neighbor_db.c | 215 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 D | ap_list.c | 235 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
|
H A D | hostapd.c | 316 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 D | drv_callbacks.c | 1262 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 D | hostapd.h | 613 int secondary_channel; member
|
H A D | ap_config.h | 1112 int secondary_channel; member
|
H A D | beacon.c | 451 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 D | ctrl_iface_ap.c | 878 iface->conf->secondary_channel : 0, in hostapd_ctrl_iface_status()
|
H A D | ieee802_11.c | 3058 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 D | ap.c | 81 if (!conf->secondary_channel) in wpas_conf_ap_vht() 176 conf, conf->channel + conf->secondary_channel * 2); 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() 383 } else if (ssid->p2p_group && conf->secondary_channel && in wpa_supplicant_conf_ap_ht() 392 conf->secondary_channel = 0; in wpa_supplicant_conf_ap_ht() [all …]
|
H A D | mesh.c | 229 ifmsh->conf->secondary_channel, in wpas_mesh_update_freq_params()
|
H A D | p2p_supplicant.c | 9805 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 D | config_file.c | 1105 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()
|