Re: [PATCH] wireless-regdb: assert and correct maximum bandwidth within frequency difference

Johannes Berg <[email protected]> Sat, 16 Nov 2024 09:38:46 +0100
Newsgroups org.infradead.lists.wireless-regdb,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On Sat, 2024-11-16 at 09:33 +0100, Johannes Berg wrote:
> On Sat, 2024-11-16 at 16:24 +0800, Ping-Ke Shih wrote:
> > From: Ping-Ke Shih <[email protected]>
> > 
> > Since kernel will reject max bandwidth being larger than freq_diff in
> > is_valid_reg_rule(), as well reject it ahead.
> 
> Not sure that's generally true, if you have AUTO-BW I think it should be
> OK?
> 

Sorry, no, I guess AUTO-BW just lets it expand the bandwidth beyond the
listed, if there are adjacent ranges. Been ages since I looked at this.

Anyway this probably doesn't fix the user's problem, it just makes it
rejected when compiling already ;-)

johannes