]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: dp: stop rx pktlog before suspend
authorCarl Huang <cjhuang@codeaurora.org>
Fri, 11 Dec 2020 17:35:46 +0000 (19:35 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 Dec 2020 04:41:31 +0000 (06:41 +0200)
commit74ffbf4c710b47cb0dd09c4a40d532a4e12d9dd3
tree59a72b44c41824c7f2f8af313eaf43d4b67eae90
parentceb322cdedf4b962499a651c4cb998df948fcd7e
ath11k: dp: stop rx pktlog before suspend

Stop dp rx pktlog when entering suspend and reap the mon_status buffer to keep
it empty. During resume restart the reap timer.

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/1607708150-21066-7-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/dp.h
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/dp_rx.h
drivers/net/wireless/ath/ath11k/mac.c