Lines Matching refs:freqs
3755 * Don't optimize next scan freqs since a new ESS has been
5061 unsigned int wpas_get_bands(struct wpa_supplicant *wpa_s, const int *freqs)
5066 if (freqs) {
5067 /* freqs are specified for the radio work */
5068 for (i = 0; freqs[i]; i++)
5069 band |= wpas_freq_to_band(freqs[i]);
5072 * freqs are not specified, implies all
5073 * the supported freqs by HW
5466 ctx)->freqs);
6643 void add_freq(int *freqs, int *num_freqs, int freq)
6648 if (freqs[i] == freq)
6652 freqs[*num_freqs] = freq;
6661 int *freqs;
6664 freqs = os_calloc(max_freqs + 1, sizeof(int));
6665 if (freqs == NULL)
6676 add_freq(freqs, &num_freqs, bss->freq);
6683 os_free(freqs);
6684 freqs = NULL;
6687 return freqs;
6695 int *freqs = NULL;
6737 freqs = get_bss_freqs_in_ess(wpa_s);
6738 if (freqs) {
6748 wpa_s->next_scan_freqs = freqs;
7233 /* Hold only distinct freqs */