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)
commit840c36fa727aea13a2401a5d1d33b722b79df5af
tree59a72b44c41824c7f2f8af313eaf43d4b67eae90
parent8733d835ec433b8ba85c90761003437a8f4c1d4e
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