aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-03 19:31:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-03 19:31:48 +0000
commitbeeade30e75f7f7052a902709a8c995cd60a237f (patch)
treea5371fa00fec166026f76aad93c35480802ca539 /package/madwifi/files/lib
parent40766f9463207f638d9a4e7a2499de93740b5721 (diff)
downloadmaster-187ad058-beeade30e75f7f7052a902709a8c995cd60a237f.tar.gz
master-187ad058-beeade30e75f7f7052a902709a8c995cd60a237f.tar.bz2
master-187ad058-beeade30e75f7f7052a902709a8c995cd60a237f.zip
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')
-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"