From e3aad86a01c02c28a2c244153d4c376cefa9a5f4 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Wed, 8 Jul 2020 15:22:44 +0800 Subject: [PATCH] wireless-regdb: custom change txpower and dfs (#5036) Co-authored-by: Chen Minqiang --- .../600-custom-change-txpower-and-dfs.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/firmware/wireless-regdb/patches/600-custom-change-txpower-and-dfs.patch diff --git a/package/firmware/wireless-regdb/patches/600-custom-change-txpower-and-dfs.patch b/package/firmware/wireless-regdb/patches/600-custom-change-txpower-and-dfs.patch new file mode 100644 index 000000000..0435d4e75 --- /dev/null +++ b/package/firmware/wireless-regdb/patches/600-custom-change-txpower-and-dfs.patch @@ -0,0 +1,34 @@ +diff --git a/db.txt b/db.txt +index 90d3bc9..cc2a595 100644 +--- a/db.txt ++++ b/db.txt +@@ -347,9 +347,9 @@ country CL: DFS-JP + (5735 - 5835 @ 80), (20) + + country CN: DFS-FCC +- (2402 - 2482 @ 40), (20) +- (5170 - 5250 @ 80), (23), AUTO-BW +- (5250 - 5330 @ 80), (23), DFS, AUTO-BW ++ (2402 - 2482 @ 40), (30) ++ (5170 - 5250 @ 80), (30), AUTO-BW ++ (5250 - 5330 @ 80), (30), AUTO-BW + (5735 - 5835 @ 80), (30) + # 60 GHz band channels 1,4: 28dBm, channels 2,3: 44dBm + # ref: http://www.miit.gov.cn/n11293472/n11505629/n11506593/n11960250/n11960606/n11960700/n12330791.files/n12330790.pdf +@@ -1571,13 +1571,13 @@ country UG: DFS-FCC + country US: DFS-FCC + (2400 - 2483.5 @ 40), (30) + # 5.15 ~ 5.25 GHz: 30 dBm for master mode, 23 dBm for clients +- (5150 - 5250 @ 80), (23), AUTO-BW +- (5250 - 5350 @ 80), (23), DFS, AUTO-BW ++ (5150 - 5250 @ 80), (30), AUTO-BW ++ (5250 - 5350 @ 80), (30), AUTO-BW + # This range ends at 5725 MHz, but channel 144 extends to 5730 MHz. + # Since 5725 ~ 5730 MHz belongs to the next range which has looser + # requirements, we can extend the range by 5 MHz to make the kernel + # happy and be able to use channel 144. +- (5470 - 5730 @ 160), (23), DFS ++ (5470 - 5730 @ 160), (30) + (5730 - 5850 @ 80), (30) + # 60g band + # reference: section IV-D https://docs.fcc.gov/public/attachments/FCC-16-89A1.pdf