]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc3110d83b94ab568ab5ffdcae82c3d88ce24172
tree1638bf3e6e8bf0bace48f99ac9884df71683fad4
parent5338b3fe195d7626867400870be9f11382cedc23
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