Changeset 36639


Ignore:
Timestamp:
2013-05-15T11:36:02+02:00 (5 years ago)
Author:
nbd
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/files/lib/wifi/mac80211.sh

    r36408 r36639  
    412412                        # mac80211 may not support it or the driver might not yet 
    413413                        # for ap mode this is handled by hostapd 
    414                         [ -n "$fixed" -a -n "$channel" ] && iw dev "$ifname" set channel "$channel" 
     414                        config_get htmode "$device" htmode 
     415                        case "$htmode" in 
     416                                HT20|HT40+|HT40-) ;; 
     417                                *) htmode= ;; 
     418                        esac 
     419                        [ -n "$fixed" -a -n "$channel" ] && iw dev "$ifname" set channel "$channel" $htmode 
    415420                fi 
    416421 
Note: See TracChangeset for help on using the changeset viewer.