• Home
  • Raw
  • Download

Lines Matching refs:freqs

320 	if (params->freqs == NULL && wpa_s->p2p_in_provisioning &&  in wpa_supplicant_optimize_freqs()
328 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs()
329 if (params->freqs) in wpa_supplicant_optimize_freqs()
330 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs()
335 int_array_concat(&params->freqs, in wpa_supplicant_optimize_freqs()
337 if (params->freqs) in wpa_supplicant_optimize_freqs()
338 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs()
345 if (params->freqs == NULL && wpa_s->after_wps && wpa_s->wps_freq) { in wpa_supplicant_optimize_freqs()
352 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs()
353 if (params->freqs) in wpa_supplicant_optimize_freqs()
354 params->freqs[0] = wpa_s->wps_freq; in wpa_supplicant_optimize_freqs()
358 if (params->freqs == NULL && wpa_s->known_wps_freq && wpa_s->wps_freq) in wpa_supplicant_optimize_freqs()
363 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs()
364 if (params->freqs) in wpa_supplicant_optimize_freqs()
365 params->freqs[0] = wpa_s->wps_freq; in wpa_supplicant_optimize_freqs()
616 if ((params.freqs || !freqs_set) && tssid->scan_freq) { in wpa_supplicant_scan()
617 int_array_concat(&params.freqs, in wpa_supplicant_scan()
620 os_free(params.freqs); in wpa_supplicant_scan()
621 params.freqs = NULL; in wpa_supplicant_scan()
625 int_array_sort_unique(params.freqs); in wpa_supplicant_scan()
672 if (params.freqs == NULL && wpa_s->next_scan_freqs) { in wpa_supplicant_scan()
675 params.freqs = wpa_s->next_scan_freqs; in wpa_supplicant_scan()
704 os_free(params.freqs); in wpa_supplicant_scan()