broadcom-wl: add rts/frag threshold settings (patch from #4769)

SVN-Revision: 18720
master
Felix Fietkau 15 years ago
parent d431d864b8
commit d5d8a225f8
  1. 4
      package/broadcom-wl/files/lib/wifi/broadcom.sh

@ -124,6 +124,8 @@ enable_broadcom() {
config_get maclist "$device" maclist config_get maclist "$device" maclist
config_get macaddr "$device" macaddr config_get macaddr "$device" macaddr
config_get txpower "$device" txpower config_get txpower "$device" txpower
config_get frag "$device" frag
config_get rts "$device" rts
local vif_pre_up vif_post_up vif_do_up vif_txpower local vif_pre_up vif_post_up vif_do_up vif_txpower
local doth=0 local doth=0
local wmm=0 local wmm=0
@ -291,6 +293,8 @@ ${wet:+wet 1}
wme ${wmm:-0} wme ${wmm:-0}
rxant ${rxantenna:-3} rxant ${rxantenna:-3}
txant ${txantenna:-3} txant ${txantenna:-3}
fragthresh ${frag:-2346}
rtsthresh ${rts:-2347}
monitor ${monitor:-0} monitor ${monitor:-0}
passive ${passive:-0} passive ${passive:-0}

Loading…
Cancel
Save