Home
last modified time | relevance | path

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

/hostap-latest/src/ap/
Ddfs.c30 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 …]
Dhw_features.c264 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_allowed_ht40_channel_pair()
284 if (iface->conf->secondary_channel > 0) { in ieee80211n_switch_pri_sec()
287 iface->conf->secondary_channel = -1; in ieee80211n_switch_pri_sec()
291 iface->conf->secondary_channel = 1; in ieee80211n_switch_pri_sec()
304 sec_freq = pri_freq + iface->conf->secondary_channel * 20; in ieee80211n_check_40mhz_5g()
336 sec_chan = pri_chan + iface->conf->secondary_channel * 4; in ieee80211n_check_40mhz_2g4()
366 iface->secondary_ch = iface->conf->secondary_channel; in ieee80211n_check_scan()
372 iface->conf->secondary_channel * 4); in ieee80211n_check_scan()
373 iface->conf->secondary_channel = 0; in ieee80211n_check_scan()
384 if (iface->conf->secondary_channel && in ieee80211n_check_scan()
[all …]
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()
Dacs.c844 int secondary_channel = 1, freq_offset; in acs_find_ideal_chan_mode() local
850 secondary_channel = iface->conf->secondary_channel; in acs_find_ideal_chan_mode()
888 if (!chan_bw_allowed(chan, bw, secondary_channel != -1, 1)) { in acs_find_ideal_chan_mode()
899 iface->conf->secondary_channel) || in acs_find_ideal_chan_mode()
948 j * secondary_channel * 20); in acs_find_ideal_chan_mode()
997 freq_offset = j * 20 * secondary_channel; in acs_find_ideal_chan_mode()
1118 iface->conf->secondary_channel) in acs_find_ideal_chan()
1178 if (!iface->conf->secondary_channel || in acs_adjust_secondary()
1187 iface->conf->secondary_channel = 1; in acs_adjust_secondary()
1189 iface->conf->secondary_channel = -1; in acs_adjust_secondary()
[all …]
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()
Dap_list.c235 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
Dhostapd.c319 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
2136 if (bw >= 40 && !iface->conf->secondary_channel) { in hostapd_set_6ghz_sec_chan()
2138 iface->conf->secondary_channel = -1; in hostapd_set_6ghz_sec_chan()
2140 iface->conf->secondary_channel = 1; in hostapd_set_6ghz_sec_chan()
2546 hapd->iconf->secondary_channel, in hostapd_setup_interface_complete_sync()
4265 conf->ieee80211be, conf->secondary_channel, in hostapd_change_config_freq()
4319 conf->secondary_channel = params->sec_channel_offset; in hostapd_change_config_freq()
4557 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
Ddrv_callbacks.c1264 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch()
1448 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected()
1450 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected()
1452 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
Dhostapd.h620 int secondary_channel; member
Dbeacon.c526 hapd->iconf->secondary_channel, in hostapd_eid_supported_op_classes()
1996 if (hapd->iconf->secondary_channel) in hostapd_fils_discovery_cap()
2731 iconf->secondary_channel, in __ieee802_11_set_beacon()
Dap_config.h1133 int secondary_channel; member
Dctrl_iface_ap.c878 iface->conf->secondary_channel : 0, in hostapd_ctrl_iface_status()
Dieee802_11.c3063 other->iconf->secondary_channel, in handle_auth()
7156 if (iconf->secondary_channel == 0) { in hostapd_eid_txpower_envelope()
7776 hapd->iconf->secondary_channel, in hostapd_eid_rnr_iface()
/hostap-latest/tests/remote/
Dmonitor.py164 secondary_channel = get_status_field_f("secondary_channel")
168 if secondary_channel == "1":
171 elif secondary_channel == "-1":
/hostap-latest/wpa_supplicant/
Dap.c81 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 …]
Dmesh.c229 ifmsh->conf->secondary_channel, in wpas_mesh_update_freq_params()
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()
/hostap-latest/hostapd/
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()