Lines Matching refs:freqs
3365 static void add_freq(int *freqs, int *num_freqs, int freq)
3370 if (freqs[i] == freq)
3374 freqs[*num_freqs] = freq;
3383 int *freqs;
3386 freqs = os_zalloc(sizeof(int) * (max_freqs + 1));
3387 if (freqs == NULL)
3398 add_freq(freqs, &num_freqs, bss->freq);
3405 os_free(freqs);
3406 freqs = NULL;
3409 return freqs;
3417 int *freqs = NULL;
3440 freqs = get_bss_freqs_in_ess(wpa_s);
3441 if (freqs) {
3451 wpa_s->next_scan_freqs = freqs;