]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: pci: disable ASPM L0sLs before downloading firmware
authorCarl Huang <cjhuang@codeaurora.org>
Thu, 17 Dec 2020 15:22:10 +0000 (17:22 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 18 Dec 2020 09:03:50 +0000 (11:03 +0200)
commit7d1b11ba7928af8c6727ec4a3abb43bbf418fb59
treed3fdddefa519edc1bab1980f02ef12faa36d8001
parent48603931b7919e93c8289e4e5ad5c84f50369daf
ath11k: pci: disable ASPM L0sLs before downloading firmware

Sometimes QCA6390 doesn't switch to amss state as device enters
L1ss state, so disable L0sL1s during firmware downloading.
Driver recovers the ASPM to default value in start callback
or powerdown callback.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1608218530-15426-1-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/pci.c
drivers/net/wireless/ath/ath11k/pci.h