aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-22 20:17:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-22 20:17:43 +0000
commitfdc53d7e065684729dd1890ceb9d02c57621b987 (patch)
tree0ca9812be9153a707f576664506f3d1570fb6746 /package/broadcom-wl
parent3bee559b36ffdc33af5c339852cda7139c9bd375 (diff)
downloadupstream-fdc53d7e065684729dd1890ceb9d02c57621b987.tar.gz
upstream-fdc53d7e065684729dd1890ceb9d02c57621b987.tar.bz2
upstream-fdc53d7e065684729dd1890ceb9d02c57621b987.zip
add antenna diversity config support for broadcom-wl
SVN-Revision: 7710
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r--package/broadcom-wl/files/lib/wifi/broadcom.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index a7ffabcef7..fc26d076ea 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -94,6 +94,8 @@ enable_broadcom() {
config_get vifs "$device" vifs
config_get distance "$device" distance
config_get slottime "$device" slottime
+ config_get rxant "$device" rxant
+ config_get txant "$device" txant
local vif_pre_up vif_post_up vif_do_up
_c=0
@@ -215,6 +217,8 @@ infra $infra
${wet:+wet 1}
802.11d 0
802.11h 0
+rxant ${rxant:-3}
+txant ${txant:-3}
radio ${radio:-1}
macfilter 0