Lines Matching refs:freqs
127 int *freqs;
130 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int));
131 if (!freqs)
134 num = get_shared_radio_freqs(wpa_s, freqs,
136 os_free(freqs);
149 int *freqs;
152 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int));
153 if (!freqs)
156 num = get_shared_radio_freqs(wpa_s, freqs,
162 if (p2p_supported_freq(wpa_s->global->p2p, freqs[i]))
163 p2p_freqs[j++] = freqs[i];
166 os_free(freqs);
272 params.freqs = social_channels;
278 params.freqs = social_channels;
3565 int *freqs, res, num, i;
3572 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int));
3573 if (!freqs)
3576 num = wpas_p2p_valid_oper_freqs(wpa_s, freqs,
3584 if (freqs[i] == freq) {
3595 os_free(freqs);
3814 int freqs[2] = { 0, 0 };
3858 freqs[0] = freq;
3859 params.freqs = freqs;
3978 int *freqs, res;
3981 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int));
3982 if (!freqs)
3985 num = get_shared_radio_freqs(wpa_s, freqs,
3988 "P2P: Setup freqs: freq=%d num_MCC=%d shared_freqs=%u",
4001 if (freqs[i] == freq)
4018 if (!p2p_supported_freq(wpa_s->global->p2p, freqs[i]))
4024 *force_freq = freqs[i];
4029 *pref_freq = freqs[i];
4034 *force_freq = freqs[i];
4054 os_free(freqs);
4376 int res, *freqs;
4458 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int));
4459 if (!freqs)
4462 res = wpas_p2p_valid_oper_freqs(wpa_s, freqs,
4465 os_free(freqs);
4472 if (freq_included(channels, freqs[i])) {
4474 freqs[i]);
4475 params->freq = freqs[i];
4483 os_free(freqs);
4491 if (freqs[i] == freq)
4498 os_free(freqs);
4505 os_free(freqs);