summaryrefslogtreecommitdiff
path: root/package/broadcom-wl
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
commitd5d8a225f886ebe776a75d5a877a5af96f658abf (patch)
tree6ce6d3fcc022ea99cd0ed705583792f65d082832 /package/broadcom-wl
parentd431d864b849b160033f940c20378835f24d12d6 (diff)
downloadmtk-20170518-d5d8a225f886ebe776a75d5a877a5af96f658abf.zip
mtk-20170518-d5d8a225f886ebe776a75d5a877a5af96f658abf.tar.gz
mtk-20170518-d5d8a225f886ebe776a75d5a877a5af96f658abf.tar.bz2
broadcom-wl: add rts/frag threshold settings (patch from #4769)
SVN-Revision: 18720
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 985100f..f5d15f8 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}