HomeSort by: relevance | last modified time | path
    Searched refs:freq_list (Results 1 - 24 of 24) sorted by relevancy

  /src/external/bsd/wpa/dist/src/p2p/
p2p_utils.c 459 int p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list,
485 if (freq_list[k] == freq)
491 freq_list[idx++] = freq;
495 freq_list[idx] = 0;
543 * @freq_list: Weighted preferred channel list
547 bool p2p_pref_freq_allowed(const struct weighted_pcl *freq_list, bool go)
549 if (freq_list->flag & WEIGHTED_PCL_EXCLUDE)
551 if (!(freq_list->flag & WEIGHTED_PCL_CLI) && !go)
553 if (!(freq_list->flag & WEIGHTED_PCL_GO) && go)
560 const struct weighted_pcl *freq_list,
    [all...]
p2p.h 158 * freq_list - Zero-terminated list of possible operational channels
160 int freq_list[P2P_MAX_CHANNELS]; member in struct:p2p_go_neg_results
1129 * @len: Length of freq_list in entries (both IN and OUT)
1130 * @freq_list: Buffer for returning the preferred frequencies (MHz)
1138 struct weighted_pcl *freq_list);
2077 int *freq_list, unsigned int max_len);
2344 bool p2p_pref_freq_allowed(const struct weighted_pcl *freq_list, bool go);
p2p_go_neg.c 602 const struct weighted_pcl freq_list[],
618 oper_freq = freq_list[i].freq;
621 !p2p_pref_freq_allowed(&freq_list[i], go))
651 const struct weighted_pcl freq_list[],
668 if (freq_list[i].freq != oper_freq)
673 if (!p2p_pref_freq_allowed(&freq_list[i], go))
p2p_i.h 899 const struct weighted_pcl *freq_list,
p2p.c 1881 p2p_channels_to_freqs(&intersection, res.freq_list,
  /src/external/bsd/wpa/dist/src/common/
nan_de.c 47 int *freq_list; member in struct:nan_de_service
57 int multi_chan_idx; /* index to freq_list[] */
102 os_free(srv->freq_list);
317 if (srv->freq_list[srv->multi_chan_idx] == 0)
319 srv->freq = srv->freq_list[srv->multi_chan_idx];
521 if (force_single || !srv->freq_list || srv->freq_list[0] == 0)
536 if (srv->in_multi_chan && srv->freq_list && srv->freq_list[0]) {
539 if (srv->freq_list[srv->multi_chan_idx] == 0
    [all...]
nan_de.h 98 const int *freq_list; member in struct:nan_publish_params
  /src/external/bsd/wpa/dist/wpa_supplicant/
op_classes.c 332 if (ssid && ssid->freq_list && ssid->freq_list[0]) {
334 int f = ssid->freq_list[z];
config_ssid.h 657 * freq_list - Array of allowed frequencies or %NULL for all
664 int *freq_list; member in struct:wpa_ssid
wpa_supplicant.conf 969 # freq_list: Array of allowed frequencies
2132 freq_list=5180
config.h 989 * freq_list - Array of allowed scan frequencies or %NULL for all
994 int *freq_list; member in struct:wpa_config
997 * initial_freq_list - like freq_list but for initial scan
driver_i.h 974 struct weighted_pcl *freq_list)
979 wpa_s, if_type, num, freq_list);
984 num, freq_list);
config_file.c 1440 if (config->freq_list && config->freq_list[0]) {
1442 fprintf(f, "freq_list=");
1443 for (i = 0; config->freq_list[i]; i++) {
1445 config->freq_list[i]);
config.c 1510 os_free(ssid->freq_list);
1511 ssid->freq_list = freqs;
1561 return wpa_config_write_freqs(data, ssid->freq_list);
2540 { FUNC(freq_list) },
2936 os_free(ssid->freq_list);
3077 os_free(config->freq_list);
4927 os_free(config->freq_list);
4928 config->freq_list = freqs;
5531 { FUNC(freq_list), 0 },
scan.c 450 wpa_s->go_params->freq_list[0]) {
454 wpa_s->go_params->freq_list);
1419 } else if (wpa_s->conf->freq_list && !params.freqs) {
1421 "Optimize scan based on conf->freq_list");
1422 int_array_concat(&params.freqs, wpa_s->conf->freq_list);
1875 if (wpa_s->conf->freq_list && !params.freqs) {
1877 "Optimize scan based on conf->freq_list");
1878 int_array_concat(&params.freqs, wpa_s->conf->freq_list);
ctrl_iface.c 8490 struct weighted_pcl *freq_list)
8514 freq_list[count].freq = atoi(pos);
8515 freq_list[count++].flag = WEIGHTED_PCL_GO | WEIGHTED_PCL_CLI;
8534 struct weighted_pcl freq_list[100]; local
8559 ret = wpa_drv_get_pref_freq_list(wpa_s, iface_type, &num, freq_list);
8565 i > 0 ? "," : "", freq_list[i].freq);
12208 int *freq_list = NULL; local
12234 if (os_strncmp(token, "freq_list=", 10) == 0) {
12238 os_free(freq_list);
12239 freq_list = wpas_nan_usd_all_freqs(wpa_s)
    [all...]
wpa_supplicant_i.h 1961 struct weighted_pcl *freq_list);
p2p_supplicant.c 1834 unsigned int i, len = int_array_len(wpa_s->go_params->freq_list);
1843 if (!wpa_s->go_params->freq_list[i])
1846 wpa_s->go_params->freq_list[i];
4817 struct weighted_pcl *freq_list)
4822 WPA_IF_P2P_CLIENT, len, freq_list);
7148 p2p_channels_to_freqs(channels, params.freq_list, P2P_MAX_CHANNELS);
events.c 1431 if (!freq_allowed(ssid->freq_list, bss->freq)) {
  /src/external/bsd/wpa/dist/src/ap/
ap_drv_ops.c 1048 int **freq_list)
1079 int_array_add_unique(freq_list, chan->freq);
1126 int *freq_list = NULL; local
1161 false, &freq_list);
1164 if (!freq_list && hapd->iface->is_no_ir) {
1166 "NO_IR: Interface freq_list is empty. Failing do_acs.");
1170 params.freq_list = freq_list;
1204 os_free(freq_list);
ap_drv_ops.h 168 int **freq_list);
  /src/external/bsd/wpa/dist/src/drivers/
driver_nl80211.c 12455 static int add_acs_ch_list(struct nl_msg *msg, const int *freq_list)
12463 if (!freq_list)
12466 num_freqs = int_array_len(freq_list);
12472 const int freq = freq_list[i];
12498 static int add_acs_freq_list(struct nl_msg *msg, const int *freq_list)
12503 if (!freq_list)
12505 len = int_array_len(freq_list);
12510 freqs[i] = freq_list[i];
12546 add_acs_ch_list(msg, params->freq_list) ||
12547 add_acs_freq_list(msg, params->freq_list) ||
12634 struct weighted_pcl *freq_list; member in struct:nl80211_pcl
    [all...]
driver.h 2842 const int *freq_list; member in struct:drv_acs_params
4931 * @freq_list: Weighted preferred channel list
4935 * the driver specific to a particular interface type. The freq_list
4941 struct weighted_pcl *freq_list);
  /src/external/bsd/wpa/dist/wpa_supplicant/dbus/
dbus_new.c 1765 if (res->freq_list[i]) {
1766 freqs[i] = res->freq_list[i];

Completed in 116 milliseconds