mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-17 20:34:36 +00:00
mac80211: add HT support for mesh
This is a quick patch to enable HT for mesh mode https://github.com/cozybit/open80211s/wiki/HOWTO#high-throughput http://lists.open80211s.org/pipermail/devel/2012-March/002990.html For my test setup the speed increased from 1-2 Mbytes/sec to 8-10 Mbytes/sec (iperf) Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 36639
This commit is contained in:
parent
580481cd6d
commit
325629b4fc
@ -411,7 +411,12 @@ enable_mac80211() {
|
||||
# We attempt to set the channel for all interfaces, although
|
||||
# mac80211 may not support it or the driver might not yet
|
||||
# for ap mode this is handled by hostapd
|
||||
[ -n "$fixed" -a -n "$channel" ] && iw dev "$ifname" set channel "$channel"
|
||||
config_get htmode "$device" htmode
|
||||
case "$htmode" in
|
||||
HT20|HT40+|HT40-) ;;
|
||||
*) htmode= ;;
|
||||
esac
|
||||
[ -n "$fixed" -a -n "$channel" ] && iw dev "$ifname" set channel "$channel" $htmode
|
||||
fi
|
||||
|
||||
i=$(($i + 1))
|
||||
|
Loading…
Reference in New Issue
Block a user