ath9k_hw: Fix STA connection issues with AR9380 (XB113).
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Thu, 12 May 2011 10:54:28 +0000 (16:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 May 2011 18:10:51 +0000 (14:10 -0400)
XB113 (AR9380) 3x3 SB 5G only cards were failing to connect to APs
due to incorrect xpabiaslevel configuration. fix it.

Cc: stable@kernel.org
Cc: Ray Li <ray.li@greenwavereality.com>
Cc: Kathy Giori <kathy.giori@atheros.com>
Cc: Aeolus Yang <aeolus.yang@atheros.com>
Cc: compat@orbit-lab.org
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

index 0647cc5..6dfb69a 100644 (file)
@@ -922,7 +922,7 @@ static const struct ar9300_eeprom ar9300_x113 = {
                .db_stage2 = {3, 3, 3}, /* 3 chain */
                .db_stage3 = {3, 3, 3}, /* doesn't exist for 2G */
                .db_stage4 = {3, 3, 3},  /* don't exist for 2G */
-               .xpaBiasLvl = 0,
+               .xpaBiasLvl = 0xf,
                .txFrameToDataStart = 0x0e,
                .txFrameToPaOn = 0x0e,
                .txClip = 3, /* 4 bits tx_clip, 4 bits dac_scale_cck */