Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:freqs

215 	int *freqs = NULL, *n;
220 if (in_array(freqs, bss->freq))
222 n = os_realloc_array(freqs, *count + 2, sizeof(int));
224 return freqs;
225 freqs = n;
226 freqs[*count] = bss->freq;
228 freqs[*count] = 0;
231 return freqs;
236 int *freqs, size_t count)
241 return freqs;
250 if (!in_array(freqs, data->supp_freqs[idx])) {
254 n = os_realloc_array(freqs, count + 2, sizeof(int));
256 return freqs;
257 freqs = n;
258 freqs[count] = data->supp_freqs[idx];
260 freqs[count] = 0;
267 return freqs;
276 int *freqs = NULL;
285 params.freqs = data->ssid->scan_freq;
287 freqs = bgscan_learn_get_freqs(data, &count);
290 freqs = bgscan_learn_get_probe_freq(data, freqs, count);
294 for (i = 0; freqs && freqs[i]; i++) {
297 freqs[i]);
305 params.freqs = freqs;
315 os_free(freqs);
355 int i, j, *freqs = NULL, *n;
366 n = os_realloc_array(freqs, count + 2, sizeof(int));
370 freqs = n;
371 freqs[count] = modes[i].channels[j].freq;
373 freqs[count] = 0;
377 return freqs;