Hi James, On 3/3/22 11:22, James Prestwood wrote: > With the addition of 6GHz '6000' is no longer the maximum frequency > that could be in .known_network.freq. > --- > src/knownnetworks.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/knownnetworks.c b/src/knownnetworks.c > index 87df8b4d..fc024333 100644 > --- a/src/knownnetworks.c > +++ b/src/knownnetworks.c > @@ -856,7 +856,7 @@ static struct l_queue *known_frequencies_from_string(char *freq_set_str) > > t = strtoul(freq_set_str, &freq_set_str, 10); > > - if (unlikely(errno == ERANGE || !t || t > 6000)) > + if (unlikely(errno == ERANGE || !t || t > 7115)) Do you want to use band_freq_to_channel here instead? That one checks the valid freqs... > goto error; > > known_freq = l_new(struct known_frequency, 1); > Regards, -Denis