1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 03:06:21 +03:00

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
This commit is contained in:
thepeople 2008-01-17 01:23:38 +00:00
parent 38ba799c0a
commit 20b39ccab6

View File

@ -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