]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitc2b8359d7878f75584ed68b7a2b930bd9bea814d
tree491257b9955fb717733f8b4874484d5588ec059d
parenta4df8f56e92104c5e7be82cc2c471e600ea3f9ef
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