diff options
author | Travis Kemen <thepeople@openwrt.org> | 2008-01-17 01:23:38 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2008-01-17 01:23:38 +0000 |
commit | 722e7ba81828ba48795721e270210d39638017b3 (patch) | |
tree | 4ccbe3a07b29445d88527883fede38a06fc91b01 /package/madwifi/files/lib | |
parent | e1f607e92f876af17b846ac50d8512f5e53370b3 (diff) | |
download | master-187ad058-722e7ba81828ba48795721e270210d39638017b3.tar.gz master-187ad058-722e7ba81828ba48795721e270210d39638017b3.tar.bz2 master-187ad058-722e7ba81828ba48795721e270210d39638017b3.zip |
add options for options xr, ar, turbo, mcast_rate Signed-off-by: Lorenz Schori <lorenz.schori@gmx.ch>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10217 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 27164cc281..ca933a1ddd 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -180,6 +180,9 @@ enable_atheros() { config_get rate "$vif" rate [ -n "$rate" ] && iwconfig "$ifname" rate "${rate%%.*}" + config_get mcast_rate "$vif" mcast_rate + [ -n "$mcast_rate" ] && iwpriv "$ifname" mcast_rate "${mcast_rate%%.*}" + config_get frag "$vif" frag [ -n "$frag" ] && iwconfig "$ifname" frag "${frag%%.*}" @@ -198,6 +201,15 @@ enable_atheros() { config_get_bool wmm "$vif" wmm [ -n "$wmm" ] && iwpriv "$ifname" wmm "$wmm" + config_get_bool xr "$vif" xr + [ -n "$xr" ] && iwpriv "$ifname" xr "$xr" + + config_get_bool ar "$vif" ar + [ -n "$ar" ] && iwpriv "$ifname" ar "$ar" + + config_get_bool turbo "$vif" turbo + [ -n "$turbo" ] && iwpriv "$ifname" turbo "$turbo" + config_get maclist "$vif" maclist [ -n "$maclist" ] && { # flush MAC list |