summaryrefslogtreecommitdiff
path: root/package/madwifi/files/lib/wifi/madwifi.sh
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-03 19:31:48 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-03 19:31:48 +0000
commit3ff4f7ce16ee4fa844ab699d64c1b8f8f8065c07 (patch)
treea5371fa00fec166026f76aad93c35480802ca539 /package/madwifi/files/lib/wifi/madwifi.sh
parente5e3afbd5a7d51cac7c4a429666cbe87fab2cf71 (diff)
madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17510 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 6d10e24f85..e7d83d3a9e 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -214,6 +214,9 @@ enable_atheros() {
;;
esac
+ config_get_bool uapsd "$vif" uapsd 0
+ iwpriv "$ifname" uapsd "$uapsd"
+
config_get_bool bgscan "$vif" bgscan
[ -n "$bgscan" ] && iwpriv "$ifname" bgscan "$bgscan"