]> err.no Git - linux-2.6/commit
rt2x00: Rate structure overhaul
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 3 Feb 2008 14:50:40 +0000 (15:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:38 +0000 (15:19 -0500)
commit70e2fed4ec14df84ed72554d573794714b15a078
tree6e8d63a357fb1c45d950f292bf330e8af718b85a
parente71c9fac316221a4594f3bd58c2d30ada0cabaf6
rt2x00: Rate structure overhaul

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: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00config.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00reg.h