Lines Matching refs:freqs

215 	int *freqs = NULL, *n;  in bgscan_learn_get_freqs()  local
220 if (in_array(freqs, bss->freq)) in bgscan_learn_get_freqs()
222 n = os_realloc_array(freqs, *count + 2, sizeof(int)); in bgscan_learn_get_freqs()
224 return freqs; in bgscan_learn_get_freqs()
225 freqs = n; in bgscan_learn_get_freqs()
226 freqs[*count] = bss->freq; in bgscan_learn_get_freqs()
228 freqs[*count] = 0; in bgscan_learn_get_freqs()
231 return freqs; in bgscan_learn_get_freqs()
236 int *freqs, size_t count) in bgscan_learn_get_probe_freq() argument
241 return freqs; in bgscan_learn_get_probe_freq()
245 if (!in_array(freqs, data->supp_freqs[idx])) { in bgscan_learn_get_probe_freq()
251 n = os_realloc_array(freqs, count + 2, sizeof(int)); in bgscan_learn_get_probe_freq()
253 return freqs; in bgscan_learn_get_probe_freq()
254 freqs = n; in bgscan_learn_get_probe_freq()
255 freqs[count] = data->supp_freqs[idx]; in bgscan_learn_get_probe_freq()
257 freqs[count] = 0; in bgscan_learn_get_probe_freq()
266 return freqs; in bgscan_learn_get_probe_freq()
275 int *freqs = NULL; in bgscan_learn_timeout() local
284 params.freqs = data->ssid->scan_freq; in bgscan_learn_timeout()
286 freqs = bgscan_learn_get_freqs(data, &count); in bgscan_learn_timeout()
289 freqs = bgscan_learn_get_probe_freq(data, freqs, count); in bgscan_learn_timeout()
293 for (i = 0; freqs && freqs[i]; i++) { in bgscan_learn_timeout()
296 freqs[i]); in bgscan_learn_timeout()
304 params.freqs = freqs; in bgscan_learn_timeout()
314 os_free(freqs); in bgscan_learn_timeout()
351 int i, j, *freqs = NULL, *n; in bgscan_learn_get_supp_freqs() local
363 if (in_array(freqs, modes[i].channels[j].freq)) in bgscan_learn_get_supp_freqs()
365 n = os_realloc_array(freqs, count + 2, sizeof(int)); in bgscan_learn_get_supp_freqs()
369 freqs = n; in bgscan_learn_get_supp_freqs()
370 freqs[count] = modes[i].channels[j].freq; in bgscan_learn_get_supp_freqs()
372 freqs[count] = 0; in bgscan_learn_get_supp_freqs()
376 return freqs; in bgscan_learn_get_supp_freqs()