summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-03-13 14:54:26 +0000
committerJohn Crispin <john@openwrt.org>2008-03-13 14:54:26 +0000
commitcb354d27509bf34083d45c9f96a53c87cf99e247 (patch)
treeb3aa999a6679bb2372150788b8a83d73bacc53c4 /package/madwifi
parent17a2ed51cc1a937cba2f440cbb41a382e8e7c28d (diff)
downloadmtk-20170518-cb354d27509bf34083d45c9f96a53c87cf99e247.zip
mtk-20170518-cb354d27509bf34083d45c9f96a53c87cf99e247.tar.gz
mtk-20170518-cb354d27509bf34083d45c9f96a53c87cf99e247.tar.bz2
make madwifi startup script aware of new iwpriv options
SVN-Revision: 10598
Diffstat (limited to 'package/madwifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index fef63cb..5fa687e 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -197,6 +197,12 @@ enable_atheros() {
config_get_bool comp "$vif" compression
[ -n "$comp" ] && iwpriv "$ifname" compression "$comp"
+ config_get_bool minrate "$vif" minrate
+ [ -n "$minrate" ] && iwpriv "$ifname" minrate "$minrate"
+
+ config_get_bool maxrate "$vif" maxrate
+ [ -n "$maxrate" ] && iwpriv "$ifname" maxrate "$maxrate"
+
config_get_bool burst "$vif" bursting
[ -n "$burst" ] && iwpriv "$ifname" burst "$burst"