linux/drivers/net/wireless/ath
Carl Huang d1b0c33850 ath11k: implement suspend for QCA6390 PCI devices
Now that all the needed pieces are in place implement suspend support QCA6390
PCI devices. All other devices will return -EOPNOTSUPP during suspend. The
suspend is implemented by switching the firmware to WoW mode during suspend, so
the firmware will be running on low power mode while host is in suspend.

At the moment we are not able to shutdown and fully power off the device due to
bugs in MHI subsystem, so WoW mode is a workaround for the time being.

During suspend we enable WoW mode, disable CE irq and DP irq, then put MHI to
suspend state.  During resume, driver resumes MHI firstly, then enables CE irq
and dp IRQ, and sends WoW wakeup command to firmware.

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-11-git-send-email-kvalo@codeaurora.org
2020-12-12 06:41:44 +02:00
..
ar5523 treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ath5k ath5k: Fix fall-through warnings for Clang 2020-12-09 09:01:26 +02:00
ath6kl Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-12-02 21:46:55 +02:00
ath9k ath9k_htc: adhere to the DONT_REORDER transmit flag 2020-12-09 09:05:20 +02:00
ath10k ath10k: add atomic protection for device recovery 2020-12-12 06:38:12 +02:00
ath11k ath11k: implement suspend for QCA6390 PCI devices 2020-12-12 06:41:44 +02:00
carl9170 carl9170: Fix fall-through warnings for Clang 2020-12-09 09:01:29 +02:00
wcn36xx wcn36xx: Fix fall-through warnings for Clang 2020-12-09 09:01:32 +02:00
wil6210 wil6210: wmi: Correct misnamed function parameter 'ptr_' 2020-11-07 10:09:56 +02:00
ath.h
debug.c
dfs_pattern_detector.c ath: dfs_pattern_detector: Fix some function kernel-doc headers 2020-11-07 10:06:46 +02:00
dfs_pattern_detector.h
dfs_pri_detector.c ath: dfs_pri_detector: Demote zero/half completed kernel-doc headers 2020-11-07 10:06:49 +02:00
dfs_pri_detector.h
hw.c
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2020-06-15 20:18:39 +03:00
key.c
main.c
Makefile ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
reg.h
regd_common.h
regd.c ath: regd: Provide description for ath_reg_apply_ir_flags's 'reg' param 2020-11-07 10:06:43 +02:00
regd.h ath: drop duplicated define 2019-04-29 17:55:53 +03:00
spectral_common.h ath11k: add support for spectral scan 2020-06-15 17:21:54 +03:00
trace.c
trace.h