Lines Matching refs:freqs
917 int *freqs; in wpa_config_parse_freqs() local
923 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_freqs()
924 if (freqs == NULL) in wpa_config_parse_freqs()
934 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_freqs()
936 os_free(freqs); in wpa_config_parse_freqs()
941 freqs = n; in wpa_config_parse_freqs()
945 freqs[used] = atoi(pos); in wpa_config_parse_freqs()
946 if (freqs[used] == 0) in wpa_config_parse_freqs()
952 return freqs; in wpa_config_parse_freqs()
960 int *freqs; in wpa_config_parse_scan_freq() local
962 freqs = wpa_config_parse_freqs(data, ssid, line, value); in wpa_config_parse_scan_freq()
963 if (freqs == NULL) in wpa_config_parse_scan_freq()
966 ssid->scan_freq = freqs; in wpa_config_parse_scan_freq()
976 int *freqs; in wpa_config_parse_freq_list() local
978 freqs = wpa_config_parse_freqs(data, ssid, line, value); in wpa_config_parse_freq_list()
979 if (freqs == NULL) in wpa_config_parse_freq_list()
982 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
990 const int *freqs) in wpa_config_write_freqs() argument
996 if (freqs == NULL) in wpa_config_write_freqs()
1000 for (i = 0; freqs[i]; i++) in wpa_config_write_freqs()
1008 for (i = 0; freqs[i]; i++) { in wpa_config_write_freqs()
1010 i == 0 ? "" : " ", freqs[i]); in wpa_config_write_freqs()