Browse Source

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.
feature/8bit
Wouter R 8 years ago
parent
commit
96e0ec99dd
  1. 2
      NOTICE.txt
  2. 1
      extra/openwrt-build/openwrt-diffconfig-extramini
  3. 1
      extra/openwrt-build/openwrt-diffconfig-mini
  4. 1
      extra/openwrt-build/openwrt-diffconfig-regular
  5. 5
      post-install.sh

2
NOTICE.txt

@ -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
extra/openwrt-build/openwrt-diffconfig-extramini

@ -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
extra/openwrt-build/openwrt-diffconfig-mini

@ -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
extra/openwrt-build/openwrt-diffconfig-regular

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

5
post-install.sh

@ -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…
Cancel
Save