• Ivo van Doorn's avatar
    rt2x00: Rate structure overhaul · 70e2fed4
    Ivo van Doorn authored
    Recent changes to the rate structure registration broke rt2x00,
    the hw_value was reduced from 32bits to 16bits while rt2x00 used
    the full 32bits. However the way rt2x00 used the value was inflexible
    and needed to be changed anyway.
    
    This patch creates a array containing information for each rate,
    the hw_value passed to mac80211 is the index value for that array
    including a field to indicate if short preamble should be enabled.
    Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    70e2fed4
rt2x00reg.h 4.61 KB