regdb: remove unused 10 MHz wide rules for JP
PATCH 1/1 regdb: remove unused 10 MHz wide rules for JP
From: Johannes Berg <[email protected]>
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.
So just remove the unused rules.
--- db.txt | 4 ---- 1 file changed, 4 deletions(-)
db.txt +0 -4
@@ -376,12 +376,8 @@ country JM: 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) - (4930 - 4950 @ 10), (N/A, 23) - (5030 - 5045 @ 10), (N/A, 23) (5030 - 5090 @ 40), (N/A, 23) - (5050 - 5060 @ 10), (N/A, 23) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 23), DFS
Signature · 9 lines
1.8.0 _______________________________________________ wireless-regdb mailing list [email protected] http://lists.infradead.org/mailman/listinfo/wireless-regdb
Quoted 7 lines · Johannes Berg
From: Johannes Berg <[email protected]>
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.
db.txt country JM: · line 379
Quoted 5 lines
country JP:
db.txt +0
-1(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.... (!)
db.txt country JM: · line 384
Quoted 5 lines
db.txt +0
-3(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
_______________________________________________
wireless-regdb mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/wireless-regdb
PATCH v2 1/1 regdb: remove unused 10 MHz wide rules for JP
In reply to Johannes BergFrom: Johannes Berg <[email protected]>
These 10 MHz rules follow wider rules that contain them completely, so they will never be used as searching will stop in the previous rule; remove them.
--- db.txt | 3 --- 1 file changed, 3 deletions(-)
db.txt +0 -3
@@ -378,10 +378,7 @@ country JP: (2474 - 2494 @ 20), (N/A, 20), NO-OFDM (4910 - 4930 @ 10), (N/A, 23) (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) (5170 - 5250 @ 40), (N/A, 20) (5250 - 5330 @ 40), (N/A, 20), DFS (5490 - 5710 @ 40), (N/A, 23), DFS
Signature · 9 lines
1.8.0 _______________________________________________ wireless-regdb mailing list [email protected] http://lists.infradead.org/mailman/listinfo/wireless-regdb