mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-21 10:33:48 +01:00
Update openwrt diffconfig to allow 802.11 driver to override regulatory domain stored in eeprom.
The reg. domain is configured to 'NL', so wifi channels 12 and 13 can be used.
This commit is contained in:
parent
daabffd1ca
commit
96e0ec99dd
@ -1,3 +1,5 @@
|
||||
Doodle3D overrides the 802.11 regulatory domain such that channels 12 and 13 can be used. In most countries this is desired and accepted behaviour, with the notable exception being the USA.
|
||||
|
||||
Doodle3D uses the following external projects:
|
||||
|
||||
Lua - Copyright (c) 1994–2013 Lua.org, PUC-Rio. - MIT license
|
||||
|
@ -1,6 +1,7 @@
|
||||
CONFIG_TARGET_ar71xx=y
|
||||
CONFIG_TARGET_ar71xx_generic=y
|
||||
CONFIG_TARGET_ar71xx_generic_TLMR3020=y
|
||||
CONFIG_ATH_USER_REGD=y
|
||||
# CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set
|
||||
CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y
|
||||
# CONFIG_IPV6 is not set
|
||||
|
@ -1,6 +1,7 @@
|
||||
CONFIG_TARGET_ar71xx=y
|
||||
CONFIG_TARGET_ar71xx_generic=y
|
||||
CONFIG_TARGET_ar71xx_generic_TLMR3020=y
|
||||
CONFIG_ATH_USER_REGD=y
|
||||
# CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set
|
||||
CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y
|
||||
# CONFIG_IPV6 is not set
|
||||
|
@ -1,6 +1,7 @@
|
||||
CONFIG_TARGET_ar71xx=y
|
||||
CONFIG_TARGET_ar71xx_generic=y
|
||||
CONFIG_TARGET_ar71xx_generic_TLMR3020=y
|
||||
CONFIG_ATH_USER_REGD=y
|
||||
CONFIG_DOODLE3D_CLIENT_MINIFY_JS=y
|
||||
CONFIG_PACKAGE_doodle3d-client=y
|
||||
CONFIG_PACKAGE_kmod-usb-acm=y
|
||||
|
@ -78,7 +78,9 @@ $IPKG_INSTROOT/etc/init.d/dhcpcheck enable
|
||||
|
||||
if [ -z "$IPKG_INSTROOT" ]; then
|
||||
echo "Enabling wifi device..."
|
||||
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
|
||||
uci set wireless.@wifi-device[0].disabled=0
|
||||
uci set wireless.radio0.country='NL'
|
||||
uci commit wireless; wifi
|
||||
|
||||
addFirewallNet
|
||||
|
||||
@ -97,6 +99,7 @@ else
|
||||
uci set uhttpd.main.lua_prefix='/d3dapi'
|
||||
|
||||
uci set wireless.@wifi-device[0].disabled=0
|
||||
uci set wireless.radio0.country='NL'
|
||||
# TODO: add firewall net
|
||||
uci set network.wlan=interface
|
||||
EOM
|
||||
|
Loading…
Reference in New Issue
Block a user