Lines Matching refs:freqs
945 int *freqs; in wpa_config_parse_freqs() local
951 freqs = os_zalloc((len + 1) * sizeof(int)); in wpa_config_parse_freqs()
952 if (freqs == NULL) in wpa_config_parse_freqs()
962 n = os_realloc(freqs, (len * 2 + 1) * sizeof(int)); in wpa_config_parse_freqs()
964 os_free(freqs); in wpa_config_parse_freqs()
969 freqs = n; in wpa_config_parse_freqs()
973 freqs[used] = atoi(pos); in wpa_config_parse_freqs()
974 if (freqs[used] == 0) in wpa_config_parse_freqs()
980 return freqs; in wpa_config_parse_freqs()
988 int *freqs; in wpa_config_parse_scan_freq() local
990 freqs = wpa_config_parse_freqs(data, ssid, line, value); in wpa_config_parse_scan_freq()
991 if (freqs == NULL) in wpa_config_parse_scan_freq()
994 ssid->scan_freq = freqs; in wpa_config_parse_scan_freq()
1004 int *freqs; in wpa_config_parse_freq_list() local
1006 freqs = wpa_config_parse_freqs(data, ssid, line, value); in wpa_config_parse_freq_list()
1007 if (freqs == NULL) in wpa_config_parse_freq_list()
1010 ssid->freq_list = freqs; in wpa_config_parse_freq_list()
1018 const int *freqs) in wpa_config_write_freqs() argument
1024 if (freqs == NULL) in wpa_config_write_freqs()
1028 for (i = 0; freqs[i]; i++) in wpa_config_write_freqs()
1036 for (i = 0; freqs[i]; i++) { in wpa_config_write_freqs()
1038 i == 0 ? "" : " ", freqs[i]); in wpa_config_write_freqs()