Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Ddfs.c28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
211 iface->conf->secondary_channel && in dfs_find_channel()
237 int secondary_channel, in dfs_adjust_center_freq() argument
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() argument
449 *secondary_channel = 0; in dfs_get_valid_channel()
471 if (iface->conf->secondary_channel) in dfs_get_valid_channel()
[all …]
Dhw_features.c233 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 = 0; in ieee80211n_check_scan()
[all …]
Dieee802_11_ht.c98 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()
Dneighbor_db.c148 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()
Dacs.c588 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()
Dap_list.c236 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
Ddrv_callbacks.c868 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()
Dieee802_11_vht.c246 if (iconf->secondary_channel == 0) { in hostapd_eid_txpower_envelope()
Dhostapd.c263 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()
Dap_config.h936 int secondary_channel; member
Dbeacon.c349 hapd->iconf->secondary_channel, in hostapd_eid_supported_op_classes()
1430 iconf->secondary_channel, in ieee802_11_set_beacon()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Ddfs.c28 if (iface->conf->ieee80211n && iface->conf->secondary_channel) in dfs_get_used_n_chans()
225 iface->conf->secondary_channel && in dfs_find_channel()
268 int secondary_channel, in dfs_adjust_center_freq() argument
283 if (secondary_channel == 1) in dfs_adjust_center_freq()
285 else if (secondary_channel == -1) in dfs_adjust_center_freq()
326 if (iface->conf->ieee80211n && iface->conf->secondary_channel == -1) in dfs_get_start_chan_idx()
388 iface->conf->secondary_channel, in dfs_get_start_chan_idx()
475 int *secondary_channel, in dfs_get_valid_channel() argument
490 *secondary_channel = 0; in dfs_get_valid_channel()
520 if (iface->conf->secondary_channel) in dfs_get_valid_channel()
[all …]
Dhw_features.c233 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 = 0; 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()
533 iface->conf->secondary_channel = iface->secondary_ch; in ap_ht2040_timeout()
Dneighbor_db.c206 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()
Dacs.c693 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()
Dhostapd.c274 hapd->iconf->secondary_channel = oldconf->secondary_channel; in hostapd_reload_config()
1688 if (bw > 20 && !iface->conf->secondary_channel) { in hostapd_set_6ghz_sec_chan()
1690 iface->conf->secondary_channel = -1; in hostapd_set_6ghz_sec_chan()
1692 iface->conf->secondary_channel = 1; in hostapd_set_6ghz_sec_chan()
2070 hapd->iconf->secondary_channel, in hostapd_setup_interface_complete_sync()
3455 conf->secondary_channel, in hostapd_change_config_freq()
3500 conf->secondary_channel = params->sec_channel_offset; in hostapd_change_config_freq()
3692 iface->conf->secondary_channel = freq_params->sec_channel_offset; in hostapd_switch_channel_fallback()
Dap_list.c235 iface->conf->secondary_channel * 4)) { in ap_list_process_beacon()
Ddrv_callbacks.c966 hapd->iconf->secondary_channel = offset; in hostapd_event_ch_switch()
1119 hapd->iconf->secondary_channel = 0; in hostapd_acs_channel_selected()
1121 hapd->iconf->secondary_channel = -1; in hostapd_acs_channel_selected()
1123 hapd->iconf->secondary_channel = 1; in hostapd_acs_channel_selected()
Dbeacon.c412 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()
Dap_config.h1018 int secondary_channel; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
246 conf->secondary_channel = in wpas_conf_ap_he_6ghz()
251 conf->secondary_channel); in wpas_conf_ap_he_6ghz()
342 conf->secondary_channel = ssid->ht40; in wpa_supplicant_conf_ap_ht()
344 conf->secondary_channel = 0; in wpa_supplicant_conf_ap_ht()
352 conf->secondary_channel = in wpa_supplicant_conf_ap_ht()
357 conf->secondary_channel); in wpa_supplicant_conf_ap_ht()
358 } else if (ssid->p2p_group && conf->secondary_channel && in wpa_supplicant_conf_ap_ht()
367 conf->secondary_channel = 0; in wpa_supplicant_conf_ap_ht()
[all …]
Dmesh.c228 ifmsh->conf->secondary_channel, in wpas_mesh_update_freq_params()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dap.c58 if (!conf->secondary_channel) in wpas_conf_ap_vht()
130 conf->channel + conf->secondary_channel * 2; in wpas_conf_ap_vht()
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()
Dmesh.c332 conf->secondary_channel = ssid->ht40; in wpa_supplicant_mesh_init()

12