diff mbox series

[v2] wireless-regdb: Update regulatory info for Vietnam (VN) for 2025

Message ID 12521651747386138@mail-sendbernar-production-main-36.klg.yp-c.yandex.net
State New
Headers show
Series [v2] wireless-regdb: Update regulatory info for Vietnam (VN) for 2025 | expand

Commit Message

Duy Hoang May 16, 2025, 9:02 a.m. UTC
According to [1] and [2]:
- Update frequency range to match with Circular
- Update units from dBm to mW to match values listed in Circular
- Add AUTO-BW flags to allow the use of 160 MHz based on other rules
- Update to allow use of 6 GHz band

Detail:
* 2400 - 2483.5 MHz
  - 200 mW (23 dBm)
* 5150 - 5250 MHz
  - 200 mW (23 dBm)
  - Indoor only
* 5250 - 5350 MHz
  - 100 mW (20 dBm)
  - DFS/TPC
* 5470 - 5725 MHz
  - 500 mW (27 dBm)
  - DFS/TPC
* 5725 - 5850 MHz
  - 1000 mW (30 dBm)
* 5925 - 6425 MHz
  - LPI
    * 200 mW (23 dBm)
    * Indoor only
  - VLP
    * 25 mW (14 dBm)
    * Indoor and outdoor
* 57000 - 66000 MHz
  - 10000 mW

[1] https://datafiles.chinhphu.vn/cpp/files/vbpq/2021/10/08-btttt.signed.pdf
[2] https://mic.gov.vn/van-ban-phap-luat/25099.htm

Signed-off-by: Hoang Pham Anh Duy <duy@etylix.me>
---
Patch v2:
  - Since Linux does not support TPC, reduce 5250 - 5350 MHz to 100 mW and 5470 - 5725 MHz to 500mW
  - Add AUTO-BW for 6GHz band
  - Add 60GHz
---
 db.txt | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Comments

Johannes Berg May 16, 2025, 9:08 a.m. UTC | #1
On Fri, 2025-05-16 at 16:02 +0700, Duy Hoang wrote:
> 
> * 5470 - 5725 MHz
>   - 500 mW (27 dBm)

So as we found in the ETSI thread, this (500 mW == 27 dBm) isn't
actually what happens, but rather you get 26 dBm.

However, the Vietnam regulations, although seemingly the same as ETSI,
explicitly state 500 mW rather than the 3 dB reduction from 1 W that's
stated in Germany!

I'd still probably argue that the difference between 500 and 501.187 is
small enough that you can state 27 dB here in the db, rather than
stating 500mW.

I'm not sure we should make the processing scripts do rounding in this
case, perhaps we should, if we decide that we want to ignore the
difference of 0.237%?

johannes
diff mbox series

Patch

diff --git a/db.txt b/db.txt
index e331d4f..4e9539b 100644
--- a/db.txt
+++ b/db.txt
@@ -2001,12 +2001,17 @@  country VI: DFS-FCC
 	(5490 - 5730 @ 160), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
+# Source:
+# https://datafiles.chinhphu.vn/cpp/files/vbpq/2021/10/08-btttt.signed.pdf
+# https://mic.gov.vn/van-ban-phap-luat/25099.htm
 country VN: DFS-FCC
-	(2402 - 2482 @ 40), (20)
-	(5170 - 5250 @ 80), (17)
-	(5250 - 5330 @ 80), (24), DFS
-	(5490 - 5730 @ 80), (24), DFS
-	(5735 - 5835 @ 80), (30)
+	(2400 - 2483.5 @ 40), (200 mW)
+	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW
+	(5250 - 5350 @ 80), (100 mW), DFS, AUTO-BW
+	(5470 - 5725 @ 80), (500 mW), DFS, AUTO-BW
+	(5725 - 5850 @ 80), (1000 mW), AUTO-BW
+	(5925 - 6425 @ 320), (200 mW), NO-OUTDOOR, AUTO-BW
+	(57000 - 66000 @ 2160), (10000 mW), NO-OUTDOOR
 
 # Source:
 # http://www.trr.vu/attachments/category/130/GURL_for_Short-range_Radiocommunication_Devices2.pdf