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
commitbb2c2a81dd4fdf9dd77b68c329e694be5b11998e (patch)
treefed616a3f3057346fae4994a1b00eda82334c5bd /package
parent06966a534a0c1f6ba6652759c38ac69d70c0a780 (diff)
downloadupstream-bb2c2a81dd4fdf9dd77b68c329e694be5b11998e.tar.gz
upstream-bb2c2a81dd4fdf9dd77b68c329e694be5b11998e.tar.bz2
upstream-bb2c2a81dd4fdf9dd77b68c329e694be5b11998e.zip
add fragmentation and rts settings thanks rene closes #1725
SVN-Revision: 7743
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