From 4ba9e7f8aed11be5daf761d8edebff82464fe432 Mon Sep 17 00:00:00 2001 From: yinqingzhao Date: Sun, 27 Apr 2025 16:47:15 +0800 Subject: [PATCH] fix(wifi): update regdomain of US to support channel 169 --- components/esp_wifi/regulatory/esp_wifi_regulatory.c | 2 +- components/esp_wifi/regulatory/esp_wifi_regulatory.txt | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/esp_wifi/regulatory/esp_wifi_regulatory.c b/components/esp_wifi/regulatory/esp_wifi_regulatory.c index fa6fd3434c..c11c33f2ed 100644 --- a/components/esp_wifi/regulatory/esp_wifi_regulatory.c +++ b/components/esp_wifi/regulatory/esp_wifi_regulatory.c @@ -418,7 +418,7 @@ const wifi_regulatory_t regulatory_data[] = { { 36, 48, 3, 23, 0, 0 }, /* chan:36~48, max_bw:80M, max_power:23(dBm), dfs:0, reserved.*/ { 52, 64, 3, 24, 1, 0 }, /* chan:52~64, max_bw:80M, max_power:24(dBm), dfs:1, reserved.*/ { 100, 144, 4, 24, 1, 0 }, /* chan:100~144, max_bw:160M, max_power:24(dBm), dfs:1, reserved.*/ - { 149, 165, 3, 30, 0, 0 }, /* chan:149~165, max_bw:80M, max_power:30(dBm), dfs:0, reserved.*/ + { 149, 169, 3, 27, 0, 0 }, /* chan:149~169, max_bw:80M, max_power:27(dBm), dfs:0, reserved.*/ { 173, 177, 2, 27, 0, 0 }, /* chan:173~177, max_bw:40M, max_power:27(dBm), dfs:0, reserved.*/ } }, diff --git a/components/esp_wifi/regulatory/esp_wifi_regulatory.txt b/components/esp_wifi/regulatory/esp_wifi_regulatory.txt index 4454a5c9a8..22c96d3381 100644 --- a/components/esp_wifi/regulatory/esp_wifi_regulatory.txt +++ b/components/esp_wifi/regulatory/esp_wifi_regulatory.txt @@ -1966,10 +1966,14 @@ country US: DFS-FCC # requirements, we can extend the range by 5 MHz to make the kernel # happy and be able to use channel 144. (5470 - 5730 @ 160), (24), DFS - (5730 - 5850 @ 80), (30), AUTO-BW + # This range ends at 5850 MHz, but channel 169 extends to 5855 MHz. + # Since 5850 ~ 5855 MHz belongs to the next range which has looser + # requirements, we extend the range by 5 MHz to make the driver + # happy and be able to use channel 169. + (5730 - 5855 @ 80), (27), AUTO-BW # https://www.federalregister.gov/documents/2021/05/03/2021-08802/use-of-the-5850-5925-ghz-band # max. 33 dBm AP @ 20MHz, 36 dBm AP @ 40Mhz+, 6 dB less for clients - (5850 - 5895 @ 40), (27), NO-OUTDOOR, AUTO-BW, NO-IR + (5855 - 5895 @ 40), (27), NO-OUTDOOR, AUTO-BW, NO-IR # 6g band # https://www.federalregister.gov/documents/2020/05/26/2020-11236/unlicensed-use-of-the-6ghz-band (5925 - 7125 @ 320), (12), NO-OUTDOOR, NO-IR