• Luis R. Rodriguez's avatar
    mac80211: fix max HT rate processing on mac80211 · e5d6eb83
    Luis R. Rodriguez authored
    The max MCS index is 76, fix the higher check to allow through
    frames received at MCS 76. This is a non-issue for current drivers
    as MCS 76 is only possible with a device supporting 4 spatial
    streams.
    
    While at it change the WARN_ON() on invalid HT rates to a WARN()
    to provide more useful information. This will help debug issues
    when the driver is passing up a bogus HT rate value.
    
    The rate must map to a valid MCS index which can be any of the
    values in the set [0 - 76] (inclusive).
    Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    e5d6eb83
rx.c 69.7 KB