Lines Matching refs:freqs
1147 int *freqs;
1153 freqs = os_calloc(len + 1, sizeof(int));
1154 if (freqs == NULL)
1164 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int));
1166 os_free(freqs);
1171 freqs = n;
1175 freqs[used] = atoi(pos);
1176 if (freqs[used] == 0)
1182 return freqs;
1190 int *freqs;
1192 freqs = wpa_config_parse_int_array(value);
1193 if (freqs == NULL)
1195 if (freqs[0] == 0) {
1196 os_free(freqs);
1197 freqs = NULL;
1200 ssid->scan_freq = freqs;
1210 int *freqs;
1212 freqs = wpa_config_parse_int_array(value);
1213 if (freqs == NULL)
1215 if (freqs[0] == 0) {
1216 os_free(freqs);
1217 freqs = NULL;
1220 ssid->freq_list = freqs;
1228 const int *freqs)
1234 if (freqs == NULL)
1238 for (i = 0; freqs[i]; i++)
1246 for (i = 0; freqs[i]; i++) {
1248 i == 0 ? "" : " ", freqs[i]);
3820 int *freqs;
3822 freqs = wpa_config_parse_int_array(value);
3823 if (freqs == NULL)
3825 if (freqs[0] == 0) {
3826 os_free(freqs);
3827 freqs = NULL;
3830 config->freq_list = freqs;