diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-22 16:17:05 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-22 16:17:05 +0000 |
commit | 392e45ef0938058ebce18be9bb9d1b7d2156212e (patch) | |
tree | 9376f22699399abbfa1006d91d54573a6751855d /package/broadcom-wl/files | |
parent | f58536ff836baa46177247372e182950126add51 (diff) | |
download | upstream-392e45ef0938058ebce18be9bb9d1b7d2156212e.tar.gz upstream-392e45ef0938058ebce18be9bb9d1b7d2156212e.tar.bz2 upstream-392e45ef0938058ebce18be9bb9d1b7d2156212e.zip |
implement doth (802.11h) and wmm (802.11e) options for broadcom as well; update docs
SVN-Revision: 17676
Diffstat (limited to 'package/broadcom-wl/files')
-rw-r--r-- | package/broadcom-wl/files/lib/wifi/broadcom.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index 7d56c10e00..985100f6f6 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -125,6 +125,8 @@ enable_broadcom() { config_get macaddr "$device" macaddr config_get txpower "$device" txpower local vif_pre_up vif_post_up vif_do_up vif_txpower + local doth=0 + local wmm=0 _c=0 nas="$(which nas)" @@ -139,7 +141,7 @@ enable_broadcom() { } || { slottime="${slottime:--1}" } - + case "$macfilter" in allow|2) macfilter=2; @@ -159,7 +161,10 @@ enable_broadcom() { append vif_pre_up "vif $_c" "$N" append vif_post_up "vif $_c" "$N" append vif_do_up "vif $_c" "$N" - + + config_get_bool wmm "$vif" wmm "$wmm" + config_get_bool doth "$vif" doth "$doth" + [ "$mode" = "sta" ] || { config_get_bool hidden "$vif" hidden 0 append vif_pre_up "closed $hidden" "$N" @@ -282,7 +287,8 @@ ${mssid:+mssid $mssid} infra $infra ${wet:+wet 1} 802.11d 0 -802.11h 0 +802.11h ${doth:-0} +wme ${wmm:-0} rxant ${rxantenna:-3} txant ${txantenna:-3} monitor ${monitor:-0} |