projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06966a5
)
add fragmentation and rts settings thanks rene closes #1725
author
Travis Kemen
<thepeople@openwrt.org>
Wed, 27 Jun 2007 13:25:55 +0000
(13:25 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Wed, 27 Jun 2007 13:25:55 +0000
(13:25 +0000)
SVN-Revision: 7743
package/madwifi/files/lib/wifi/madwifi.sh
patch
|
blob
|
history
diff --git
a/package/madwifi/files/lib/wifi/madwifi.sh
b/package/madwifi/files/lib/wifi/madwifi.sh
index 2fd025b1277243a6e0bcb110b0e89b5875797868..69506dbde5e9c247350ac931da9cea178ff39269 100755
(executable)
--- 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