aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2007-06-27 13:25:55 +0000
committerTravis Kemen <thepeople@openwrt.org>2007-06-27 13:25:55 +0000
commit1026bb5d7ee1b8af15e5a85c6d0c4601442ac3bb (patch)
treec445c8133851ba5699594e45d1a9454bd607bfe8 /package
parent86b5b79e6307af8f4c1032b2c62e82e137e162df (diff)
downloadmaster-187ad058-1026bb5d7ee1b8af15e5a85c6d0c4601442ac3bb.tar.gz
master-187ad058-1026bb5d7ee1b8af15e5a85c6d0c4601442ac3bb.tar.bz2
master-187ad058-1026bb5d7ee1b8af15e5a85c6d0c4601442ac3bb.zip
add fragmentation and rts settings thanks rene closes #1725
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7743 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 2fd025b127..69506dbde5 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -184,6 +184,16 @@ enable_atheros() {
iwconfig "$ifname" txpower "${txpwr%%.*}"
fi
+ config_get frag "$vif" frag
+ if [ -n "$frag" ]; then
+ iwconfig "$ifname" frag "${frag%%.*}"
+ fi
+
+ config_get rts "$vif" rts
+ if [ -n "$rts" ]; then
+ iwconfig "$ifname" rts "${rts%%.*}"
+ fi
+
ifconfig "$ifname" up
iwconfig "$ifname" channel "$channel" >/dev/null 2>/dev/null
@@ -268,6 +278,8 @@ config wifi-iface
option hidden 0
# option txpower 15
# option bgscan enable
+# option frag off
+# option rts off
option encryption none
EOF