All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] ath12k: Make suspend/resume work for WCN7850
@ 2023-07-21  2:34 ` Baochen Qiang
  0 siblings, 0 replies; 8+ messages in thread
From: Baochen Qiang @ 2023-07-21  2:34 UTC (permalink / raw)
  To: ath12k; +Cc: linux-wireless

This patch set flushes all data and management packets before
suspend, so the 500ms delay workaround in ath12k_core_suspend
is not needed and removed.

Due to MHI bugs, at the moment we are not able to shutdown and
fully power off the device. As a workaround we put firmware to
WoW state to make sure no unexpected activities while host is
in suspend.

With all suspend/resume functionality implemented, we change
supports_suspend to true for WCN7850 to make it work.

Baochen Qiang (3):
  wifi: ath12k: Flush all packets before suspend
  wifi: ath12k: Put firmware to WoW state during suspend
  wifi: ath12k: Turn on suspend/resume switch for WCN7850

 drivers/net/wireless/ath/ath12k/Makefile |   1 +
 drivers/net/wireless/ath/ath12k/core.c   |  31 ++++-
 drivers/net/wireless/ath/ath12k/core.h   |   4 +
 drivers/net/wireless/ath/ath12k/hw.c     |   2 +-
 drivers/net/wireless/ath/ath12k/mac.c    |  44 ++++--
 drivers/net/wireless/ath/ath12k/mac.h    |   1 +
 drivers/net/wireless/ath/ath12k/wmi.c    | 107 +++++++++++++++
 drivers/net/wireless/ath/ath12k/wmi.h    | 165 +++++++++++++++++++++++
 drivers/net/wireless/ath/ath12k/wow.c    |  74 ++++++++++
 drivers/net/wireless/ath/ath12k/wow.h    |  30 +++++
 10 files changed, 442 insertions(+), 17 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath12k/wow.c
 create mode 100644 drivers/net/wireless/ath/ath12k/wow.h


base-commit: b21fe5be53eb873c02e7479372726c8aeed171e3
-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-21  2:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21  2:34 [RFC 0/3] ath12k: Make suspend/resume work for WCN7850 Baochen Qiang
2023-07-21  2:34 ` Baochen Qiang
2023-07-21  2:34 ` [RFC 1/3] wifi: ath12k: Flush all packets before suspend Baochen Qiang
2023-07-21  2:34   ` Baochen Qiang
2023-07-21  2:34 ` [RFC 2/3] wifi: ath12k: Put firmware to WoW state during suspend Baochen Qiang
2023-07-21  2:34   ` Baochen Qiang
2023-07-21  2:34 ` [RFC 3/3] wifi: ath12k: Turn on suspend/resume switch for WCN7850 Baochen Qiang
2023-07-21  2:34   ` Baochen Qiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.