ath9k: Handle mac80211's RC flags for MCS rates
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 30 Jan 2009 08:59:28 +0000 (14:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:44 +0000 (15:03 -0500)
commitc89424df441ea8d794682b9c5620d8e8b0315438
tree1638bf3e6e8bf0bace48f99ac9884df71683fad4
parent3900898c7a3d563d14a1288f483f8a589bd38299
ath9k: Handle mac80211's RC flags for MCS rates

mac80211 notifies the RC algorithm if RTS/CTS and short preamble
are needed. The RC flags for MCS rates are currently not handled
by mac80211, and ath9k's RC doesn't set the flags either. Fix this.

Also, set the rts_cts_rate_idx inside the RC algorithm.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/mac.c
drivers/net/wireless/ath9k/rc.c
drivers/net/wireless/ath9k/xmit.c