[PATCH] wireless-regdb: add country selection
Florian Eckert
fe at dev.tdt.de
Mon Jul 13 05:09:20 EDT 2020
Until now it has not been possible to remove countries from the regdb.
The packages has been extended, so that it is now possible to add or
omit individual countries in the regdb during package compile time.
If this option is not activated, then all countries in the regdb are taken
over as before.
If the package is updated to a new version. Then the script
`build_menuconfig` must be executed with the argument of the new db.txt to
update the country specification.
Signed-off-by: Florian Eckert <fe at dev.tdt.de>
---
package/firmware/wireless-regdb/Makefile | 12 +-
package/firmware/wireless-regdb/build_db.sh | 45 ++
.../wireless-regdb/build_menuconfig.sh | 87 +++
.../wireless-regdb/config/Config-countries.in | 699 ++++++++++++++++++
.../firmware/wireless-regdb/config/Config.in | 15 +
package/firmware/wireless-regdb/countries/00 | 17 +
package/firmware/wireless-regdb/countries/AD | 10 +
package/firmware/wireless-regdb/countries/AE | 7 +
package/firmware/wireless-regdb/countries/AF | 6 +
package/firmware/wireless-regdb/countries/AI | 6 +
package/firmware/wireless-regdb/countries/AL | 8 +
package/firmware/wireless-regdb/countries/AM | 5 +
package/firmware/wireless-regdb/countries/AN | 6 +
package/firmware/wireless-regdb/countries/AR | 7 +
package/firmware/wireless-regdb/countries/AS | 7 +
package/firmware/wireless-regdb/countries/AT | 10 +
package/firmware/wireless-regdb/countries/AU | 9 +
package/firmware/wireless-regdb/countries/AW | 6 +
package/firmware/wireless-regdb/countries/AZ | 5 +
package/firmware/wireless-regdb/countries/BA | 10 +
package/firmware/wireless-regdb/countries/BB | 6 +
package/firmware/wireless-regdb/countries/BD | 4 +
package/firmware/wireless-regdb/countries/BE | 10 +
package/firmware/wireless-regdb/countries/BF | 7 +
package/firmware/wireless-regdb/countries/BG | 17 +
package/firmware/wireless-regdb/countries/BH | 6 +
package/firmware/wireless-regdb/countries/BL | 6 +
package/firmware/wireless-regdb/countries/BM | 7 +
package/firmware/wireless-regdb/countries/BN | 6 +
package/firmware/wireless-regdb/countries/BO | 5 +
package/firmware/wireless-regdb/countries/BR | 7 +
package/firmware/wireless-regdb/countries/BS | 7 +
package/firmware/wireless-regdb/countries/BT | 6 +
package/firmware/wireless-regdb/countries/BY | 6 +
package/firmware/wireless-regdb/countries/BZ | 4 +
package/firmware/wireless-regdb/countries/CA | 8 +
package/firmware/wireless-regdb/countries/CF | 7 +
package/firmware/wireless-regdb/countries/CH | 10 +
package/firmware/wireless-regdb/countries/CI | 7 +
package/firmware/wireless-regdb/countries/CL | 6 +
package/firmware/wireless-regdb/countries/CN | 11 +
package/firmware/wireless-regdb/countries/CO | 7 +
package/firmware/wireless-regdb/countries/CR | 7 +
package/firmware/wireless-regdb/countries/CU | 3 +
package/firmware/wireless-regdb/countries/CX | 7 +
package/firmware/wireless-regdb/countries/CY | 10 +
package/firmware/wireless-regdb/countries/CZ | 10 +
package/firmware/wireless-regdb/countries/DE | 10 +
package/firmware/wireless-regdb/countries/DK | 10 +
package/firmware/wireless-regdb/countries/DM | 6 +
package/firmware/wireless-regdb/countries/DO | 6 +
package/firmware/wireless-regdb/countries/DZ | 6 +
package/firmware/wireless-regdb/countries/EC | 7 +
package/firmware/wireless-regdb/countries/EE | 10 +
package/firmware/wireless-regdb/countries/EG | 5 +
package/firmware/wireless-regdb/countries/ES | 10 +
package/firmware/wireless-regdb/countries/ET | 6 +
.../firmware/wireless-regdb/countries/ETSI | 10 +
package/firmware/wireless-regdb/countries/FI | 10 +
package/firmware/wireless-regdb/countries/FM | 7 +
package/firmware/wireless-regdb/countries/FR | 10 +
package/firmware/wireless-regdb/countries/GB | 10 +
package/firmware/wireless-regdb/countries/GD | 7 +
package/firmware/wireless-regdb/countries/GE | 7 +
package/firmware/wireless-regdb/countries/GF | 6 +
package/firmware/wireless-regdb/countries/GH | 7 +
package/firmware/wireless-regdb/countries/GL | 6 +
package/firmware/wireless-regdb/countries/GP | 6 +
package/firmware/wireless-regdb/countries/GR | 10 +
package/firmware/wireless-regdb/countries/GT | 6 +
package/firmware/wireless-regdb/countries/GU | 7 +
package/firmware/wireless-regdb/countries/GY | 4 +
package/firmware/wireless-regdb/countries/HK | 7 +
package/firmware/wireless-regdb/countries/HN | 7 +
package/firmware/wireless-regdb/countries/HR | 16 +
package/firmware/wireless-regdb/countries/HT | 7 +
package/firmware/wireless-regdb/countries/HU | 10 +
package/firmware/wireless-regdb/countries/ID | 6 +
package/firmware/wireless-regdb/countries/IE | 10 +
package/firmware/wireless-regdb/countries/IL | 5 +
package/firmware/wireless-regdb/countries/IN | 7 +
package/firmware/wireless-regdb/countries/IR | 4 +
package/firmware/wireless-regdb/countries/IS | 10 +
package/firmware/wireless-regdb/countries/IT | 10 +
package/firmware/wireless-regdb/countries/JM | 7 +
package/firmware/wireless-regdb/countries/JO | 5 +
package/firmware/wireless-regdb/countries/JP | 11 +
package/firmware/wireless-regdb/countries/KE | 6 +
package/firmware/wireless-regdb/countries/KH | 6 +
package/firmware/wireless-regdb/countries/KN | 7 +
package/firmware/wireless-regdb/countries/KP | 7 +
package/firmware/wireless-regdb/countries/KR | 11 +
package/firmware/wireless-regdb/countries/KW | 5 +
package/firmware/wireless-regdb/countries/KY | 7 +
package/firmware/wireless-regdb/countries/KZ | 6 +
package/firmware/wireless-regdb/countries/LB | 7 +
package/firmware/wireless-regdb/countries/LC | 7 +
package/firmware/wireless-regdb/countries/LI | 10 +
package/firmware/wireless-regdb/countries/LK | 7 +
package/firmware/wireless-regdb/countries/LS | 6 +
package/firmware/wireless-regdb/countries/LT | 10 +
package/firmware/wireless-regdb/countries/LU | 10 +
package/firmware/wireless-regdb/countries/LV | 10 +
package/firmware/wireless-regdb/countries/MA | 5 +
package/firmware/wireless-regdb/countries/MC | 8 +
package/firmware/wireless-regdb/countries/MD | 8 +
package/firmware/wireless-regdb/countries/ME | 8 +
package/firmware/wireless-regdb/countries/MF | 6 +
package/firmware/wireless-regdb/countries/MH | 7 +
package/firmware/wireless-regdb/countries/MK | 10 +
package/firmware/wireless-regdb/countries/MN | 7 +
package/firmware/wireless-regdb/countries/MO | 7 +
package/firmware/wireless-regdb/countries/MP | 7 +
package/firmware/wireless-regdb/countries/MQ | 6 +
package/firmware/wireless-regdb/countries/MR | 6 +
package/firmware/wireless-regdb/countries/MT | 10 +
package/firmware/wireless-regdb/countries/MU | 7 +
package/firmware/wireless-regdb/countries/MV | 6 +
package/firmware/wireless-regdb/countries/MW | 6 +
package/firmware/wireless-regdb/countries/MX | 7 +
package/firmware/wireless-regdb/countries/MY | 7 +
package/firmware/wireless-regdb/countries/NG | 5 +
package/firmware/wireless-regdb/countries/NI | 7 +
package/firmware/wireless-regdb/countries/NL | 10 +
package/firmware/wireless-regdb/countries/NO | 10 +
package/firmware/wireless-regdb/countries/NP | 6 +
package/firmware/wireless-regdb/countries/NZ | 7 +
package/firmware/wireless-regdb/countries/OM | 6 +
package/firmware/wireless-regdb/countries/PA | 8 +
package/firmware/wireless-regdb/countries/PE | 7 +
package/firmware/wireless-regdb/countries/PF | 6 +
package/firmware/wireless-regdb/countries/PG | 7 +
package/firmware/wireless-regdb/countries/PH | 7 +
package/firmware/wireless-regdb/countries/PK | 4 +
package/firmware/wireless-regdb/countries/PL | 10 +
package/firmware/wireless-regdb/countries/PM | 6 +
package/firmware/wireless-regdb/countries/PR | 7 +
package/firmware/wireless-regdb/countries/PT | 10 +
package/firmware/wireless-regdb/countries/PW | 7 +
package/firmware/wireless-regdb/countries/PY | 7 +
package/firmware/wireless-regdb/countries/QA | 8 +
package/firmware/wireless-regdb/countries/RE | 6 +
package/firmware/wireless-regdb/countries/RO | 10 +
package/firmware/wireless-regdb/countries/RS | 10 +
package/firmware/wireless-regdb/countries/RU | 7 +
package/firmware/wireless-regdb/countries/RW | 7 +
package/firmware/wireless-regdb/countries/SA | 6 +
package/firmware/wireless-regdb/countries/SE | 10 +
package/firmware/wireless-regdb/countries/SG | 8 +
package/firmware/wireless-regdb/countries/SI | 10 +
package/firmware/wireless-regdb/countries/SK | 10 +
package/firmware/wireless-regdb/countries/SN | 7 +
package/firmware/wireless-regdb/countries/SR | 6 +
package/firmware/wireless-regdb/countries/SV | 6 +
package/firmware/wireless-regdb/countries/SY | 3 +
package/firmware/wireless-regdb/countries/TC | 7 +
package/firmware/wireless-regdb/countries/TD | 6 +
package/firmware/wireless-regdb/countries/TG | 6 +
package/firmware/wireless-regdb/countries/TH | 7 +
package/firmware/wireless-regdb/countries/TN | 5 +
package/firmware/wireless-regdb/countries/TR | 8 +
package/firmware/wireless-regdb/countries/TT | 7 +
package/firmware/wireless-regdb/countries/TW | 16 +
package/firmware/wireless-regdb/countries/TZ | 4 +
package/firmware/wireless-regdb/countries/UA | 9 +
package/firmware/wireless-regdb/countries/UG | 7 +
package/firmware/wireless-regdb/countries/US | 16 +
package/firmware/wireless-regdb/countries/UY | 6 +
package/firmware/wireless-regdb/countries/UZ | 5 +
package/firmware/wireless-regdb/countries/VC | 6 +
package/firmware/wireless-regdb/countries/VE | 6 +
package/firmware/wireless-regdb/countries/VI | 7 +
package/firmware/wireless-regdb/countries/VN | 7 +
package/firmware/wireless-regdb/countries/VU | 7 +
package/firmware/wireless-regdb/countries/WF | 6 +
package/firmware/wireless-regdb/countries/WS | 6 +
package/firmware/wireless-regdb/countries/YE | 3 +
package/firmware/wireless-regdb/countries/YT | 6 +
package/firmware/wireless-regdb/countries/ZA | 6 +
package/firmware/wireless-regdb/countries/ZW | 6 +
180 files changed, 2160 insertions(+), 1 deletion(-)
create mode 100755 package/firmware/wireless-regdb/build_db.sh
create mode 100755 package/firmware/wireless-regdb/build_menuconfig.sh
create mode 100644 package/firmware/wireless-regdb/config/Config-countries.in
create mode 100644 package/firmware/wireless-regdb/config/Config.in
create mode 100644 package/firmware/wireless-regdb/countries/00
create mode 100644 package/firmware/wireless-regdb/countries/AD
create mode 100644 package/firmware/wireless-regdb/countries/AE
create mode 100644 package/firmware/wireless-regdb/countries/AF
create mode 100644 package/firmware/wireless-regdb/countries/AI
create mode 100644 package/firmware/wireless-regdb/countries/AL
create mode 100644 package/firmware/wireless-regdb/countries/AM
create mode 100644 package/firmware/wireless-regdb/countries/AN
create mode 100644 package/firmware/wireless-regdb/countries/AR
create mode 100644 package/firmware/wireless-regdb/countries/AS
create mode 100644 package/firmware/wireless-regdb/countries/AT
create mode 100644 package/firmware/wireless-regdb/countries/AU
create mode 100644 package/firmware/wireless-regdb/countries/AW
create mode 100644 package/firmware/wireless-regdb/countries/AZ
create mode 100644 package/firmware/wireless-regdb/countries/BA
create mode 100644 package/firmware/wireless-regdb/countries/BB
create mode 100644 package/firmware/wireless-regdb/countries/BD
create mode 100644 package/firmware/wireless-regdb/countries/BE
create mode 100644 package/firmware/wireless-regdb/countries/BF
create mode 100644 package/firmware/wireless-regdb/countries/BG
create mode 100644 package/firmware/wireless-regdb/countries/BH
create mode 100644 package/firmware/wireless-regdb/countries/BL
create mode 100644 package/firmware/wireless-regdb/countries/BM
create mode 100644 package/firmware/wireless-regdb/countries/BN
create mode 100644 package/firmware/wireless-regdb/countries/BO
create mode 100644 package/firmware/wireless-regdb/countries/BR
create mode 100644 package/firmware/wireless-regdb/countries/BS
create mode 100644 package/firmware/wireless-regdb/countries/BT
create mode 100644 package/firmware/wireless-regdb/countries/BY
create mode 100644 package/firmware/wireless-regdb/countries/BZ
create mode 100644 package/firmware/wireless-regdb/countries/CA
create mode 100644 package/firmware/wireless-regdb/countries/CF
create mode 100644 package/firmware/wireless-regdb/countries/CH
create mode 100644 package/firmware/wireless-regdb/countries/CI
create mode 100644 package/firmware/wireless-regdb/countries/CL
create mode 100644 package/firmware/wireless-regdb/countries/CN
create mode 100644 package/firmware/wireless-regdb/countries/CO
create mode 100644 package/firmware/wireless-regdb/countries/CR
create mode 100644 package/firmware/wireless-regdb/countries/CU
create mode 100644 package/firmware/wireless-regdb/countries/CX
create mode 100644 package/firmware/wireless-regdb/countries/CY
create mode 100644 package/firmware/wireless-regdb/countries/CZ
create mode 100644 package/firmware/wireless-regdb/countries/DE
create mode 100644 package/firmware/wireless-regdb/countries/DK
create mode 100644 package/firmware/wireless-regdb/countries/DM
create mode 100644 package/firmware/wireless-regdb/countries/DO
create mode 100644 package/firmware/wireless-regdb/countries/DZ
create mode 100644 package/firmware/wireless-regdb/countries/EC
create mode 100644 package/firmware/wireless-regdb/countries/EE
create mode 100644 package/firmware/wireless-regdb/countries/EG
create mode 100644 package/firmware/wireless-regdb/countries/ES
create mode 100644 package/firmware/wireless-regdb/countries/ET
create mode 100644 package/firmware/wireless-regdb/countries/ETSI
create mode 100644 package/firmware/wireless-regdb/countries/FI
create mode 100644 package/firmware/wireless-regdb/countries/FM
create mode 100644 package/firmware/wireless-regdb/countries/FR
create mode 100644 package/firmware/wireless-regdb/countries/GB
create mode 100644 package/firmware/wireless-regdb/countries/GD
create mode 100644 package/firmware/wireless-regdb/countries/GE
create mode 100644 package/firmware/wireless-regdb/countries/GF
create mode 100644 package/firmware/wireless-regdb/countries/GH
create mode 100644 package/firmware/wireless-regdb/countries/GL
create mode 100644 package/firmware/wireless-regdb/countries/GP
create mode 100644 package/firmware/wireless-regdb/countries/GR
create mode 100644 package/firmware/wireless-regdb/countries/GT
create mode 100644 package/firmware/wireless-regdb/countries/GU
create mode 100644 package/firmware/wireless-regdb/countries/GY
create mode 100644 package/firmware/wireless-regdb/countries/HK
create mode 100644 package/firmware/wireless-regdb/countries/HN
create mode 100644 package/firmware/wireless-regdb/countries/HR
create mode 100644 package/firmware/wireless-regdb/countries/HT
create mode 100644 package/firmware/wireless-regdb/countries/HU
create mode 100644 package/firmware/wireless-regdb/countries/ID
create mode 100644 package/firmware/wireless-regdb/countries/IE
create mode 100644 package/firmware/wireless-regdb/countries/IL
create mode 100644 package/firmware/wireless-regdb/countries/IN
create mode 100644 package/firmware/wireless-regdb/countries/IR
create mode 100644 package/firmware/wireless-regdb/countries/IS
create mode 100644 package/firmware/wireless-regdb/countries/IT
create mode 100644 package/firmware/wireless-regdb/countries/JM
create mode 100644 package/firmware/wireless-regdb/countries/JO
create mode 100644 package/firmware/wireless-regdb/countries/JP
create mode 100644 package/firmware/wireless-regdb/countries/KE
create mode 100644 package/firmware/wireless-regdb/countries/KH
create mode 100644 package/firmware/wireless-regdb/countries/KN
create mode 100644 package/firmware/wireless-regdb/countries/KP
create mode 100644 package/firmware/wireless-regdb/countries/KR
create mode 100644 package/firmware/wireless-regdb/countries/KW
create mode 100644 package/firmware/wireless-regdb/countries/KY
create mode 100644 package/firmware/wireless-regdb/countries/KZ
create mode 100644 package/firmware/wireless-regdb/countries/LB
create mode 100644 package/firmware/wireless-regdb/countries/LC
create mode 100644 package/firmware/wireless-regdb/countries/LI
create mode 100644 package/firmware/wireless-regdb/countries/LK
create mode 100644 package/firmware/wireless-regdb/countries/LS
create mode 100644 package/firmware/wireless-regdb/countries/LT
create mode 100644 package/firmware/wireless-regdb/countries/LU
create mode 100644 package/firmware/wireless-regdb/countries/LV
create mode 100644 package/firmware/wireless-regdb/countries/MA
create mode 100644 package/firmware/wireless-regdb/countries/MC
create mode 100644 package/firmware/wireless-regdb/countries/MD
create mode 100644 package/firmware/wireless-regdb/countries/ME
create mode 100644 package/firmware/wireless-regdb/countries/MF
create mode 100644 package/firmware/wireless-regdb/countries/MH
create mode 100644 package/firmware/wireless-regdb/countries/MK
create mode 100644 package/firmware/wireless-regdb/countries/MN
create mode 100644 package/firmware/wireless-regdb/countries/MO
create mode 100644 package/firmware/wireless-regdb/countries/MP
create mode 100644 package/firmware/wireless-regdb/countries/MQ
create mode 100644 package/firmware/wireless-regdb/countries/MR
create mode 100644 package/firmware/wireless-regdb/countries/MT
create mode 100644 package/firmware/wireless-regdb/countries/MU
create mode 100644 package/firmware/wireless-regdb/countries/MV
create mode 100644 package/firmware/wireless-regdb/countries/MW
create mode 100644 package/firmware/wireless-regdb/countries/MX
create mode 100644 package/firmware/wireless-regdb/countries/MY
create mode 100644 package/firmware/wireless-regdb/countries/NG
create mode 100644 package/firmware/wireless-regdb/countries/NI
create mode 100644 package/firmware/wireless-regdb/countries/NL
create mode 100644 package/firmware/wireless-regdb/countries/NO
create mode 100644 package/firmware/wireless-regdb/countries/NP
create mode 100644 package/firmware/wireless-regdb/countries/NZ
create mode 100644 package/firmware/wireless-regdb/countries/OM
create mode 100644 package/firmware/wireless-regdb/countries/PA
create mode 100644 package/firmware/wireless-regdb/countries/PE
create mode 100644 package/firmware/wireless-regdb/countries/PF
create mode 100644 package/firmware/wireless-regdb/countries/PG
create mode 100644 package/firmware/wireless-regdb/countries/PH
create mode 100644 package/firmware/wireless-regdb/countries/PK
create mode 100644 package/firmware/wireless-regdb/countries/PL
create mode 100644 package/firmware/wireless-regdb/countries/PM
create mode 100644 package/firmware/wireless-regdb/countries/PR
create mode 100644 package/firmware/wireless-regdb/countries/PT
create mode 100644 package/firmware/wireless-regdb/countries/PW
create mode 100644 package/firmware/wireless-regdb/countries/PY
create mode 100644 package/firmware/wireless-regdb/countries/QA
create mode 100644 package/firmware/wireless-regdb/countries/RE
create mode 100644 package/firmware/wireless-regdb/countries/RO
create mode 100644 package/firmware/wireless-regdb/countries/RS
create mode 100644 package/firmware/wireless-regdb/countries/RU
create mode 100644 package/firmware/wireless-regdb/countries/RW
create mode 100644 package/firmware/wireless-regdb/countries/SA
create mode 100644 package/firmware/wireless-regdb/countries/SE
create mode 100644 package/firmware/wireless-regdb/countries/SG
create mode 100644 package/firmware/wireless-regdb/countries/SI
create mode 100644 package/firmware/wireless-regdb/countries/SK
create mode 100644 package/firmware/wireless-regdb/countries/SN
create mode 100644 package/firmware/wireless-regdb/countries/SR
create mode 100644 package/firmware/wireless-regdb/countries/SV
create mode 100644 package/firmware/wireless-regdb/countries/SY
create mode 100644 package/firmware/wireless-regdb/countries/TC
create mode 100644 package/firmware/wireless-regdb/countries/TD
create mode 100644 package/firmware/wireless-regdb/countries/TG
create mode 100644 package/firmware/wireless-regdb/countries/TH
create mode 100644 package/firmware/wireless-regdb/countries/TN
create mode 100644 package/firmware/wireless-regdb/countries/TR
create mode 100644 package/firmware/wireless-regdb/countries/TT
create mode 100644 package/firmware/wireless-regdb/countries/TW
create mode 100644 package/firmware/wireless-regdb/countries/TZ
create mode 100644 package/firmware/wireless-regdb/countries/UA
create mode 100644 package/firmware/wireless-regdb/countries/UG
create mode 100644 package/firmware/wireless-regdb/countries/US
create mode 100644 package/firmware/wireless-regdb/countries/UY
create mode 100644 package/firmware/wireless-regdb/countries/UZ
create mode 100644 package/firmware/wireless-regdb/countries/VC
create mode 100644 package/firmware/wireless-regdb/countries/VE
create mode 100644 package/firmware/wireless-regdb/countries/VI
create mode 100644 package/firmware/wireless-regdb/countries/VN
create mode 100644 package/firmware/wireless-regdb/countries/VU
create mode 100644 package/firmware/wireless-regdb/countries/WF
create mode 100644 package/firmware/wireless-regdb/countries/WS
create mode 100644 package/firmware/wireless-regdb/countries/YE
create mode 100644 package/firmware/wireless-regdb/countries/YT
create mode 100644 package/firmware/wireless-regdb/countries/ZA
create mode 100644 package/firmware/wireless-regdb/countries/ZW
diff --git a/package/firmware/wireless-regdb/Makefile b/package/firmware/wireless-regdb/Makefile
index fc18d159b1..d7a3027f8f 100644
--- a/package/firmware/wireless-regdb/Makefile
+++ b/package/firmware/wireless-regdb/Makefile
@@ -20,8 +20,18 @@ define Package/wireless-regdb
TITLE:=Wireless Regulatory Database
endef
+define Package/wireless-regdb/config
+ source "$(SOURCE)/config/Config.in
+endef
+
+define Build/Configure
+ $(CP) ./build_db.sh $(PKG_BUILD_DIR)/build_db.sh
+ $(CP) ./countries $(PKG_BUILD_DIR)/countries
+ $(PKG_BUILD_DIR)/build_db.sh $(TOPDIR)/.config
+endef
+
define Build/Compile
- $(STAGING_DIR_HOST)/bin/$(PYTHON) $(PKG_BUILD_DIR)/db2fw.py $(PKG_BUILD_DIR)/regulatory.db $(PKG_BUILD_DIR)/db.txt
+ $(STAGING_DIR_HOST)/bin/$(PYTHON) $(PKG_BUILD_DIR)/db2fw.py $(PKG_BUILD_DIR)/regulatory.db $(PKG_BUILD_DIR)/db-gen.txt
endef
define Package/wireless-regdb/install
diff --git a/package/firmware/wireless-regdb/build_db.sh b/package/firmware/wireless-regdb/build_db.sh
new file mode 100755
index 0000000000..81625af044
--- /dev/null
+++ b/package/firmware/wireless-regdb/build_db.sh
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+main() {
+ local input="$1"
+
+ local country
+
+ # Set output file
+ local output=""
+ output="$(readlink -f "$0")"
+ build_dir="${output%/*}"
+ output="${build_dir}/db-gen.txt"
+
+ [ -f "${input}" ] || {
+ echo "Please provide the the openwrt .config file"
+ exit 1
+ }
+
+ [ -f "${build_dir}/db.txt" ] || {
+ echo "No wireless regdb file db.txt found"
+ exit 2
+ }
+
+ [ -f "${build_dir}/db-gen.txt" ] && rm "${build_dir}/db-gen.txt"
+
+ # If no custom is selected then use all countries
+ if ! grep "^CONFIG_WIRELESS_REGDB_CUSTOM=y$" < "${input}" 1>/dev/null 2>/dev/null; then
+ cp "${build_dir}/db.txt" "${build_dir}/db-gen.txt"
+ exit 0
+ fi
+
+ # Generate db-gen.txt depending on the selected countries
+ cat "${build_dir}/countries/ETSI" > "${build_dir}/db-gen.txt"
+ grep "^CONFIG_WIRELESS_REGDB_COUNTRY_" "${input}" | while read -r line ; do
+ country="${line%%=*}"
+ country="${country##*_}"
+ [ -f "${build_dir}/countries/${country}" ] || {
+ echo "Selected country domain ${country} not found"
+ exit 1
+ }
+ cat "${build_dir}/countries/${country}" >> "${build_dir}/db-gen.txt"
+ done
+}
+
+main "$@"
diff --git a/package/firmware/wireless-regdb/build_menuconfig.sh b/package/firmware/wireless-regdb/build_menuconfig.sh
new file mode 100755
index 0000000000..8861f72689
--- /dev/null
+++ b/package/firmware/wireless-regdb/build_menuconfig.sh
@@ -0,0 +1,87 @@
+#!/bin/sh
+
+
+generate_etsi() {
+ "${input}" "${country_dir}"
+ local input_file="$1"
+ local output_dir="$2"
+ local config_file="$3"
+}
+
+
+generate_entry() {
+ local input_file="$1"
+ local output_dir="$2"
+ local config_file="$3"
+
+ local start="no"
+ local result=1
+ local country=""
+
+ while IFS=" " read -r line; do
+ # Country
+ echo "$line" | grep "^country" 1>/dev/null 2>/dev/null
+ result="$?"
+ if [ "${result}" -eq 0 ]; then
+ start="yes"
+ country="$(echo "${line}" | cut -d' ' -f2)"
+ country="${country%%:}"
+ country="$(echo "${country}" | tr '[:lower:]' '[:upper:]')"
+ echo "Generate build config and regdb settings for ${country}"
+
+ {
+ printf 'config WIRELESS_REGDB_COUNTRY_%s\n' "${country}"
+ printf '\tbool "Select Country %s"\n' "${country}"
+ printf '\tdefault n\n\n'
+ } >> "${config_file}"
+ fi
+
+ # ETSI
+ echo "$line" | grep "^wmmrule ETSI:" 1>/dev/null 2>/dev/null
+ result="$?"
+ if [ "${result}" -eq 0 ]; then
+ start="yes"
+ country="$(echo "${line}" | cut -d' ' -f2)"
+ country="${country%%:}"
+ country="$(echo "${country}" | tr '[:lower:]' '[:upper:]')"
+ echo "Generate ETSI"
+ fi
+
+ [ "${start}" = "yes" ] && {
+ echo "${line}" >> "${output_dir}/${country}"
+ }
+
+ [ -z "$line" ] && [ "$start" = "yes" ] && {
+ start="no"
+ }
+
+ done < "${input_file}"
+}
+
+main() {
+ local input="$1"
+
+ # Set output file
+ local output=""
+ output="$(readlink -f "$0")"
+ pkgdir="${output%/*}"
+
+ local config_file="${pkgdir}/config/Config-countries.in"
+ local country_dir="${pkgdir}/countries"
+
+ [ -f "$input" ] || {
+ echo "Please provide the file db.txt from wireless-regdb"
+ exit 1
+ }
+
+ rm -rf "${config_file}"
+ rm -rf "${country_dir}"
+ mkdir -p "${country_dir}"
+
+ echo "# Autogenerated Config.in for country selection in regdb" > "${config_file}"
+ echo "menu \"Countries\"" >> "${config_file}"
+ generate_entry "${input}" "${country_dir}" "${config_file}"
+ echo "endmenu" >> "${config_file}"
+}
+
+main "$@"
diff --git a/package/firmware/wireless-regdb/config/Config-countries.in b/package/firmware/wireless-regdb/config/Config-countries.in
new file mode 100644
index 0000000000..2c595b4822
--- /dev/null
+++ b/package/firmware/wireless-regdb/config/Config-countries.in
@@ -0,0 +1,699 @@
+# Autogenerated Config.in for country selection in regdb
+menu "Countries"
+config WIRELESS_REGDB_COUNTRY_00
+ bool "Select Country 00"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AD
+ bool "Select Country AD"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AE
+ bool "Select Country AE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AF
+ bool "Select Country AF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AI
+ bool "Select Country AI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AL
+ bool "Select Country AL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AM
+ bool "Select Country AM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AN
+ bool "Select Country AN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AR
+ bool "Select Country AR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AS
+ bool "Select Country AS"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AT
+ bool "Select Country AT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AU
+ bool "Select Country AU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AW
+ bool "Select Country AW"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_AZ
+ bool "Select Country AZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BA
+ bool "Select Country BA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BB
+ bool "Select Country BB"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BD
+ bool "Select Country BD"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BE
+ bool "Select Country BE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BF
+ bool "Select Country BF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BG
+ bool "Select Country BG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BH
+ bool "Select Country BH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BL
+ bool "Select Country BL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BM
+ bool "Select Country BM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BN
+ bool "Select Country BN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BO
+ bool "Select Country BO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BR
+ bool "Select Country BR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BS
+ bool "Select Country BS"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BT
+ bool "Select Country BT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BY
+ bool "Select Country BY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_BZ
+ bool "Select Country BZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CA
+ bool "Select Country CA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CF
+ bool "Select Country CF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CH
+ bool "Select Country CH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CI
+ bool "Select Country CI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CL
+ bool "Select Country CL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CN
+ bool "Select Country CN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CO
+ bool "Select Country CO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CR
+ bool "Select Country CR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CU
+ bool "Select Country CU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CX
+ bool "Select Country CX"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CY
+ bool "Select Country CY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_CZ
+ bool "Select Country CZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_DE
+ bool "Select Country DE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_DK
+ bool "Select Country DK"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_DM
+ bool "Select Country DM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_DO
+ bool "Select Country DO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_DZ
+ bool "Select Country DZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_EC
+ bool "Select Country EC"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_EE
+ bool "Select Country EE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_EG
+ bool "Select Country EG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_ES
+ bool "Select Country ES"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_ET
+ bool "Select Country ET"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_FI
+ bool "Select Country FI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_FM
+ bool "Select Country FM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_FR
+ bool "Select Country FR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GB
+ bool "Select Country GB"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GD
+ bool "Select Country GD"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GE
+ bool "Select Country GE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GF
+ bool "Select Country GF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GH
+ bool "Select Country GH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GL
+ bool "Select Country GL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GP
+ bool "Select Country GP"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GR
+ bool "Select Country GR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GT
+ bool "Select Country GT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GU
+ bool "Select Country GU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_GY
+ bool "Select Country GY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_HK
+ bool "Select Country HK"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_HN
+ bool "Select Country HN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_HR
+ bool "Select Country HR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_HT
+ bool "Select Country HT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_HU
+ bool "Select Country HU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_ID
+ bool "Select Country ID"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_IE
+ bool "Select Country IE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_IL
+ bool "Select Country IL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_IN
+ bool "Select Country IN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_IR
+ bool "Select Country IR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_IS
+ bool "Select Country IS"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_IT
+ bool "Select Country IT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_JM
+ bool "Select Country JM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_JO
+ bool "Select Country JO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_JP
+ bool "Select Country JP"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KE
+ bool "Select Country KE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KH
+ bool "Select Country KH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KN
+ bool "Select Country KN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KP
+ bool "Select Country KP"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KR
+ bool "Select Country KR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KW
+ bool "Select Country KW"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KY
+ bool "Select Country KY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_KZ
+ bool "Select Country KZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LB
+ bool "Select Country LB"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LC
+ bool "Select Country LC"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LI
+ bool "Select Country LI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LK
+ bool "Select Country LK"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LS
+ bool "Select Country LS"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LT
+ bool "Select Country LT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LU
+ bool "Select Country LU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_LV
+ bool "Select Country LV"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MA
+ bool "Select Country MA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MC
+ bool "Select Country MC"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MD
+ bool "Select Country MD"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_ME
+ bool "Select Country ME"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MF
+ bool "Select Country MF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MH
+ bool "Select Country MH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MK
+ bool "Select Country MK"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MN
+ bool "Select Country MN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MO
+ bool "Select Country MO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MP
+ bool "Select Country MP"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MQ
+ bool "Select Country MQ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MR
+ bool "Select Country MR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MT
+ bool "Select Country MT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MU
+ bool "Select Country MU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MV
+ bool "Select Country MV"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MW
+ bool "Select Country MW"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MX
+ bool "Select Country MX"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_MY
+ bool "Select Country MY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_NG
+ bool "Select Country NG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_NI
+ bool "Select Country NI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_NL
+ bool "Select Country NL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_NO
+ bool "Select Country NO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_NP
+ bool "Select Country NP"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_NZ
+ bool "Select Country NZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_OM
+ bool "Select Country OM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PA
+ bool "Select Country PA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PE
+ bool "Select Country PE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PF
+ bool "Select Country PF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PG
+ bool "Select Country PG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PH
+ bool "Select Country PH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PK
+ bool "Select Country PK"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PL
+ bool "Select Country PL"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PM
+ bool "Select Country PM"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PR
+ bool "Select Country PR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PT
+ bool "Select Country PT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PW
+ bool "Select Country PW"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_PY
+ bool "Select Country PY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_QA
+ bool "Select Country QA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_RE
+ bool "Select Country RE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_RO
+ bool "Select Country RO"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_RS
+ bool "Select Country RS"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_RU
+ bool "Select Country RU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_RW
+ bool "Select Country RW"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SA
+ bool "Select Country SA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SE
+ bool "Select Country SE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SG
+ bool "Select Country SG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SI
+ bool "Select Country SI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SK
+ bool "Select Country SK"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SN
+ bool "Select Country SN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SR
+ bool "Select Country SR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SV
+ bool "Select Country SV"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_SY
+ bool "Select Country SY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TC
+ bool "Select Country TC"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TD
+ bool "Select Country TD"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TG
+ bool "Select Country TG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TH
+ bool "Select Country TH"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TN
+ bool "Select Country TN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TR
+ bool "Select Country TR"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TT
+ bool "Select Country TT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TW
+ bool "Select Country TW"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_TZ
+ bool "Select Country TZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_UA
+ bool "Select Country UA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_UG
+ bool "Select Country UG"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_US
+ bool "Select Country US"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_UY
+ bool "Select Country UY"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_UZ
+ bool "Select Country UZ"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_VC
+ bool "Select Country VC"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_VE
+ bool "Select Country VE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_VI
+ bool "Select Country VI"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_VN
+ bool "Select Country VN"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_VU
+ bool "Select Country VU"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_WF
+ bool "Select Country WF"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_WS
+ bool "Select Country WS"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_YE
+ bool "Select Country YE"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_YT
+ bool "Select Country YT"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_ZA
+ bool "Select Country ZA"
+ default n
+
+config WIRELESS_REGDB_COUNTRY_ZW
+ bool "Select Country ZW"
+ default n
+
+endmenu
diff --git a/package/firmware/wireless-regdb/config/Config.in b/package/firmware/wireless-regdb/config/Config.in
new file mode 100644
index 0000000000..d390541820
--- /dev/null
+++ b/package/firmware/wireless-regdb/config/Config.in
@@ -0,0 +1,15 @@
+if PACKAGE_wireless-regdb
+
+config WIRELESS_REGDB_CUSTOM
+ bool "Customize wirelss regdb country selection"
+ default n
+ help
+ Enabling this allows full customization the wireless regdb
+ country selection.
+
+ if WIRELESS_REGDB_CUSTOM
+ source "Config-countries.in"
+ endif
+
+endif
+
diff --git a/package/firmware/wireless-regdb/countries/00 b/package/firmware/wireless-regdb/countries/00
new file mode 100644
index 0000000000..fbf3a37511
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/00
@@ -0,0 +1,17 @@
+country 00:
+ (2402 - 2472 @ 40), (20)
+ # Channel 12 - 13.
+ (2457 - 2482 @ 20), (20), NO-IR, AUTO-BW
+ # Channel 14. Only JP enables this and for 802.11b only
+ (2474 - 2494 @ 20), (20), NO-IR, NO-OFDM
+ # Channel 36 - 48
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ # Channel 52 - 64
+ (5250 - 5330 @ 80), (20), NO-IR, DFS, AUTO-BW
+ # Channel 100 - 144
+ (5490 - 5730 @ 160), (20), NO-IR, DFS
+ # Channel 149 - 165
+ (5735 - 5835 @ 80), (20), NO-IR
+ # IEEE 802.11ad (60GHz), channels 1..3
+ (57240 - 63720 @ 2160), (0)
+
diff --git a/package/firmware/wireless-regdb/countries/AD b/package/firmware/wireless-regdb/countries/AD
new file mode 100644
index 0000000000..4d41043229
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AD
@@ -0,0 +1,10 @@
+country AD: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/AE b/package/firmware/wireless-regdb/countries/AE
new file mode 100644
index 0000000000..cbc0335095
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AE
@@ -0,0 +1,7 @@
+country AE: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/AF b/package/firmware/wireless-regdb/countries/AF
new file mode 100644
index 0000000000..90cfa13233
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AF
@@ -0,0 +1,6 @@
+country AF: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/AI b/package/firmware/wireless-regdb/countries/AI
new file mode 100644
index 0000000000..2a4bf988ce
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AI
@@ -0,0 +1,6 @@
+country AI: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/AL b/package/firmware/wireless-regdb/countries/AL
new file mode 100644
index 0000000000..3ff5dfb76b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AL
@@ -0,0 +1,8 @@
+country AL: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/AM b/package/firmware/wireless-regdb/countries/AM
new file mode 100644
index 0000000000..e95d7c7ad1
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AM
@@ -0,0 +1,5 @@
+country AM: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 20), (18)
+ (5250 - 5330 @ 20), (18), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/AN b/package/firmware/wireless-regdb/countries/AN
new file mode 100644
index 0000000000..405782e5bf
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AN
@@ -0,0 +1,6 @@
+country AN: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/AR b/package/firmware/wireless-regdb/countries/AR
new file mode 100644
index 0000000000..27718d2f81
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AR
@@ -0,0 +1,7 @@
+country AR: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/AS b/package/firmware/wireless-regdb/countries/AS
new file mode 100644
index 0000000000..8875d53a36
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AS
@@ -0,0 +1,7 @@
+country AS: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/AT b/package/firmware/wireless-regdb/countries/AT
new file mode 100644
index 0000000000..6f36954bf2
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AT
@@ -0,0 +1,10 @@
+country AT: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/AU b/package/firmware/wireless-regdb/countries/AU
new file mode 100644
index 0000000000..b097b13ff4
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AU
@@ -0,0 +1,9 @@
+country AU: DFS-ETSI
+ (2400 - 2483.5 @ 40), (36)
+ (5150 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW
+ (5250 - 5350 @ 80), (20), NO-OUTDOOR, AUTO-BW, DFS
+ (5470 - 5600 @ 80), (27), DFS
+ (5650 - 5730 @ 80), (27), DFS
+ (5730 - 5850 @ 80), (36)
+ (57000 - 66000 @ 2160), (43), NO-OUTDOOR
+
diff --git a/package/firmware/wireless-regdb/countries/AW b/package/firmware/wireless-regdb/countries/AW
new file mode 100644
index 0000000000..3f65634bbf
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AW
@@ -0,0 +1,6 @@
+country AW: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/AZ b/package/firmware/wireless-regdb/countries/AZ
new file mode 100644
index 0000000000..0b4fe663fb
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/AZ
@@ -0,0 +1,5 @@
+country AZ: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (18), AUTO-BW
+ (5250 - 5330 @ 80), (18), DFS, AUTO-BW
+
diff --git a/package/firmware/wireless-regdb/countries/BA b/package/firmware/wireless-regdb/countries/BA
new file mode 100644
index 0000000000..2e28b041fa
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BA
@@ -0,0 +1,10 @@
+country BA: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/BB b/package/firmware/wireless-regdb/countries/BB
new file mode 100644
index 0000000000..abbd29aefe
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BB
@@ -0,0 +1,6 @@
+country BB: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BD b/package/firmware/wireless-regdb/countries/BD
new file mode 100644
index 0000000000..df932b6afe
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BD
@@ -0,0 +1,4 @@
+country BD: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BE b/package/firmware/wireless-regdb/countries/BE
new file mode 100644
index 0000000000..3563286d05
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BE
@@ -0,0 +1,10 @@
+country BE: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/BF b/package/firmware/wireless-regdb/countries/BF
new file mode 100644
index 0000000000..715b32243e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BF
@@ -0,0 +1,7 @@
+country BF: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BG b/package/firmware/wireless-regdb/countries/BG
new file mode 100644
index 0000000000..fd4585b6cf
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BG
@@ -0,0 +1,17 @@
+country BG: DFS-ETSI
+ # Wideband data transmission systems (WDTS) in the 2.4GHz ISM band, ref:
+ # I.22 of the List, BDS EN 300 328
+ (2400 - 2483.5 @ 40), (100 mW)
+ # 5 GHz Radio Local Area Networks (RLANs), ref:
+ # II.H01 of the List, BDS EN 301 893
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ # II.H01 of the List, I.54 from the List, BDS EN 301 893
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ # I.43 of the List, BDS EN 300 440-2, BDS EN 300 440-1
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ # II.H03 of the List, BDS EN 302 567-2
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/BH b/package/firmware/wireless-regdb/countries/BH
new file mode 100644
index 0000000000..a8afa224a2
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BH
@@ -0,0 +1,6 @@
+country BH: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 20), (20)
+ (5250 - 5330 @ 20), (20), DFS
+ (5735 - 5835 @ 20), (20)
+
diff --git a/package/firmware/wireless-regdb/countries/BL b/package/firmware/wireless-regdb/countries/BL
new file mode 100644
index 0000000000..4630772003
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BL
@@ -0,0 +1,6 @@
+country BL: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/BM b/package/firmware/wireless-regdb/countries/BM
new file mode 100644
index 0000000000..693cca9fb8
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BM
@@ -0,0 +1,7 @@
+country BM: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BN b/package/firmware/wireless-regdb/countries/BN
new file mode 100644
index 0000000000..52e81dd091
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BN
@@ -0,0 +1,6 @@
+country BN: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (20)
+
diff --git a/package/firmware/wireless-regdb/countries/BO b/package/firmware/wireless-regdb/countries/BO
new file mode 100644
index 0000000000..508c0a690c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BO
@@ -0,0 +1,5 @@
+country BO: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5250 - 5330 @ 80), (30), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BR b/package/firmware/wireless-regdb/countries/BR
new file mode 100644
index 0000000000..18376af592
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BR
@@ -0,0 +1,7 @@
+country BR: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BS b/package/firmware/wireless-regdb/countries/BS
new file mode 100644
index 0000000000..ace671267a
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BS
@@ -0,0 +1,7 @@
+country BS: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/BT b/package/firmware/wireless-regdb/countries/BT
new file mode 100644
index 0000000000..10bb7b3c99
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BT
@@ -0,0 +1,6 @@
+country BT: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/BY b/package/firmware/wireless-regdb/countries/BY
new file mode 100644
index 0000000000..335d263510
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BY
@@ -0,0 +1,6 @@
+country BY: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/BZ b/package/firmware/wireless-regdb/countries/BZ
new file mode 100644
index 0000000000..e4dbec283d
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/BZ
@@ -0,0 +1,4 @@
+country BZ: DFS-JP
+ (2402 - 2482 @ 40), (30)
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CA b/package/firmware/wireless-regdb/countries/CA
new file mode 100644
index 0000000000..1d0051bcbe
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CA
@@ -0,0 +1,8 @@
+country CA: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5150 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW
+ (5250 - 5350 @ 80), (24), DFS, AUTO-BW
+ (5470 - 5600 @ 80), (24), DFS
+ (5650 - 5730 @ 80), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CF b/package/firmware/wireless-regdb/countries/CF
new file mode 100644
index 0000000000..457e61d65e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CF
@@ -0,0 +1,7 @@
+country CF: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 40), (17)
+ (5250 - 5330 @ 40), (24), DFS
+ (5490 - 5730 @ 40), (24), DFS
+ (5735 - 5835 @ 40), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CH b/package/firmware/wireless-regdb/countries/CH
new file mode 100644
index 0000000000..84d3296f68
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CH
@@ -0,0 +1,10 @@
+country CH: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/CI b/package/firmware/wireless-regdb/countries/CI
new file mode 100644
index 0000000000..b2df786113
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CI
@@ -0,0 +1,7 @@
+country CI: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CL b/package/firmware/wireless-regdb/countries/CL
new file mode 100644
index 0000000000..2afb121f2a
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CL
@@ -0,0 +1,6 @@
+country CL: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (20)
+
diff --git a/package/firmware/wireless-regdb/countries/CN b/package/firmware/wireless-regdb/countries/CN
new file mode 100644
index 0000000000..dbe28dfa70
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CN
@@ -0,0 +1,11 @@
+country CN: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, 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
+ (57240 - 59400 @ 2160), (28)
+ (59400 - 63720 @ 2160), (44)
+ (63720 - 65880 @ 2160), (28)
+
diff --git a/package/firmware/wireless-regdb/countries/CO b/package/firmware/wireless-regdb/countries/CO
new file mode 100644
index 0000000000..55d2666447
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CO
@@ -0,0 +1,7 @@
+country CO: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CR b/package/firmware/wireless-regdb/countries/CR
new file mode 100644
index 0000000000..6bc19c3377
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CR
@@ -0,0 +1,7 @@
+country CR: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 20), (17)
+ (5250 - 5330 @ 20), (24), DFS
+ (5490 - 5730 @ 20), (24), DFS
+ (5735 - 5835 @ 20), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CU b/package/firmware/wireless-regdb/countries/CU
new file mode 100644
index 0000000000..8a85adb30c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CU
@@ -0,0 +1,3 @@
+country CU: DFS-FCC
+ (2400 - 2483.5 @ 40), (200 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/CX b/package/firmware/wireless-regdb/countries/CX
new file mode 100644
index 0000000000..30a5cd58a1
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CX
@@ -0,0 +1,7 @@
+country CX: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/CY b/package/firmware/wireless-regdb/countries/CY
new file mode 100644
index 0000000000..b147fbfaf9
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CY
@@ -0,0 +1,10 @@
+country CY: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/CZ b/package/firmware/wireless-regdb/countries/CZ
new file mode 100644
index 0000000000..573817d05e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/CZ
@@ -0,0 +1,10 @@
+country CZ: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/DE b/package/firmware/wireless-regdb/countries/DE
new file mode 100644
index 0000000000..2f63c83224
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/DE
@@ -0,0 +1,10 @@
+country DE: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/DK b/package/firmware/wireless-regdb/countries/DK
new file mode 100644
index 0000000000..5259fdf9ee
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/DK
@@ -0,0 +1,10 @@
+country DK: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/DM b/package/firmware/wireless-regdb/countries/DM
new file mode 100644
index 0000000000..b541a1af60
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/DM
@@ -0,0 +1,6 @@
+country DM: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/DO b/package/firmware/wireless-regdb/countries/DO
new file mode 100644
index 0000000000..562bfdcb34
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/DO
@@ -0,0 +1,6 @@
+country DO: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/DZ b/package/firmware/wireless-regdb/countries/DZ
new file mode 100644
index 0000000000..0b25c6fc50
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/DZ
@@ -0,0 +1,6 @@
+country DZ: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170.000 - 5250.000 @ 80.000), (23.00), AUTO-BW
+ (5250.000 - 5330.000 @ 80.000), (23.00), DFS, AUTO-BW
+ (5490.000 - 5670.000 @ 160.000), (23.00), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/EC b/package/firmware/wireless-regdb/countries/EC
new file mode 100644
index 0000000000..2b6b8547b4
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/EC
@@ -0,0 +1,7 @@
+country EC: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 20), (17)
+ (5250 - 5330 @ 20), (24), DFS
+ (5490 - 5730 @ 20), (24), DFS
+ (5735 - 5835 @ 20), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/EE b/package/firmware/wireless-regdb/countries/EE
new file mode 100644
index 0000000000..af4baddb20
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/EE
@@ -0,0 +1,10 @@
+country EE: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/EG b/package/firmware/wireless-regdb/countries/EG
new file mode 100644
index 0000000000..a5f7d38713
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/EG
@@ -0,0 +1,5 @@
+country EG: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 40), (20)
+ (5250 - 5330 @ 40), (20), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/ES b/package/firmware/wireless-regdb/countries/ES
new file mode 100644
index 0000000000..07e8b11b35
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ES
@@ -0,0 +1,10 @@
+country ES: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/ET b/package/firmware/wireless-regdb/countries/ET
new file mode 100644
index 0000000000..00455e8c19
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ET
@@ -0,0 +1,6 @@
+country ET: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/ETSI b/package/firmware/wireless-regdb/countries/ETSI
new file mode 100644
index 0000000000..e7763b7110
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ETSI
@@ -0,0 +1,10 @@
+wmmrule ETSI:
+ vo_c: cw_min=3, cw_max=7, aifsn=2, cot=2
+ vi_c: cw_min=7, cw_max=15, aifsn=2, cot=4
+ be_c: cw_min=15, cw_max=1023, aifsn=3, cot=6
+ bk_c: cw_min=15, cw_max=1023, aifsn=7, cot=6
+ vo_ap: cw_min=3, cw_max=7, aifsn=1, cot=2
+ vi_ap: cw_min=7, cw_max=15, aifsn=1, cot=4
+ be_ap: cw_min=15, cw_max=63, aifsn=3, cot=6
+ bk_ap: cw_min=15, cw_max=1023, aifsn=7, cot=6
+
diff --git a/package/firmware/wireless-regdb/countries/FI b/package/firmware/wireless-regdb/countries/FI
new file mode 100644
index 0000000000..2023ab507c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/FI
@@ -0,0 +1,10 @@
+country FI: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/FM b/package/firmware/wireless-regdb/countries/FM
new file mode 100644
index 0000000000..ec3fe73596
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/FM
@@ -0,0 +1,7 @@
+country FM: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/FR b/package/firmware/wireless-regdb/countries/FR
new file mode 100644
index 0000000000..95c974e399
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/FR
@@ -0,0 +1,10 @@
+country FR: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/GB b/package/firmware/wireless-regdb/countries/GB
new file mode 100644
index 0000000000..cf0206777b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GB
@@ -0,0 +1,10 @@
+country GB: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-6
+ (57000 - 71000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/GD b/package/firmware/wireless-regdb/countries/GD
new file mode 100644
index 0000000000..e602bd4a73
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GD
@@ -0,0 +1,7 @@
+country GD: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/GE b/package/firmware/wireless-regdb/countries/GE
new file mode 100644
index 0000000000..5c59c1b23f
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GE
@@ -0,0 +1,7 @@
+country GE: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (18), AUTO-BW
+ (5250 - 5330 @ 80), (18), DFS, AUTO-BW
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/GF b/package/firmware/wireless-regdb/countries/GF
new file mode 100644
index 0000000000..9a63fdc77e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GF
@@ -0,0 +1,6 @@
+country GF: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/GH b/package/firmware/wireless-regdb/countries/GH
new file mode 100644
index 0000000000..8ea437f1e6
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GH
@@ -0,0 +1,7 @@
+country GH: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/GL b/package/firmware/wireless-regdb/countries/GL
new file mode 100644
index 0000000000..b0e5b58ad8
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GL
@@ -0,0 +1,6 @@
+country GL: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/GP b/package/firmware/wireless-regdb/countries/GP
new file mode 100644
index 0000000000..d643eee4f3
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GP
@@ -0,0 +1,6 @@
+country GP: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/GR b/package/firmware/wireless-regdb/countries/GR
new file mode 100644
index 0000000000..e337bdf92d
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GR
@@ -0,0 +1,10 @@
+country GR: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/GT b/package/firmware/wireless-regdb/countries/GT
new file mode 100644
index 0000000000..e8c7404dbe
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GT
@@ -0,0 +1,6 @@
+country GT: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/GU b/package/firmware/wireless-regdb/countries/GU
new file mode 100644
index 0000000000..79198c3683
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GU
@@ -0,0 +1,7 @@
+country GU: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 20), (17)
+ (5250 - 5330 @ 20), (24), DFS
+ (5490 - 5730 @ 20), (24), DFS
+ (5735 - 5835 @ 20), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/GY b/package/firmware/wireless-regdb/countries/GY
new file mode 100644
index 0000000000..7522bdce14
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/GY
@@ -0,0 +1,4 @@
+country GY:
+ (2402 - 2482 @ 40), (30)
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/HK b/package/firmware/wireless-regdb/countries/HK
new file mode 100644
index 0000000000..107d1e93cc
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/HK
@@ -0,0 +1,7 @@
+country HK: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/HN b/package/firmware/wireless-regdb/countries/HN
new file mode 100644
index 0000000000..64255478be
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/HN
@@ -0,0 +1,7 @@
+country HN: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/HR b/package/firmware/wireless-regdb/countries/HR
new file mode 100644
index 0000000000..5b082ef9c2
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/HR
@@ -0,0 +1,16 @@
+country HR: DFS-ETSI
+# HR as part of EU/CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)
+# and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)
+# EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213
+# EU decision 2006/771/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02008D0432-20080611
+# Harmonized CEPT countries (July 2019): https://www.ecodocdb.dk/download/25c41779-cd6e/Rec7003e.pdf
+# HR: http://tablice.hakom.hr:8080/vis?lang=en
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/HT b/package/firmware/wireless-regdb/countries/HT
new file mode 100644
index 0000000000..894d2b6667
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/HT
@@ -0,0 +1,7 @@
+country HT: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/HU b/package/firmware/wireless-regdb/countries/HU
new file mode 100644
index 0000000000..e1d0e0e828
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/HU
@@ -0,0 +1,10 @@
+country HU: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/ID b/package/firmware/wireless-regdb/countries/ID
new file mode 100644
index 0000000000..23125cc527
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ID
@@ -0,0 +1,6 @@
+country ID: DFS-JP
+ # ref: https://jdih.kominfo.go.id/produk_hukum/view/id/676/t/peraturan+menteri+komunikasi+dan+informatika+nomor+1+tahun+2019+tanggal+24+april+2019
+ (2400 - 2483.5 @ 40), (500 mW), NO-OUTDOOR
+ (5150 - 5350 @ 80), (200 mW), NO-OUTDOOR
+ (5725 - 5825 @ 80), (200 mW), NO-OUTDOOR
+
diff --git a/package/firmware/wireless-regdb/countries/IE b/package/firmware/wireless-regdb/countries/IE
new file mode 100644
index 0000000000..1470c1ec72
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/IE
@@ -0,0 +1,10 @@
+country IE: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/IL b/package/firmware/wireless-regdb/countries/IL
new file mode 100644
index 0000000000..5591895c0c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/IL
@@ -0,0 +1,5 @@
+country IL: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW
+ (5250 - 5350 @ 80), (200 mW), NO-OUTDOOR, DFS, AUTO-BW
+
diff --git a/package/firmware/wireless-regdb/countries/IN b/package/firmware/wireless-regdb/countries/IN
new file mode 100644
index 0000000000..c47a8ac05e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/IN
@@ -0,0 +1,7 @@
+country IN:
+ (2402 - 2482 @ 40), (20)
+ (5150 - 5250 @ 80), (30)
+ (5250 - 5350 @ 80), (24)
+ (5470 - 5725 @ 160), (24)
+ (5725 - 5875 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/IR b/package/firmware/wireless-regdb/countries/IR
new file mode 100644
index 0000000000..efb07c22fc
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/IR
@@ -0,0 +1,4 @@
+country IR: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/IS b/package/firmware/wireless-regdb/countries/IS
new file mode 100644
index 0000000000..96234e2e7e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/IS
@@ -0,0 +1,10 @@
+country IS: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/IT b/package/firmware/wireless-regdb/countries/IT
new file mode 100644
index 0000000000..541c2d1531
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/IT
@@ -0,0 +1,10 @@
+country IT: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/JM b/package/firmware/wireless-regdb/countries/JM
new file mode 100644
index 0000000000..f9f0274ac6
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/JM
@@ -0,0 +1,7 @@
+country JM: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/JO b/package/firmware/wireless-regdb/countries/JO
new file mode 100644
index 0000000000..30272daa12
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/JO
@@ -0,0 +1,5 @@
+country JO: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (23)
+ (5735 - 5835 @ 80), (23)
+
diff --git a/package/firmware/wireless-regdb/countries/JP b/package/firmware/wireless-regdb/countries/JP
new file mode 100644
index 0000000000..4b47efb10e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/JP
@@ -0,0 +1,11 @@
+country JP: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (2474 - 2494 @ 20), (20), NO-OFDM
+ (4910 - 4990 @ 40), (23)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (23), DFS
+ # 60 GHz band channels 2-4 at 10mW,
+ # ref: http://www.arib.or.jp/english/html/overview/doc/1-STD-T74v1_1.pdf
+ (57000 - 66000 @ 2160), (10 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/KE b/package/firmware/wireless-regdb/countries/KE
new file mode 100644
index 0000000000..bfd7fe53cf
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KE
@@ -0,0 +1,6 @@
+country KE: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (23)
+ (5490 - 5570 @ 80), (30), DFS
+ (5735 - 5775 @ 40), (23)
+
diff --git a/package/firmware/wireless-regdb/countries/KH b/package/firmware/wireless-regdb/countries/KH
new file mode 100644
index 0000000000..e94a4df6bf
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KH
@@ -0,0 +1,6 @@
+country KH: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/KN b/package/firmware/wireless-regdb/countries/KN
new file mode 100644
index 0000000000..f90c682d98
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KN
@@ -0,0 +1,7 @@
+country KN: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (30), DFS
+ (5735 - 5815 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/KP b/package/firmware/wireless-regdb/countries/KP
new file mode 100644
index 0000000000..cfe068bb4b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KP
@@ -0,0 +1,7 @@
+country KP: DFS-JP
+ (2402 - 2482 @ 20), (20)
+ (5170 - 5250 @ 20), (20)
+ (5250 - 5330 @ 20), (20), DFS
+ (5490 - 5630 @ 20), (30), DFS
+ (5735 - 5815 @ 20), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/KR b/package/firmware/wireless-regdb/countries/KR
new file mode 100644
index 0000000000..ce4732c65a
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KR
@@ -0,0 +1,11 @@
+country KR: DFS-JP
+ # ref: https://www.rra.go.kr
+ (2400 - 2483.5 @ 40), (23)
+ (5150 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5350 @ 80), (20), DFS, AUTO-BW
+ (5470 - 5725 @ 160), (20), DFS
+ (5725 - 5835 @ 80), (23)
+ # 60 GHz band channels 1-4,
+ # ref: http://www.law.go.kr/%ED%96%89%EC%A0%95%EA%B7%9C%EC%B9%99/%EB%AC%B4%EC%84%A0%EC%84%A4%EB%B9%84%EA%B7%9C%EC%B9%99
+ (57000 - 66000 @ 2160), (43)
+
diff --git a/package/firmware/wireless-regdb/countries/KW b/package/firmware/wireless-regdb/countries/KW
new file mode 100644
index 0000000000..3e9138bb34
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KW
@@ -0,0 +1,5 @@
+country KW: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+
diff --git a/package/firmware/wireless-regdb/countries/KY b/package/firmware/wireless-regdb/countries/KY
new file mode 100644
index 0000000000..7c857d298c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KY
@@ -0,0 +1,7 @@
+country KY: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/KZ b/package/firmware/wireless-regdb/countries/KZ
new file mode 100644
index 0000000000..582866e676
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/KZ
@@ -0,0 +1,6 @@
+country KZ: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5150 - 5250 @ 80), (20), NO-OUTDOOR, AUTO-BW
+ (5250 - 5350 @ 80), (20), NO-OUTDOOR, DFS, AUTO-BW
+ (5470 - 5725 @ 80), (20), NO-OUTDOOR, DFS
+
diff --git a/package/firmware/wireless-regdb/countries/LB b/package/firmware/wireless-regdb/countries/LB
new file mode 100644
index 0000000000..fa3d8a2951
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LB
@@ -0,0 +1,7 @@
+country LB: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/LC b/package/firmware/wireless-regdb/countries/LC
new file mode 100644
index 0000000000..3d31d162e0
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LC
@@ -0,0 +1,7 @@
+country LC: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (30), DFS
+ (5735 - 5815 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/LI b/package/firmware/wireless-regdb/countries/LI
new file mode 100644
index 0000000000..d5103b2c4f
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LI
@@ -0,0 +1,10 @@
+country LI: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/LK b/package/firmware/wireless-regdb/countries/LK
new file mode 100644
index 0000000000..31af884b5c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LK
@@ -0,0 +1,7 @@
+country LK: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 20), (17)
+ (5250 - 5330 @ 20), (24), DFS
+ (5490 - 5730 @ 20), (24), DFS
+ (5735 - 5835 @ 20), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/LS b/package/firmware/wireless-regdb/countries/LS
new file mode 100644
index 0000000000..5ab1bcb7fd
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LS
@@ -0,0 +1,6 @@
+country LS: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/LT b/package/firmware/wireless-regdb/countries/LT
new file mode 100644
index 0000000000..9fce899816
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LT
@@ -0,0 +1,10 @@
+country LT: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/LU b/package/firmware/wireless-regdb/countries/LU
new file mode 100644
index 0000000000..22282c7c7d
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LU
@@ -0,0 +1,10 @@
+country LU: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/LV b/package/firmware/wireless-regdb/countries/LV
new file mode 100644
index 0000000000..ad1f30baad
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/LV
@@ -0,0 +1,10 @@
+country LV: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/MA b/package/firmware/wireless-regdb/countries/MA
new file mode 100644
index 0000000000..edcfe1c6da
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MA
@@ -0,0 +1,5 @@
+country MA: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+
diff --git a/package/firmware/wireless-regdb/countries/MC b/package/firmware/wireless-regdb/countries/MC
new file mode 100644
index 0000000000..d4b0b11268
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MC
@@ -0,0 +1,8 @@
+country MC: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/MD b/package/firmware/wireless-regdb/countries/MD
new file mode 100644
index 0000000000..cc10f88bd9
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MD
@@ -0,0 +1,8 @@
+country MD: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/ME b/package/firmware/wireless-regdb/countries/ME
new file mode 100644
index 0000000000..ecac016253
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ME
@@ -0,0 +1,8 @@
+country ME: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/MF b/package/firmware/wireless-regdb/countries/MF
new file mode 100644
index 0000000000..e0505a24a7
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MF
@@ -0,0 +1,6 @@
+country MF: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/MH b/package/firmware/wireless-regdb/countries/MH
new file mode 100644
index 0000000000..32d0c84f54
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MH
@@ -0,0 +1,7 @@
+country MH: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/MK b/package/firmware/wireless-regdb/countries/MK
new file mode 100644
index 0000000000..a93f839118
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MK
@@ -0,0 +1,10 @@
+country MK: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/MN b/package/firmware/wireless-regdb/countries/MN
new file mode 100644
index 0000000000..f733f01f33
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MN
@@ -0,0 +1,7 @@
+country MN: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/MO b/package/firmware/wireless-regdb/countries/MO
new file mode 100644
index 0000000000..3b8b523a7d
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MO
@@ -0,0 +1,7 @@
+country MO: DFS-FCC
+ (2402 - 2482 @ 40), (23)
+ (5170 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (30), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/MP b/package/firmware/wireless-regdb/countries/MP
new file mode 100644
index 0000000000..b1cc912d7f
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MP
@@ -0,0 +1,7 @@
+country MP: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/MQ b/package/firmware/wireless-regdb/countries/MQ
new file mode 100644
index 0000000000..6fc5c0954b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MQ
@@ -0,0 +1,6 @@
+country MQ: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/MR b/package/firmware/wireless-regdb/countries/MR
new file mode 100644
index 0000000000..8e5ea1b8dd
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MR
@@ -0,0 +1,6 @@
+country MR: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/MT b/package/firmware/wireless-regdb/countries/MT
new file mode 100644
index 0000000000..899089db97
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MT
@@ -0,0 +1,10 @@
+country MT: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/MU b/package/firmware/wireless-regdb/countries/MU
new file mode 100644
index 0000000000..2488a97912
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MU
@@ -0,0 +1,7 @@
+country MU: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/MV b/package/firmware/wireless-regdb/countries/MV
new file mode 100644
index 0000000000..2d38dd3ec7
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MV
@@ -0,0 +1,6 @@
+country MV: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), AUTO-BW
+ (5250 - 5350 @ 80), (100 mW), DFS, AUTO-BW
+ (5725 - 5850 @ 80), (100 mW)
+
diff --git a/package/firmware/wireless-regdb/countries/MW b/package/firmware/wireless-regdb/countries/MW
new file mode 100644
index 0000000000..7d999d0f88
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MW
@@ -0,0 +1,6 @@
+country MW: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/MX b/package/firmware/wireless-regdb/countries/MX
new file mode 100644
index 0000000000..3087589382
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MX
@@ -0,0 +1,7 @@
+country MX: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/MY b/package/firmware/wireless-regdb/countries/MY
new file mode 100644
index 0000000000..b1b1b5971e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/MY
@@ -0,0 +1,7 @@
+country MY: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5650 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (24)
+
diff --git a/package/firmware/wireless-regdb/countries/NG b/package/firmware/wireless-regdb/countries/NG
new file mode 100644
index 0000000000..88b58d0350
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/NG
@@ -0,0 +1,5 @@
+country NG: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5250 - 5330 @ 80), (30), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/NI b/package/firmware/wireless-regdb/countries/NI
new file mode 100644
index 0000000000..b19d82294d
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/NI
@@ -0,0 +1,7 @@
+country NI: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/NL b/package/firmware/wireless-regdb/countries/NL
new file mode 100644
index 0000000000..924051c51b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/NL
@@ -0,0 +1,10 @@
+country NL: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/NO b/package/firmware/wireless-regdb/countries/NO
new file mode 100644
index 0000000000..98ba529917
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/NO
@@ -0,0 +1,10 @@
+country NO: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/NP b/package/firmware/wireless-regdb/countries/NP
new file mode 100644
index 0000000000..c9d4f97510
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/NP
@@ -0,0 +1,6 @@
+country NP: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (20)
+
diff --git a/package/firmware/wireless-regdb/countries/NZ b/package/firmware/wireless-regdb/countries/NZ
new file mode 100644
index 0000000000..a04ca35999
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/NZ
@@ -0,0 +1,7 @@
+country NZ: DFS-ETSI
+ (2402 - 2482 @ 40), (30)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/OM b/package/firmware/wireless-regdb/countries/OM
new file mode 100644
index 0000000000..7cfd46d2ad
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/OM
@@ -0,0 +1,6 @@
+country OM: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/PA b/package/firmware/wireless-regdb/countries/PA
new file mode 100644
index 0000000000..305f138375
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PA
@@ -0,0 +1,8 @@
+country PA: DFS-FCC
+ (2400 - 2483.5 @ 40), (36)
+ (5150 - 5250 @ 80), (36), AUTO-BW
+ (5250 - 5350 @ 80), (30), AUTO-BW
+ (5470 - 5725 @ 160), (30)
+ (5725 - 5850 @ 80), (36)
+ (57000 - 64000 @ 2160), (43)
+
diff --git a/package/firmware/wireless-regdb/countries/PE b/package/firmware/wireless-regdb/countries/PE
new file mode 100644
index 0000000000..4c8d79213d
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PE
@@ -0,0 +1,7 @@
+country PE: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/PF b/package/firmware/wireless-regdb/countries/PF
new file mode 100644
index 0000000000..a40b8e016a
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PF
@@ -0,0 +1,6 @@
+country PF: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/PG b/package/firmware/wireless-regdb/countries/PG
new file mode 100644
index 0000000000..8680272b26
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PG
@@ -0,0 +1,7 @@
+country PG: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/PH b/package/firmware/wireless-regdb/countries/PH
new file mode 100644
index 0000000000..6202d708d9
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PH
@@ -0,0 +1,7 @@
+country PH: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/PK b/package/firmware/wireless-regdb/countries/PK
new file mode 100644
index 0000000000..67a284b659
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PK
@@ -0,0 +1,4 @@
+country PK: DFS-JP
+ (2402 - 2482 @ 40), (20)
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/PL b/package/firmware/wireless-regdb/countries/PL
new file mode 100644
index 0000000000..4843db8e16
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PL
@@ -0,0 +1,10 @@
+country PL: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/PM b/package/firmware/wireless-regdb/countries/PM
new file mode 100644
index 0000000000..3cff5cca22
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PM
@@ -0,0 +1,6 @@
+country PM: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/PR b/package/firmware/wireless-regdb/countries/PR
new file mode 100644
index 0000000000..6ade030c8c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PR
@@ -0,0 +1,7 @@
+country PR: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/PT b/package/firmware/wireless-regdb/countries/PT
new file mode 100644
index 0000000000..ef77b3e247
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PT
@@ -0,0 +1,10 @@
+country PT: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/PW b/package/firmware/wireless-regdb/countries/PW
new file mode 100644
index 0000000000..e3ec77a306
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PW
@@ -0,0 +1,7 @@
+country PW: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/PY b/package/firmware/wireless-regdb/countries/PY
new file mode 100644
index 0000000000..b9c66f8ac8
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/PY
@@ -0,0 +1,7 @@
+country PY: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/QA b/package/firmware/wireless-regdb/countries/QA
new file mode 100644
index 0000000000..ca63420b22
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/QA
@@ -0,0 +1,8 @@
+country QA: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW), NO-OUTDOOR
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW
+ (5250 - 5350 @ 80), (200 mW), NO-OUTDOOR, DFS, AUTO-BW
+ (5470 - 5725 @ 160), (100 mW), NO-OUTDOOR, DFS
+ (5725 - 5875 @ 80), (100 mW), NO-OUTDOOR, DFS
+ (57000 - 66000 @ 2160), (40), NO-OUTDOOR
+
diff --git a/package/firmware/wireless-regdb/countries/RE b/package/firmware/wireless-regdb/countries/RE
new file mode 100644
index 0000000000..2146cd8f74
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/RE
@@ -0,0 +1,6 @@
+country RE: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/RO b/package/firmware/wireless-regdb/countries/RO
new file mode 100644
index 0000000000..0b33032c49
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/RO
@@ -0,0 +1,10 @@
+country RO: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/RS b/package/firmware/wireless-regdb/countries/RS
new file mode 100644
index 0000000000..ad5b8cf3a6
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/RS
@@ -0,0 +1,10 @@
+country RS: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/RU b/package/firmware/wireless-regdb/countries/RU
new file mode 100644
index 0000000000..e96750c254
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/RU
@@ -0,0 +1,7 @@
+country RU:
+ (2400 - 2483.5 @ 40), (20)
+ (5150 - 5350 @ 160), (20), NO-OUTDOOR
+ (5650 - 5850 @ 160), (20), NO-OUTDOOR
+ # 60 GHz band channels 1-4, ref: Changes to NLA 124_Order №129_22042015.pdf
+ (57000 - 66000 @ 2160), (40), NO-OUTDOOR
+
diff --git a/package/firmware/wireless-regdb/countries/RW b/package/firmware/wireless-regdb/countries/RW
new file mode 100644
index 0000000000..214a59b809
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/RW
@@ -0,0 +1,7 @@
+country RW: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/SA b/package/firmware/wireless-regdb/countries/SA
new file mode 100644
index 0000000000..9961fc8ef3
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SA
@@ -0,0 +1,6 @@
+country SA: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/SE b/package/firmware/wireless-regdb/countries/SE
new file mode 100644
index 0000000000..fd47afaad5
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SE
@@ -0,0 +1,10 @@
+country SE: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/SG b/package/firmware/wireless-regdb/countries/SG
new file mode 100644
index 0000000000..27646e8d70
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SG
@@ -0,0 +1,8 @@
+country SG: DFS-FCC
+ (2400 - 2483.5 @ 40), (23)
+ (5150 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5350 @ 80), (20), DFS, AUTO-BW
+ (5470 - 5725 @ 160), (27), DFS
+ (5725 - 5850 @ 80), (30)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/SI b/package/firmware/wireless-regdb/countries/SI
new file mode 100644
index 0000000000..3b33eb9712
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SI
@@ -0,0 +1,10 @@
+country SI: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/SK b/package/firmware/wireless-regdb/countries/SK
new file mode 100644
index 0000000000..31b87f5e09
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SK
@@ -0,0 +1,10 @@
+country SK: DFS-ETSI
+ (2400 - 2483.5 @ 40), (100 mW)
+ (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW, wmmrule=ETSI
+ (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI
+ (5470 - 5725 @ 160), (500 mW), DFS, wmmrule=ETSI
+ # short range devices (ETSI EN 300 440-1)
+ (5725 - 5875 @ 80), (25 mW)
+ # 60 GHz band channels 1-4 (ETSI EN 302 567)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/SN b/package/firmware/wireless-regdb/countries/SN
new file mode 100644
index 0000000000..2ed978be35
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SN
@@ -0,0 +1,7 @@
+country SN: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/SR b/package/firmware/wireless-regdb/countries/SR
new file mode 100644
index 0000000000..76aed43743
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SR
@@ -0,0 +1,6 @@
+country SR: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/SV b/package/firmware/wireless-regdb/countries/SV
new file mode 100644
index 0000000000..c3f1e547d6
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SV
@@ -0,0 +1,6 @@
+country SV: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 20), (17)
+ (5250 - 5330 @ 20), (23), DFS
+ (5735 - 5835 @ 20), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/SY b/package/firmware/wireless-regdb/countries/SY
new file mode 100644
index 0000000000..102a97b2fc
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/SY
@@ -0,0 +1,3 @@
+country SY:
+ (2402 - 2482 @ 40), (20)
+
diff --git a/package/firmware/wireless-regdb/countries/TC b/package/firmware/wireless-regdb/countries/TC
new file mode 100644
index 0000000000..79b76a6553
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TC
@@ -0,0 +1,7 @@
+country TC: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5730 @ 160), (24), DFS, wmmrule=ETSI
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/TD b/package/firmware/wireless-regdb/countries/TD
new file mode 100644
index 0000000000..100bbf5fd3
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TD
@@ -0,0 +1,6 @@
+country TD: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/TG b/package/firmware/wireless-regdb/countries/TG
new file mode 100644
index 0000000000..5939d771e7
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TG
@@ -0,0 +1,6 @@
+country TG: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 40), (20)
+ (5250 - 5330 @ 40), (20), DFS
+ (5490 - 5710 @ 40), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/TH b/package/firmware/wireless-regdb/countries/TH
new file mode 100644
index 0000000000..9d3250699e
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TH
@@ -0,0 +1,7 @@
+country TH: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/TN b/package/firmware/wireless-regdb/countries/TN
new file mode 100644
index 0000000000..88b29d1db9
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TN
@@ -0,0 +1,5 @@
+country TN: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+
diff --git a/package/firmware/wireless-regdb/countries/TR b/package/firmware/wireless-regdb/countries/TR
new file mode 100644
index 0000000000..00348db8af
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TR
@@ -0,0 +1,8 @@
+country TR: DFS-ETSI
+ (2400 - 2483.5 @ 40), (20)
+ (5170 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, NO-OUTDOOR, AUTO-BW
+ (5470 - 5725 @ 160), (27), DFS
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/TT b/package/firmware/wireless-regdb/countries/TT
new file mode 100644
index 0000000000..e70772584a
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TT
@@ -0,0 +1,7 @@
+country TT: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/TW b/package/firmware/wireless-regdb/countries/TW
new file mode 100644
index 0000000000..71f472b4ea
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TW
@@ -0,0 +1,16 @@
+country TW: DFS-FCC
+ # 2.4g band, LP0002 section 3.10.1
+ (2400 - 2483.5 @ 40), (30)
+ # 5g U-NII band, LP0002 section 4.7
+ # 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
+ # 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
+ (5725 - 5850 @ 80), (30)
+ # 60g band, LP0002 section 3.13.1.1 (3)(C), EIRP=40dBm(43dBm peak)
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/TZ b/package/firmware/wireless-regdb/countries/TZ
new file mode 100644
index 0000000000..47d2b78d0c
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/TZ
@@ -0,0 +1,4 @@
+country TZ:
+ (2402 - 2482 @ 40), (20)
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/UA b/package/firmware/wireless-regdb/countries/UA
new file mode 100644
index 0000000000..34e9c22832
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/UA
@@ -0,0 +1,9 @@
+country UA: DFS-ETSI
+ (2400 - 2483.5 @ 40), (20), NO-OUTDOOR
+ (5150 - 5250 @ 80), (20), NO-OUTDOOR, AUTO-BW
+ (5250 - 5350 @ 80), (20), DFS, NO-OUTDOOR, AUTO-BW
+ (5490 - 5670 @ 160), (20), DFS
+ (5735 - 5835 @ 80), (20)
+ # 60 GHz band channels 1-4, ref: Etsi En 302 567
+ (57000 - 66000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/UG b/package/firmware/wireless-regdb/countries/UG
new file mode 100644
index 0000000000..4908948fe2
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/UG
@@ -0,0 +1,7 @@
+country UG: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/US b/package/firmware/wireless-regdb/countries/US
new file mode 100644
index 0000000000..c498eb1752
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/US
@@ -0,0 +1,16 @@
+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
+ # 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
+ (5730 - 5850 @ 80), (30)
+ # 60g band
+ # reference: section IV-D https://docs.fcc.gov/public/attachments/FCC-16-89A1.pdf
+ # channels 1-6 EIRP=40dBm(43dBm peak)
+ (57240 - 71000 @ 2160), (40)
+
diff --git a/package/firmware/wireless-regdb/countries/UY b/package/firmware/wireless-regdb/countries/UY
new file mode 100644
index 0000000000..3249293692
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/UY
@@ -0,0 +1,6 @@
+country UY: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/UZ b/package/firmware/wireless-regdb/countries/UZ
new file mode 100644
index 0000000000..e51b202fdb
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/UZ
@@ -0,0 +1,5 @@
+country UZ: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+
diff --git a/package/firmware/wireless-regdb/countries/VC b/package/firmware/wireless-regdb/countries/VC
new file mode 100644
index 0000000000..be2f839e37
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/VC
@@ -0,0 +1,6 @@
+country VC: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/VE b/package/firmware/wireless-regdb/countries/VE
new file mode 100644
index 0000000000..d8482af775
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/VE
@@ -0,0 +1,6 @@
+country VE: DFS-FCC
+ (2402 - 2482 @ 40), (30)
+ (5170 - 5250 @ 80), (23), AUTO-BW
+ (5250 - 5330 @ 80), (23), DFS, AUTO-BW
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/VI b/package/firmware/wireless-regdb/countries/VI
new file mode 100644
index 0000000000..e913e45b05
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/VI
@@ -0,0 +1,7 @@
+country VI: DFS-FCC
+ (2402 - 2472 @ 40), (30)
+ (5170 - 5250 @ 80), (24), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/VN b/package/firmware/wireless-regdb/countries/VN
new file mode 100644
index 0000000000..43167f9457
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/VN
@@ -0,0 +1,7 @@
+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)
+
diff --git a/package/firmware/wireless-regdb/countries/VU b/package/firmware/wireless-regdb/countries/VU
new file mode 100644
index 0000000000..7239aa30f6
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/VU
@@ -0,0 +1,7 @@
+country VU: DFS-FCC
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (17), AUTO-BW
+ (5250 - 5330 @ 80), (24), DFS, AUTO-BW
+ (5490 - 5730 @ 160), (24), DFS
+ (5735 - 5835 @ 80), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/WF b/package/firmware/wireless-regdb/countries/WF
new file mode 100644
index 0000000000..2276da0b6b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/WF
@@ -0,0 +1,6 @@
+country WF: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/WS b/package/firmware/wireless-regdb/countries/WS
new file mode 100644
index 0000000000..6622895bf3
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/WS
@@ -0,0 +1,6 @@
+country WS: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 40), (20)
+ (5250 - 5330 @ 40), (20), DFS
+ (5490 - 5710 @ 40), (27), DFS
+
diff --git a/package/firmware/wireless-regdb/countries/YE b/package/firmware/wireless-regdb/countries/YE
new file mode 100644
index 0000000000..e954e6417a
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/YE
@@ -0,0 +1,3 @@
+country YE:
+ (2402 - 2482 @ 40), (20)
+
diff --git a/package/firmware/wireless-regdb/countries/YT b/package/firmware/wireless-regdb/countries/YT
new file mode 100644
index 0000000000..cc22c2b63b
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/YT
@@ -0,0 +1,6 @@
+country YT: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW, wmmrule=ETSI
+ (5490 - 5710 @ 160), (27), DFS, wmmrule=ETSI
+
diff --git a/package/firmware/wireless-regdb/countries/ZA b/package/firmware/wireless-regdb/countries/ZA
new file mode 100644
index 0000000000..6f9dc21e54
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ZA
@@ -0,0 +1,6 @@
+country ZA: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (30)
+
diff --git a/package/firmware/wireless-regdb/countries/ZW b/package/firmware/wireless-regdb/countries/ZW
new file mode 100644
index 0000000000..9a08f557ef
--- /dev/null
+++ b/package/firmware/wireless-regdb/countries/ZW
@@ -0,0 +1,6 @@
+country ZW: DFS-ETSI
+ (2402 - 2482 @ 40), (20)
+ (5170 - 5250 @ 80), (20), AUTO-BW
+ (5250 - 5330 @ 80), (20), DFS, AUTO-BW
+ (5490 - 5710 @ 160), (27), DFS
+
--
2.20.1
More information about the openwrt-devel
mailing list