Home
last modified time | relevance | path

Searched refs:freq_list (Results 1 - 25 of 38) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A Dp2p_go_neg.c556 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_no_recv()
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()
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[ in p2p_check_pref_chan()
553 p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg, unsigned freq_list[], unsigned int size) p2p_check_pref_chan_no_recv() argument
600 p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg, unsigned freq_list[], unsigned int size) p2p_check_pref_chan_recv() argument
[all...]
H A 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()
H A Dp2p.h154 * freq_list - Zero-terminated list of possible operational channels
156 int freq_list[P2P_MAX_CHANNELS]; member
1118 * @len: Length of freq_list in entries (both IN and OUT)
1119 * @freq_list: Buffer for returning the preferred frequencies (MHz)
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/
H A Dp2p_go_neg.c617 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_no_recv()
632 oper_freq = freq_list[i]; in p2p_check_pref_chan_no_recv()
664 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_recv()
680 if (freq_list[i] != oper_freq) in p2p_check_pref_chan_recv()
707 unsigned int freq_list[P2P_MAX_PREF_CHANNELS], size; in p2p_check_pref_chan() local
725 freq_list)) in p2p_check_pref_chan()
730 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
738 freq_list[i], go); in p2p_check_pref_chan()
740 os_memmove(&freq_list[i], &freq_list[ in p2p_check_pref_chan()
614 p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg, unsigned freq_list[], unsigned int size) p2p_check_pref_chan_no_recv() argument
661 p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg, unsigned freq_list[], unsigned int size) p2p_check_pref_chan_recv() argument
[all...]
H A Dp2p_utils.c477 int p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, in p2p_channels_to_freqs() argument
503 if (freq_list[k] == freq) in p2p_channels_to_freqs()
509 freq_list[idx++] = freq; in p2p_channels_to_freqs()
513 freq_list[idx] = 0; in p2p_channels_to_freqs()
H A Dp2p.h156 * freq_list - Zero-terminated list of possible operational channels
158 int freq_list[P2P_MAX_CHANNELS]; member
1140 * @len: Length of freq_list in entries (both IN and OUT)
1141 * @freq_list: Buffer for returning the preferred frequencies (MHz)
1148 unsigned int *len, unsigned int *freq_list);
2090 int *freq_list, unsigned int max_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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()
H A Dconfig_ssid.h581 * freq_list - Array of allowed frequencies or %NULL for all
588 int *freq_list; member
H A 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()
1197 "Optimize scan based on conf->freq_list"); 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()
1629 "Optimize scan based on conf->freq_list"); in wpa_supplicant_req_sched_scan()
1630 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_req_sched_scan()
H A Dconfig.h908 * freq_list - Array of allowed scan frequencies or %NULL for all
913 int *freq_list; member
H A Ddriver_i.h937 unsigned int *freq_list) in wpa_drv_get_pref_freq_list()
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()
934 wpa_drv_get_pref_freq_list(struct wpa_supplicant *wpa_s, enum wpa_driver_if_type if_type, unsigned int *num, unsigned int *freq_list) wpa_drv_get_pref_freq_list() argument
H A Dconfig_file.c1408 if (config->freq_list && config->freq_list[0]) { in wpa_config_write_global()
1410 fprintf(f, "freq_list="); 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()
H A 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 },
H A Dwpa_supplicant_i.h1548 unsigned int *freq_list);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dap_drv_ops.c868 int **freq_list) in hostapd_get_hw_mode_any_channels()
896 int_array_add_unique(freq_list, chan->freq); in hostapd_get_hw_mode_any_channels()
920 int *freq_list = NULL; in hostapd_drv_do_acs() local
949 &freq_list); in hostapd_drv_do_acs()
952 params.freq_list = freq_list; in hostapd_drv_do_acs()
981 os_free(freq_list); in hostapd_drv_do_acs()
865 hostapd_get_hw_mode_any_channels(struct hostapd_data *hapd, struct hostapd_hw_modes *mode, int acs_ch_list_all, int **freq_list) hostapd_get_hw_mode_any_channels() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dap_drv_ops.c846 int **freq_list) in hostapd_get_hw_mode_any_channels()
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()
843 hostapd_get_hw_mode_any_channels(struct hostapd_data *hapd, struct hostapd_hw_modes *mode, int acs_ch_list_all, int **freq_list) hostapd_get_hw_mode_any_channels() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A 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()
H A Dconfig_ssid.h656 * freq_list - Array of allowed frequencies or %NULL for all
663 int *freq_list; member
H A Dscan.c458 wpa_s->go_params->freq_list[0]) { in wpa_supplicant_optimize_freqs()
462 wpa_s->go_params->freq_list); in wpa_supplicant_optimize_freqs()
1319 } else if (wpa_s->conf->freq_list && !params.freqs) { in wpa_supplicant_scan()
1321 "Optimize scan based on conf->freq_list"); in wpa_supplicant_scan()
1322 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_scan()
1785 if (wpa_s->conf->freq_list && !params.freqs) { in wpa_supplicant_req_sched_scan()
1787 "Optimize scan based on conf->freq_list"); in wpa_supplicant_req_sched_scan()
1788 int_array_concat(&params.freqs, wpa_s->conf->freq_list); in wpa_supplicant_req_sched_scan()
H A Dconfig.h945 * freq_list - Array of allowed scan frequencies or %NULL for all
950 int *freq_list; member
953 * initial_freq_list - like freq_list but for initial scan
H A Ddriver_i.h1015 unsigned int *freq_list) in wpa_drv_get_pref_freq_list()
1020 wpa_s, if_type, num, freq_list); in wpa_drv_get_pref_freq_list()
1025 num, freq_list); in wpa_drv_get_pref_freq_list()
1012 wpa_drv_get_pref_freq_list(struct wpa_supplicant *wpa_s, enum wpa_driver_if_type if_type, unsigned int *num, unsigned int *freq_list) wpa_drv_get_pref_freq_list() argument
H A Dconfig_file.c1453 if (config->freq_list && config->freq_list[0]) { in wpa_config_write_global()
1455 fprintf(f, "freq_list="); in wpa_config_write_global()
1456 for (i = 0; config->freq_list[i]; i++) { in wpa_config_write_global()
1458 config->freq_list[i]); in wpa_config_write_global()
H A Dconfig.c1572 os_free(ssid->freq_list); in wpa_config_parse_freq_list()
1573 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
1623 return wpa_config_write_freqs(data, ssid->freq_list); in wpa_config_write_freq_list()
2551 { FUNC(freq_list) },
2952 os_free(ssid->freq_list); in wpa_config_free_ssid()
3096 os_free(config->freq_list); in wpa_config_free()
4809 os_free(config->freq_list); in wpa_config_process_freq_list()
4810 config->freq_list = freqs; in wpa_config_process_freq_list()
5393 { FUNC(freq_list), 0 },
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211.c11495 static int add_acs_ch_list(struct nl_msg *msg, const int *freq_list) argument
11503 if (!freq_list)
11506 num_freqs = int_array_len(freq_list);
11512 const int freq = freq_list[i];
11538 static int add_acs_freq_list(struct nl_msg *msg, const int *freq_list) argument
11543 if (!freq_list)
11545 len = int_array_len(freq_list);
11550 freqs[i] = freq_list[i];
11584 add_acs_ch_list(msg, params->freq_list) ||
11585 add_acs_freq_list(msg, params->freq_list) ||
11668 unsigned int *freq_list; global() member
11728 nl80211_get_pref_freq_list(void *priv, enum wpa_driver_if_type if_type, unsigned int *num, unsigned int *freq_list) global() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_nl80211.c10057 static int add_acs_freq_list(struct nl_msg *msg, const int *freq_list) in add_acs_freq_list() argument
10062 if (!freq_list) in add_acs_freq_list()
10064 len = int_array_len(freq_list); in add_acs_freq_list()
10069 freqs[i] = freq_list[i]; in add_acs_freq_list()
10107 add_acs_freq_list(msg, params->freq_list)) { in wpa_driver_do_acs()
10177 unsigned int *freq_list; member
10223 * is room in the freq_list provided by the caller. in preferred_freq_info_handler()
10230 param->freq_list[num] = freqs[num]; in preferred_freq_info_handler()
10240 unsigned int *freq_list) in nl80211_get_pref_freq_list()
10278 param.freq_list in nl80211_get_pref_freq_list()
10237 nl80211_get_pref_freq_list(void *priv, enum wpa_driver_if_type if_type, unsigned int *num, unsigned int *freq_list) nl80211_get_pref_freq_list() argument
[all...]

Completed in 70 milliseconds

12