diff options
author | thepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-27 13:25:55 +0000 |
---|---|---|
committer | thepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-27 13:25:55 +0000 |
commit | 9ff2a956d3214802de5e9c6bc23d1850215f6380 (patch) | |
tree | c445c8133851ba5699594e45d1a9454bd607bfe8 /package/madwifi/files/lib | |
parent | 92ed42016c3a8f74ff51fd6c11ef88025b208994 (diff) |
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/madwifi/files/lib')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 12 |
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 |