From: John Crispin Date: Thu, 13 Mar 2008 14:54:26 +0000 (+0000) Subject: make madwifi startup script aware of new iwpriv options X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cb354d27509bf34083d45c9f96a53c87cf99e247;p=openwrt%2Fstaging%2Frmilecki.git make madwifi startup script aware of new iwpriv options SVN-Revision: 10598 --- diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index fef63cbcc25..5fa687e0cd0 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"