/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | dfs.c | 28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans() 190 * - hapd->secondary_channel 211 iface->conf->secondary_channel && in dfs_find_channel() 237 int secondary_channel, in dfs_adjust_center_freq() 251 if (secondary_channel == 1) in dfs_adjust_center_freq() 253 else if (secondary_channel == -1) in dfs_adjust_center_freq() 288 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1) in dfs_get_start_chan_idx() 350 iface->conf->secondary_channel, in dfs_get_start_chan_idx() 437 int *secondary_channel, in dfs_get_valid_channel() 449 *secondary_channel in dfs_get_valid_channel() 235 dfs_adjust_center_freq(struct hostapd_iface *iface, struct hostapd_channel_data *chan, int secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx) dfs_adjust_center_freq() argument 436 dfs_get_valid_channel(struct hostapd_iface *iface, int *secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx, int skip_radar) dfs_get_valid_channel() argument 843 int secondary_channel; hostapd_dfs_start_channel_switch_cac() local 884 int secondary_channel; hostapd_dfs_start_channel_switch() local [all...] |
H A D | hw_features.c | 233 if (!iface->conf->secondary_channel) { in ieee80211n_allowed_ht40_channel_pair() 239 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_allowed_ht40_channel_pair() 248 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec() 250 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec() 253 iface->conf->secondary_channel = 1; in ieee80211n_switch_pri_sec() 265 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_5g() 288 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4() 318 iface->secondary_ch = iface->conf->secondary_channel; in ieee80211n_check_scan() 324 iface->conf->secondary_channel * 4); in ieee80211n_check_scan() 325 iface->conf->secondary_channel in ieee80211n_check_scan() [all...] |
H A D | ieee802_11_ht.c | 98 if (hapd->iconf->secondary_channel == 1) in hostapd_eid_ht_operation() 101 if (hapd->iconf->secondary_channel == -1) in hostapd_eid_ht_operation() 180 else if (iface->conf->secondary_channel && iface->num_sta_ht_20mhz) in hostapd_ht_operation_update() 212 if (iface->conf->secondary_channel > 0) in is_40_allowed() 354 if (iface->conf->secondary_channel) { in hostapd_2040_coex_action() 359 iface->conf->secondary_channel = 0; in hostapd_2040_coex_action() 425 if (iface->conf->secondary_channel && in ht40_intolerant_add() 427 iface->conf->secondary_channel = 0; in ht40_intolerant_add() 555 iface->conf->secondary_channel = iface->secondary_ch; in ap_ht2040_timeout()
|
H A D | neighbor_db.c | 148 if (!hapd->iconf->secondary_channel) in hostapd_get_nr_chan_width() 210 hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report() 225 10 * hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
|
H A D | acs.c | 588 iface->conf->secondary_channel == -1) { in acs_find_ideal_chan() 594 iface->conf->secondary_channel) in acs_find_ideal_chan() 642 iface->conf->secondary_channel && in acs_find_ideal_chan() 794 offset = 2 * iface->conf->secondary_channel; in acs_adjust_center_freq()
|
H A D | ap_list.c | 236 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
|
H A D | drv_callbacks.c | 868 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch() 965 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected() 967 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected() 969 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
|
H A D | hostapd.c | 263 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config() 1932 hapd->iconf->secondary_channel, in hostapd_setup_interface_complete_sync() 3303 conf->secondary_channel, in hostapd_change_config_freq() 3333 conf->secondary_channel = params->sec_channel_offset; in hostapd_change_config_freq() 3517 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
|
H A D | ieee802_11_vht.c | 246 if (iconf->secondary_channel == 0) { in hostapd_eid_txpower_envelope()
|
H A D | ap_config.h | 936 int secondary_channel; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | hw_features.c | 233 if (!iface->conf->secondary_channel) { in ieee80211n_allowed_ht40_channel_pair() 238 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_allowed_ht40_channel_pair() 258 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec() 261 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec() 265 iface->conf->secondary_channel = 1; in ieee80211n_switch_pri_sec() 278 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_check_40mhz_5g() 310 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4() 340 iface->secondary_ch = iface->conf->secondary_channel; in ieee80211n_check_scan() 346 iface->conf->secondary_channel * 4); in ieee80211n_check_scan() 347 iface->conf->secondary_channel in ieee80211n_check_scan() [all...] |
H A D | dfs.c | 28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans() 209 * - hapd->secondary_channel 230 iface->conf->secondary_channel && in dfs_find_channel() 273 int secondary_channel, in dfs_adjust_center_freq() 288 if (secondary_channel == 1) in dfs_adjust_center_freq() 290 else if (secondary_channel == -1) in dfs_adjust_center_freq() 331 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1) in dfs_get_start_chan_idx() 393 iface->conf->secondary_channel, in dfs_get_start_chan_idx() 480 int *secondary_channel, in dfs_get_valid_channel() 495 *secondary_channel in dfs_get_valid_channel() 271 dfs_adjust_center_freq(struct hostapd_iface *iface, struct hostapd_channel_data *chan, int secondary_channel, int sec_chan_idx_80p80, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx) dfs_adjust_center_freq() argument 479 dfs_get_valid_channel(struct hostapd_iface *iface, int *secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx, int skip_radar) dfs_get_valid_channel() argument 946 dfs_downgrade_bandwidth(struct hostapd_iface *iface, int *secondary_channel, u8 *oper_centr_freq_seg0_idx, u8 *oper_centr_freq_seg1_idx, int *skip_radar) dfs_downgrade_bandwidth() argument 986 int secondary_channel; hostapd_dfs_start_channel_switch_cac() local 1033 int secondary_channel; hostapd_dfs_start_channel_switch() local [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() 533 iface->conf->secondary_channel = iface->secondary_ch; in ap_ht2040_timeout()
|
H A D | neighbor_db.c | 206 if (!hapd->iconf->secondary_channel) in hostapd_get_nr_chan_width() 270 hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report() 285 10 * hapd->iconf->secondary_channel, in hostapd_neighbor_set_own_report()
|
H A D | acs.c | 693 iface->conf->secondary_channel) || in acs_find_ideal_chan_mode() 857 iface->conf->secondary_channel == -1) { in acs_find_ideal_chan() 863 iface->conf->secondary_channel) in acs_find_ideal_chan() 911 offset = 2 * iface->conf->secondary_channel; in acs_adjust_center_freq()
|
H A D | hostapd.c | 276 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config() 1698 if (bw > 20 && !iface->conf->secondary_channel) { in hostapd_set_6ghz_sec_chan() 1700 iface->conf->secondary_channel = -1; in hostapd_set_6ghz_sec_chan() 1702 iface->conf->secondary_channel = 1; in hostapd_set_6ghz_sec_chan() 2094 hapd->iconf->secondary_channel, in hostapd_setup_interface_complete_sync() 3525 conf->secondary_channel, in hostapd_change_config_freq() 3570 conf->secondary_channel = params->sec_channel_offset; in hostapd_change_config_freq() 3762 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
|
H A D | ap_list.c | 235 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
|
H A D | drv_callbacks.c | 989 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch() 1178 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected() 1180 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected() 1182 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
|
H A D | beacon.c | 412 hapd->iconf->secondary_channel, in hostapd_eid_supported_op_classes() 1226 if (hapd->iconf->secondary_channel) in hostapd_fils_discovery_cap() 1848 iconf->secondary_channel, in __ieee802_11_set_beacon()
|
H A D | ap_config.h | 1018 int secondary_channel; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ap.c | 83 if (!conf->secondary_channel) in wpas_conf_ap_vht() 178 conf, conf->channel + conf->secondary_channel * 2); in wpas_conf_ap_vht() 248 conf->secondary_channel = in wpas_conf_ap_he_6ghz() 253 conf->secondary_channel); in wpas_conf_ap_he_6ghz() 284 * conf->secondary_channel, conf->require_ht in wpa_supplicant_conf_ap_ht() 344 conf->secondary_channel = ssid->ht40; in wpa_supplicant_conf_ap_ht() 346 conf->secondary_channel = 0; in wpa_supplicant_conf_ap_ht() 354 conf->secondary_channel = in wpa_supplicant_conf_ap_ht() 359 conf->secondary_channel); in wpa_supplicant_conf_ap_ht() 360 } else if (ssid->p2p_group && conf->secondary_channel in wpa_supplicant_conf_ap_ht() [all...] |
H A D | mesh.c | 228 ifmsh->conf->secondary_channel, in wpas_mesh_update_freq_params()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ap.c | 58 if (!conf->secondary_channel) in wpas_conf_ap_vht() 130 conf->channel + conf->secondary_channel * 2; in wpas_conf_ap_vht() 157 * conf->secondary_channel, conf->require_ht in wpa_supplicant_conf_ap_ht() 202 conf->secondary_channel = in wpa_supplicant_conf_ap_ht() 207 conf->secondary_channel); in wpa_supplicant_conf_ap_ht() 214 conf->secondary_channel = ssid->ht40; in wpa_supplicant_conf_ap_ht() 217 conf->secondary_channel); in wpa_supplicant_conf_ap_ht() 220 if (conf->secondary_channel) in wpa_supplicant_conf_ap_ht() 250 if (conf->secondary_channel) { in wpa_supplicant_conf_ap_ht()
|
H A D | mesh.c | 332 conf->secondary_channel = ssid->ht40; in wpa_supplicant_mesh_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | ap_config_file.c | 1075 conf->secondary_channel = -1; in hostapd_config_ht_capab() 1079 conf->secondary_channel = 1; in hostapd_config_ht_capab() 1086 conf->secondary_channel = 0; in hostapd_config_ht_capab() 2361 conf->ht_capab, conf->secondary_channel, conf->ht20_set_flag); in hostapd_config_bw_auto_adaptation() 2374 conf->secondary_channel = 1; in hostapd_config_bw_auto_adaptation() 2393 conf->secondary_channel = -1; in hostapd_config_bw_auto_adaptation() 2412 conf->secondary_channel = 1; in hostapd_config_bw_auto_adaptation() 2419 conf->secondary_channel = -1; in hostapd_config_bw_auto_adaptation() 2433 conf->ieee80211ac, conf->vht_capab, conf->vht_oper_chwidth, conf->secondary_channel); in hostapd_config_bw_auto_adaptation() 4861 conf->secondary_channel in CheckApBand() [all...] |