diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-15 21:40:04 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-08-23 08:18:32 +0200 |
commit | 549a16f5b1437d437ccc873ded500b8cecd03c28 (patch) | |
tree | cc3c60cf9e099d541996163e87e788c3a8376361 /data/config-mode-dependencies/vyos-1x.json | |
parent | de2bdd189ef321a4c0459e98ff20694df6d9eb78 (diff) | |
download | vyos-1x-549a16f5b1437d437ccc873ded500b8cecd03c28.tar.gz vyos-1x-549a16f5b1437d437ccc873ded500b8cecd03c28.zip |
wireless: T6318: move country-code to a system wide configuration
Wireless devices are subject to regulations issued by authorities. For any
given AP or router, there will most likely be no case where one wireless NIC is
located in one country and another wireless NIC in the same device is located
in another country, resulting in different regulatory domains to apply to the
same box.
Currently, wireless regulatory domains in VyOS need to be configured per-NIC:
set interfaces wireless wlan0 country-code us
This leads to several side-effects:
* When operating multiple WiFi NICs, they all can have different regulatory
domains configured which might offend legislation.
* Some NICs need additional entries to /etc/modprobe.d/cfg80211.conf to apply
regulatory domain settings, such as: "options cfg80211 ieee80211_regdom=US"
This is true for the Compex WLE600VX. This setting cannot be done
per-interface.
Migrate the first found wireless module country-code from the wireless
interface CLI to: "system wireless country-code"
(cherry picked from commit 9e22ab6b2aee48029d3455f65880e45c558cf1da)
Diffstat (limited to 'data/config-mode-dependencies/vyos-1x.json')
-rw-r--r-- | data/config-mode-dependencies/vyos-1x.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/config-mode-dependencies/vyos-1x.json b/data/config-mode-dependencies/vyos-1x.json index ca4ceb58f..a38635cbe 100644 --- a/data/config-mode-dependencies/vyos-1x.json +++ b/data/config-mode-dependencies/vyos-1x.json @@ -63,5 +63,8 @@ "system_option": { "ip": ["system_ip"], "ipv6": ["system_ipv6"] + }, + "system_wireless": { + "wireless": ["interfaces_wireless"] } } |