Lines Matching refs:freqs

1438 	int *freqs;  in wpa_config_parse_int_array()  local
1444 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_int_array()
1445 if (freqs == NULL) in wpa_config_parse_int_array()
1455 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_int_array()
1457 os_free(freqs); in wpa_config_parse_int_array()
1462 freqs = n; in wpa_config_parse_int_array()
1466 freqs[used] = atoi(pos); in wpa_config_parse_int_array()
1467 if (freqs[used] == 0) in wpa_config_parse_int_array()
1473 return freqs; in wpa_config_parse_int_array()
1481 int *freqs; in wpa_config_parse_scan_freq() local
1483 freqs = wpa_config_parse_int_array(value); in wpa_config_parse_scan_freq()
1484 if (freqs == NULL) in wpa_config_parse_scan_freq()
1486 if (freqs[0] == 0) { in wpa_config_parse_scan_freq()
1487 os_free(freqs); in wpa_config_parse_scan_freq()
1488 freqs = NULL; in wpa_config_parse_scan_freq()
1491 ssid->scan_freq = freqs; in wpa_config_parse_scan_freq()
1501 int *freqs; in wpa_config_parse_freq_list() local
1503 freqs = wpa_config_parse_int_array(value); in wpa_config_parse_freq_list()
1504 if (freqs == NULL) in wpa_config_parse_freq_list()
1506 if (freqs[0] == 0) { in wpa_config_parse_freq_list()
1507 os_free(freqs); in wpa_config_parse_freq_list()
1508 freqs = NULL; in wpa_config_parse_freq_list()
1511 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
1519 const int *freqs) in wpa_config_write_freqs() argument
1525 if (freqs == NULL) in wpa_config_write_freqs()
1529 for (i = 0; freqs[i]; i++) in wpa_config_write_freqs()
1537 for (i = 0; freqs[i]; i++) { in wpa_config_write_freqs()
1539 i == 0 ? "" : " ", freqs[i]); in wpa_config_write_freqs()
4918 int *freqs; in wpa_config_process_freq_list() local
4920 freqs = wpa_config_parse_int_array(value); in wpa_config_process_freq_list()
4921 if (freqs == NULL) in wpa_config_process_freq_list()
4923 if (freqs[0] == 0) { in wpa_config_process_freq_list()
4924 os_free(freqs); in wpa_config_process_freq_list()
4925 freqs = NULL; in wpa_config_process_freq_list()
4928 config->freq_list = freqs; in wpa_config_process_freq_list()
4938 int *freqs; in wpa_config_process_initial_freq_list() local
4940 freqs = wpa_config_parse_int_array(value); in wpa_config_process_initial_freq_list()
4941 if (!freqs) in wpa_config_process_initial_freq_list()
4943 if (freqs[0] == 0) { in wpa_config_process_initial_freq_list()
4944 os_free(freqs); in wpa_config_process_initial_freq_list()
4945 freqs = NULL; in wpa_config_process_initial_freq_list()
4948 config->initial_freq_list = freqs; in wpa_config_process_initial_freq_list()