mvebu: fix default EU regdomain for Linksys WRT AC devices
authorJose Olivera <oliverajeo@gmail.com>
Mon, 20 May 2019 13:10:56 +0000 (21:10 +0800)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 23 Jun 2020 13:01:17 +0000 (15:01 +0200)
The mwlwifi driver sets the default country code for EU (fi-
rmware region code 0x30) certified devices to FR (France),
not DE (Germany). Whilst this is a trivial fix, novice users
may not know how mwlwifi negatively reacts to a non-matching
country code and may leave the setting alone. Especially si-
nce it is under the advanced settings section in LuCI.

Relevant mwlwifi driver code:
https://github.com/kaloz/mwlwifi/commit/0a550312ddb5a9e00e8d602d5571598f25a78158

The mwlwifi driver readme states "Please don't change country
code and let mwlwifi set it for you." However, OpenWrt's current
behaviour does not adhere to this with its default, 'just flashed
from factory' setting for EU devices.

Signed-off-by: Jose Olivera <oliverajeo@gmail.com>
[rebase, extend commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/03_wireless

index 91bcbba253ce3bc97771e6a5ab286c411312b07f..6d4298c0984727c007bd3f798b4719c0bba3a5e9 100644 (file)
@@ -29,7 +29,7 @@ linksys,wrt32x)
                        REGD=CA
                ;;
                EU)
-                       REGD=DE
+                       REGD=FR
                ;;
                US)
                        REGD=US