From f548e54b8da7511479c19e4b32eebfec7dacafb5 Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Thu, 17 Jan 2008 01:23:38 +0000 Subject: [PATCH] add options for options xr, ar, turbo, mcast_rate Signed-off-by: Lorenz Schori SVN-Revision: 10217 --- package/madwifi/files/lib/wifi/madwifi.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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