ath11k: hif: implement suspend and resume functions
authorCarl Huang <cjhuang@codeaurora.org>
Fri, 11 Dec 2020 17:35:42 +0000 (19:35 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 Dec 2020 04:41:19 +0000 (06:41 +0200)
commitfa5917e44ee888732bba5294a9a22c1d54cce393
tree27ea4a7748b110c48e1b01d9ae3e249492bad060
parent34fb81e4eb924f73f0b0428c6c8fd3b2b44c518c
ath11k: hif: implement suspend and resume functions

For suspend support add suspend and resume to HIF layer. These ops are optional
and, for example, AHB bus driver does not need to implement these.

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-3-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/hif.h
drivers/net/wireless/ath/ath11k/pci.c