ath5k: Set turbo bit on rf bank 2
commit4352fab5c2a1a602447d711c84d149bf2f0bc7ba
authorNick Kossifidis <mickflemm@gmail.com>
Tue, 23 Nov 2010 19:53:28 +0000 (23 21:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:53:45 +0000 (30 13:53 -0500)
tree28f6836f68fa6180223b948220f32df274098a63
parent8c2b418a07b4dc77d7efadb890ba9ad1a4161c3f
ath5k: Set turbo bit on rf bank 2

 * A diff between rfbuffer settings of turbo and non-turbo
 modes indicates there is a bit on bank 2 related to turbo operation
 (it's set on turbo modes). This bit is present on all radios except
 RF5413 that seems to have a completely different bank 2. Also
 since 2317 has the same rf-registers locations with 2425 and
 since the bit exists on 2317 I assume it also exists on 2425/2417).
 So in case we use turbo mode (40MHz) enable it on bank modification.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/phy.c
drivers/net/wireless/ath/ath5k/rfbuffer.h