0
0
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:
Wouter R 2014-01-31 22:39:36 +01:00
parent daabffd1ca
commit 96e0ec99dd
5 changed files with 9 additions and 1 deletions

View File

@ -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) 19942013 Lua.org, PUC-Rio. - MIT license

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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