[wireless-regdb] [PATCH] regdb: remove unused 10 MHz wide rules for JP

Johannes Berg johannes at sipsolutions.net
Tue Dec 4 18:13:35 EST 2012


On Wed, 2012-12-05 at 00:02 +0100, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg at intel.com>
> 
> The 10 MHz rules overlap completely with other rules,
> so the kernel implementation will simply continue
> searching when it finds them as it looks for at least
> 20 MHz. But even if it were to look for less it would
> still be allowed either way.

Not true, it won't skip them ... my bad.

>  country JP:
>  	(2402 - 2482 @ 40), (N/A, 20)
>  	(2474 - 2494 @ 20), (N/A, 20), NO-OFDM
> -	(4910 - 4930 @ 10), (N/A, 23)
>  	(4910 - 4990 @ 40), (N/A, 23)

This @10 rule will in fact prevent channel 184 from getting used
together with HT40. It won't prevent anyone from using channel 184 as a
20 MHz channel because the kernel doesn't check the bandwidth for 20 MHz
channels at all.... (!)

>  	(4910 - 4990 @ 40), (N/A, 23)
> -	(4930 - 4950 @ 10), (N/A, 23)
> -	(5030 - 5045 @ 10), (N/A, 23)
>  	(5030 - 5090 @ 40), (N/A, 23)
> -	(5050 - 5060 @ 10), (N/A, 23)

These are in fact useless since they come *after* wider rules that
totally contain them, so they can't have any effect.

johannes




More information about the wireless-regdb mailing list