Lines Matching refs:freqs
4952 * Don't optimize next scan freqs since a new ESS has been
6464 unsigned int wpas_get_bands(struct wpa_supplicant *wpa_s, const int *freqs)
6469 if (freqs) {
6470 /* freqs are specified for the radio work */
6471 for (i = 0; freqs[i]; i++)
6472 band |= wpas_freq_to_band(freqs[i]);
6475 * freqs are not specified, implies all
6476 * the supported freqs by HW
6873 ctx)->freqs);
8094 void add_freq(int *freqs, int *num_freqs, int freq)
8099 if (freqs[i] == freq)
8103 freqs[*num_freqs] = freq;
8112 int *freqs;
8115 freqs = os_calloc(max_freqs + 1, sizeof(int));
8116 if (freqs == NULL)
8127 add_freq(freqs, &num_freqs, bss->freq);
8134 os_free(freqs);
8135 freqs = NULL;
8138 return freqs;
8147 int *freqs = NULL;
8185 freqs = get_bss_freqs_in_ess(wpa_s);
8186 if (freqs) {
8196 wpa_s->next_scan_freqs = freqs;
8779 /* Hold only distinct freqs */