Home
last modified time | relevance | path

Searched refs:freq_list (Results 1 – 25 of 42) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_go_neg.c556 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_no_recv() argument
571 oper_freq = freq_list[i]; in p2p_check_pref_chan_no_recv()
603 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_recv() argument
619 if (freq_list[i] != oper_freq) in p2p_check_pref_chan_recv()
646 unsigned int freq_list[P2P_MAX_PREF_CHANNELS], size; in p2p_check_pref_chan() local
664 freq_list)) in p2p_check_pref_chan()
669 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
677 freq_list[i], go); in p2p_check_pref_chan()
679 os_memmove(&freq_list[i], &freq_list[i + 1], in p2p_check_pref_chan()
693 res = os_snprintf(pos, end - pos, " %u", freq_list[i]); in p2p_check_pref_chan()
[all …]
Dp2p_utils.c459 int p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, in p2p_channels_to_freqs() argument
485 if (freq_list[k] == freq) in p2p_channels_to_freqs()
491 freq_list[idx++] = freq; in p2p_channels_to_freqs()
495 freq_list[idx] = 0; in p2p_channels_to_freqs()
Dp2p.h156 int freq_list[P2P_MAX_CHANNELS]; member
1126 unsigned int *len, unsigned int *freq_list);
2062 int *freq_list, unsigned int max_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_go_neg.c565 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_no_recv() argument
580 oper_freq = freq_list[i]; in p2p_check_pref_chan_no_recv()
612 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_recv() argument
628 if (freq_list[i] != oper_freq) in p2p_check_pref_chan_recv()
655 unsigned int freq_list[P2P_MAX_PREF_CHANNELS], size; in p2p_check_pref_chan() local
673 freq_list)) in p2p_check_pref_chan()
678 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
686 freq_list[i], go); in p2p_check_pref_chan()
688 os_memmove(&freq_list[i], &freq_list[i + 1], in p2p_check_pref_chan()
702 res = os_snprintf(pos, end - pos, " %u", freq_list[i]); in p2p_check_pref_chan()
[all …]
Dp2p_utils.c459 int p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, in p2p_channels_to_freqs() argument
485 if (freq_list[k] == freq) in p2p_channels_to_freqs()
491 freq_list[idx++] = freq; in p2p_channels_to_freqs()
495 freq_list[idx] = 0; in p2p_channels_to_freqs()
Dp2p.h158 int freq_list[P2P_MAX_CHANNELS]; member
1135 unsigned int *len, unsigned int *freq_list);
2074 int *freq_list, unsigned int max_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dop_classes.c228 if (ssid->freq_list && ssid->freq_list[0]) { in wpas_op_class_supported()
230 int f = ssid->freq_list[z]; in wpas_op_class_supported()
Dconfig_ssid.h588 int *freq_list; member
Dwpa_supplicant.conf1892 freq_list=5180
Ddriver_i.h937 unsigned int *freq_list) in wpa_drv_get_pref_freq_list() argument
942 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list()
947 num, freq_list); in wpa_drv_get_pref_freq_list()
Dconfig.h913 int *freq_list; member
Dscan.c387 wpa_s->go_params->freq_list[0]) { in wpa_supplicant_optimize_freqs()
391 wpa_s->go_params->freq_list); in wpa_supplicant_optimize_freqs()
1195 if (wpa_s->conf->freq_list && !params.freqs) { in wpa_supplicant_scan()
1198 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_scan()
1627 if (wpa_s->conf->freq_list && !params.freqs) { in wpa_supplicant_req_sched_scan()
1630 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_req_sched_scan()
Dconfig_file.c1408 if (config->freq_list && config->freq_list[0]) { in wpa_config_write_global()
1411 for (i = 0; config->freq_list[i]; i++) { in wpa_config_write_global()
1413 config->freq_list[i]); in wpa_config_write_global()
Dconfig.c1405 os_free(ssid->freq_list); in wpa_config_parse_freq_list()
1406 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
1456 return wpa_config_write_freqs(data, ssid->freq_list); in wpa_config_write_freq_list()
2239 { FUNC(freq_list) },
2590 os_free(ssid->freq_list); in wpa_config_free_ssid()
2715 os_free(config->freq_list); in wpa_config_free()
4303 os_free(config->freq_list); in wpa_config_process_freq_list()
4304 config->freq_list = freqs; in wpa_config_process_freq_list()
4835 { FUNC(freq_list), 0 },
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_drv_ops.c846 int **freq_list) in hostapd_get_hw_mode_any_channels() argument
859 int_array_add_unique(freq_list, chan->freq); in hostapd_get_hw_mode_any_channels()
885 int *freq_list = NULL; in hostapd_drv_do_acs() local
918 int_array_add_unique(&freq_list, chan->freq); in hostapd_drv_do_acs()
926 &freq_list); in hostapd_drv_do_acs()
932 params.freq_list = freq_list; in hostapd_drv_do_acs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dop_classes.c271 if (ssid && ssid->freq_list && ssid->freq_list[0]) { in wpas_op_class_supported()
273 int f = ssid->freq_list[z]; in wpas_op_class_supported()
Dconfig_ssid.h639 int *freq_list; member
Dwpa_supplicant.conf2043 freq_list=5180
Ddriver_i.h967 unsigned int *freq_list) in wpa_drv_get_pref_freq_list() argument
972 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list()
977 num, freq_list); in wpa_drv_get_pref_freq_list()
Dconfig.h944 int *freq_list; member
Dconfig_file.c1396 if (config->freq_list && config->freq_list[0]) { in wpa_config_write_global()
1399 for (i = 0; config->freq_list[i]; i++) { in wpa_config_write_global()
1401 config->freq_list[i]); in wpa_config_write_global()
Dscan.c445 wpa_s->go_params->freq_list[0]) { in wpa_supplicant_optimize_freqs()
449 wpa_s->go_params->freq_list); in wpa_supplicant_optimize_freqs()
1287 } else if (wpa_s->conf->freq_list && !params.freqs) { in wpa_supplicant_scan()
1290 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_scan()
1745 if (wpa_s->conf->freq_list && !params.freqs) { in wpa_supplicant_req_sched_scan()
1748 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_req_sched_scan()
Dconfig.c1454 os_free(ssid->freq_list); in wpa_config_parse_freq_list()
1455 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
1505 return wpa_config_write_freqs(data, ssid->freq_list); in wpa_config_write_freq_list()
2433 { FUNC(freq_list) },
2818 os_free(ssid->freq_list); in wpa_config_free_ssid()
2951 os_free(config->freq_list); in wpa_config_free()
4638 os_free(config->freq_list); in wpa_config_process_freq_list()
4639 config->freq_list = freqs; in wpa_config_process_freq_list()
5213 { FUNC(freq_list), 0 },
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_drv_ops.c865 int **freq_list) in hostapd_get_hw_mode_any_channels() argument
893 int_array_add_unique(freq_list, chan->freq); in hostapd_get_hw_mode_any_channels()
917 int *freq_list = NULL; in hostapd_drv_do_acs() local
946 &freq_list); in hostapd_drv_do_acs()
949 params.freq_list = freq_list; in hostapd_drv_do_acs()
978 os_free(freq_list); in hostapd_drv_do_acs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211.c10966 static int add_acs_ch_list(struct nl_msg *msg, const int *freq_list) in add_acs_ch_list() argument
10974 if (!freq_list) in add_acs_ch_list()
10977 num_freqs = int_array_len(freq_list); in add_acs_ch_list()
10983 const int freq = freq_list[i]; in add_acs_ch_list()
11009 static int add_acs_freq_list(struct nl_msg *msg, const int *freq_list) in add_acs_freq_list() argument
11014 if (!freq_list) in add_acs_freq_list()
11016 len = int_array_len(freq_list); in add_acs_freq_list()
11021 freqs[i] = freq_list[i]; in add_acs_freq_list()
11055 add_acs_ch_list(msg, params->freq_list) || in nl80211_qca_do_acs()
11056 add_acs_freq_list(msg, params->freq_list) || in nl80211_qca_do_acs()
[all …]

12