summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-22 20:17:43 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-22 20:17:43 +0000
commitff38bbf65ab2c500c3db8ff13461393405abe5c9 (patch)
tree23e6e9e99228af20b49bd297750db409cfee15b8
parentef5573f6c1b0a701f6938de5cc863a2cf3f21771 (diff)
add antenna diversity config support for broadcom-wl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7710 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 a7ffabcef..fc26d076e 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