add antenna diversity config support for broadcom-wl

SVN-Revision: 7710
lede-17.01
Felix Fietkau 2007-06-22 20:17:43 +00:00
parent 3bee559b36
commit fdc53d7e06
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,8 @@ enable_broadcom() {
config_get vifs "$device" vifs config_get vifs "$device" vifs
config_get distance "$device" distance config_get distance "$device" distance
config_get slottime "$device" slottime 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 local vif_pre_up vif_post_up vif_do_up
_c=0 _c=0
@ -215,6 +217,8 @@ infra $infra
${wet:+wet 1} ${wet:+wet 1}
802.11d 0 802.11d 0
802.11h 0 802.11h 0
rxant ${rxant:-3}
txant ${txant:-3}
radio ${radio:-1} radio ${radio:-1}
macfilter 0 macfilter 0