Lines Matching refs:freqs

1382 	int *freqs;  in wpa_config_parse_int_array()  local
1388 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_int_array()
1389 if (freqs == NULL) in wpa_config_parse_int_array()
1399 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_int_array()
1401 os_free(freqs); in wpa_config_parse_int_array()
1406 freqs = n; in wpa_config_parse_int_array()
1410 freqs[used] = atoi(pos); in wpa_config_parse_int_array()
1411 if (freqs[used] == 0) in wpa_config_parse_int_array()
1417 return freqs; in wpa_config_parse_int_array()
1425 int *freqs; in wpa_config_parse_scan_freq() local
1427 freqs = wpa_config_parse_int_array(value); in wpa_config_parse_scan_freq()
1428 if (freqs == NULL) in wpa_config_parse_scan_freq()
1430 if (freqs[0] == 0) { in wpa_config_parse_scan_freq()
1431 os_free(freqs); in wpa_config_parse_scan_freq()
1432 freqs = NULL; in wpa_config_parse_scan_freq()
1435 ssid->scan_freq = freqs; in wpa_config_parse_scan_freq()
1445 int *freqs; in wpa_config_parse_freq_list() local
1447 freqs = wpa_config_parse_int_array(value); in wpa_config_parse_freq_list()
1448 if (freqs == NULL) in wpa_config_parse_freq_list()
1450 if (freqs[0] == 0) { in wpa_config_parse_freq_list()
1451 os_free(freqs); in wpa_config_parse_freq_list()
1452 freqs = NULL; in wpa_config_parse_freq_list()
1455 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
1463 const int *freqs) in wpa_config_write_freqs() argument
1469 if (freqs == NULL) in wpa_config_write_freqs()
1473 for (i = 0; freqs[i]; i++) in wpa_config_write_freqs()
1481 for (i = 0; freqs[i]; i++) { in wpa_config_write_freqs()
1483 i == 0 ? "" : " ", freqs[i]); in wpa_config_write_freqs()
4592 int *freqs; in wpa_config_process_freq_list() local
4594 freqs = wpa_config_parse_int_array(value); in wpa_config_process_freq_list()
4595 if (freqs == NULL) in wpa_config_process_freq_list()
4597 if (freqs[0] == 0) { in wpa_config_process_freq_list()
4598 os_free(freqs); in wpa_config_process_freq_list()
4599 freqs = NULL; in wpa_config_process_freq_list()
4602 config->freq_list = freqs; in wpa_config_process_freq_list()
4612 int *freqs; in wpa_config_process_initial_freq_list() local
4614 freqs = wpa_config_parse_int_array(value); in wpa_config_process_initial_freq_list()
4615 if (!freqs) in wpa_config_process_initial_freq_list()
4617 if (freqs[0] == 0) { in wpa_config_process_initial_freq_list()
4618 os_free(freqs); in wpa_config_process_initial_freq_list()
4619 freqs = NULL; in wpa_config_process_initial_freq_list()
4622 config->initial_freq_list = freqs; in wpa_config_process_initial_freq_list()