ath10k: Avoid override CE5 configuration for QCA99X0 chipsets
authorMaharaja Kennadyrajan <mkenna@codeaurora.org>
Mon, 4 May 2020 09:03:13 +0000 (12:03 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 5 May 2020 07:33:42 +0000 (10:33 +0300)
commit521fc37be3d879561ca5ab42d64719cf94116af0
tree91c9103c1377df0508f904b832e17ca2643d41c3
parent657680cc86ca4b5d49b5bb313b1320fb8439528c
ath10k: Avoid override CE5 configuration for QCA99X0 chipsets

As the exisiting CE configurations are defined in global, there
are the chances of QCA99X0 family chipsets CE configurations
are getting changed by the ath10k_pci_override_ce_config()
function.

The override will be hit and CE5 configurations will be changed,
when the user bring up the QCA99X0 chipsets along with QCA6174
or QCA9377 chipset. (Bring up QCA99X0 family chipsets after
QCA6174 or QCA9377).

Hence, fixing this issue by moving the global CE configuration
to radio specific CE configuration.

Tested hardware: QCA9888 & QCA6174
Tested firmware: 10.4-3.10-00047 & WLAN.RM.4.4.1.c3-00058

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1587649759-14381-1-git-send-email-mkenna@codeaurora.org
drivers/net/wireless/ath/ath10k/ce.h
drivers/net/wireless/ath/ath10k/pci.c
drivers/net/wireless/ath/ath10k/pci.h
drivers/net/wireless/ath/ath10k/snoc.c