aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/files/lib/wifi/broadcom.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-09 17:29:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-09 17:29:10 +0000
commitb259d8401e4ec748eca4455d5a18b69ece778ad9 (patch)
treea8280c1e61c79704e917e5baa6b5adec6cbdc12a /package/broadcom-wl/files/lib/wifi/broadcom.sh
parent12c45dea86f623da602906db22b530414e71ab7d (diff)
downloadmaster-187ad058-b259d8401e4ec748eca4455d5a18b69ece778ad9.tar.gz
master-187ad058-b259d8401e4ec748eca4455d5a18b69ece778ad9.tar.bz2
master-187ad058-b259d8401e4ec748eca4455d5a18b69ece778ad9.zip
broadcom-wl: add rts/frag threshold settings (patch from #4769)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18720 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/files/lib/wifi/broadcom.sh')
-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 985100f6f6..f5d15f841d 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -124,6 +124,8 @@ enable_broadcom() {
config_get maclist "$device" maclist
config_get macaddr "$device" macaddr
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 doth=0
local wmm=0
@@ -291,6 +293,8 @@ ${wet:+wet 1}
wme ${wmm:-0}
rxant ${rxantenna:-3}
txant ${txantenna:-3}
+fragthresh ${frag:-2346}
+rtsthresh ${rts:-2347}
monitor ${monitor:-0}
passive ${passive:-0}