ath9k: Use correct PCIE initvals for AR9485
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 8 Nov 2013 06:15:25 +0000 (11:45 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Nov 2013 19:47:45 +0000 (14:47 -0500)
commit2d22c7dded7dcf6feaede2d6f476fd991426980a
tree257d30ca358b65b4d1beedeafcc7d9dcc9e6414c
parent876efcf05c3aa582de5efefa7dd6fbb731b4d085
ath9k: Use correct PCIE initvals for AR9485

Currently, the PLL is turned off for AR9485 when
switching to a low power state, but AR9485 has an issue
where the card will become unresponsive if left idle
for a long time without any traffic. To fix this,
force the PLL to always be on using a different initval
array, ar9485_1_1_pll_on_cdr_on_clkreq_disable_L1.

This is done for most of the AR9485 based cards
like HB125, WB225 etc. but certain models require the
feature to be turned off. Identify such cards and use
default values for them.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_hw.c
drivers/net/wireless/ath/ath9k/ar9485_initvals.h
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/pci.c