summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard/root/etc/uci-defaults
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-01-27 13:52:37 +0000
committerManuel Munz <freifunk@somakoma.de>2011-01-27 13:52:37 +0000
commit3813d639debd6c73f46590a29215c2ccd079843e (patch)
treedcca972f006d2cd4e9685e1e5ef2155c311bca6b /applications/luci-ffwizard/root/etc/uci-defaults
parent01ad52f27a4887f9548ae7c2d2a9afe7cf6ee5f4 (diff)
applications/ffwizard: Do not disable diversity because we don't know which antenna is connected. Instead show a warning on admin/freifunk/adminindex when diversity is enabled and tell the user to change that.
Diffstat (limited to 'applications/luci-ffwizard/root/etc/uci-defaults')
-rwxr-xr-xapplications/luci-ffwizard/root/etc/uci-defaults/device-defaults10
1 files changed, 3 insertions, 7 deletions
diff --git a/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults b/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults
index 011148d592..6a70e67a2e 100755
--- a/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults
+++ b/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults
@@ -8,9 +8,7 @@ set_default_config()
atheros)
uci -q batch <<-EOF
set freifunk.wifi_device.channel=1
- set freifunk.wifi_device.diversity=0
- set freifunk.wifi_device.txantenna=1
- set freifunk.wifi_device.rxantenna=1
+ set freifunk.wifi_device.diversity=1
set freifunk.wifi_device.disabled=0
set freifunk.wifi_device.txpower=""
set freifunk.wifi_device.hwmode=11g
@@ -27,7 +25,7 @@ set_default_config()
mac80211)
uci -q batch <<-EOF
set freifunk.wifi_device.channel=1
- set freifunk.wifi_device.diversity=""
+ set freifunk.wifi_device.diversity=1
set freifunk.wifi_device.disabled=0
set freifunk.wifi_device.txpower=""
set freifunk.wifi_device.distance=1000
@@ -43,11 +41,9 @@ set_default_config()
broadcom)
uci -q batch <<-EOF
set freifunk.wifi_device.channel=1
- set freifunk.wifi_device.diversity=""
+ set freifunk.wifi_device.diversity=1
set freifunk.wifi_device.disabled=0
set freifunk.wifi_device.txpower=""
- set freifunk.wifi_device.txantenna=0
- set freifunk.wifi_device.rxantenna=0
set freifunk.wifi_device.hwmode=11g
set freifunk.wifi_device.distance=1000
set freifunk.wifi_iface=defaults