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

Johannes Berg johannes at sipsolutions.net
Sat Nov 16 00:38:46 PST 2024


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 <pkshih at realtek.com>
> > 
> > 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



More information about the wireless-regdb mailing list