From 3ff4f7ce16ee4fa844ab699d64c1b8f8f8065c07 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 3 Sep 2009 19:31:48 +0000 Subject: 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 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/madwifi') 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" -- cgit v1.2.3