]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix diversity combining for AR9285
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 23 Jul 2013 10:55:17 +0000 (16:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:39 +0000 (11:02 -0400)
commit1eee17a9676ca6537bd04dac98716c462678838b
tree491257b9955fb717733f8b4874484d5588ec059d
parent9c59d90e364e384f122d7b9d263e7910fd51160e
ath9k: Fix diversity combining for AR9285

When antenna diversity combining is enabled in the EEPROM,
the initial values for the MAIN/ALT config have to be
programmed correctly. This patch adds it for AR9285.

Since the diversity combining macros are common to all chip
families, remove the redundant AR9285 macros and move the
definitions to phy.h.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_phy.h
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/ar9003_phy.h
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/eeprom_4k.c
drivers/net/wireless/ath/ath9k/phy.h