Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:freqs

334 	if (params->freqs == NULL && wpa_s->p2p_in_provisioning &&
342 params->freqs = os_zalloc(2 * sizeof(int));
343 if (params->freqs)
344 params->freqs[0] = wpa_s->go_params->freq;
349 int_array_concat(&params->freqs,
351 if (params->freqs)
352 int_array_sort_unique(params->freqs);
359 if (params->freqs == NULL && wpa_s->after_wps && wpa_s->wps_freq) {
366 params->freqs = os_zalloc(2 * sizeof(int));
367 if (params->freqs)
368 params->freqs[0] = wpa_s->wps_freq;
372 if (params->freqs == NULL && wpa_s->known_wps_freq && wpa_s->wps_freq)
377 params->freqs = os_zalloc(2 * sizeof(int));
378 if (params->freqs)
379 params->freqs[0] = wpa_s->wps_freq;
514 params->freqs = os_zalloc(sizeof(int));
518 params->freqs = os_zalloc((mode->num_channels + 1) * sizeof(int));
519 if (params->freqs == NULL)
524 params->freqs[count++] = mode->channels[i].freq;
534 if (params->freqs)
720 if ((params.freqs || !freqs_set) && tssid->scan_freq) {
721 int_array_concat(&params.freqs,
724 os_free(params.freqs);
725 params.freqs = NULL;
729 int_array_sort_unique(params.freqs);
771 if (params.freqs == NULL && wpa_s->next_scan_freqs) {
774 params.freqs = wpa_s->next_scan_freqs;
781 if (wpa_s->conf->freq_list && !params.freqs) {
784 int_array_concat(&params.freqs, wpa_s->conf->freq_list);
788 if (wpa_s->conf->scan_cur_freq && !params.freqs) {
791 params.freqs = os_calloc(num + 1, sizeof(int));
792 if (params.freqs) {
793 num = get_shared_radio_freqs(wpa_s, params.freqs, num);
799 os_free(params.freqs);
800 params.freqs = NULL;
837 !scan_params->freqs && !params.freqs &&
843 params.freqs = os_calloc(num + 1, sizeof(int));
844 if (params.freqs) {
845 num = get_shared_radio_freqs(wpa_s, params.freqs, num);
849 os_free(params.freqs);
850 params.freqs = NULL;
859 os_free(params.freqs);