summaryrefslogtreecommitdiff
path: root/package
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
commit8691bbb699556ab797d74d635cc360732d9b92de (patch)
tree6095570d7c17060408cfbd55aca4bfb3e50e8cc0 /package
parentff8d3f63b1afbb4fdb56ef61f44bdbd48516dc3e (diff)
downloadmtk-20170518-8691bbb699556ab797d74d635cc360732d9b92de.zip
mtk-20170518-8691bbb699556ab797d74d635cc360732d9b92de.tar.gz
mtk-20170518-8691bbb699556ab797d74d635cc360732d9b92de.tar.bz2
madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones
SVN-Revision: 17510
Diffstat (limited to 'package')
-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 6d10e24..e7d83d3 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"