public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH ath-next 0/5] wifi: ath11k: bring hibernation support back
@ 2025-03-20  2:29 Baochen Qiang
  2025-03-20  2:29 ` [PATCH ath-next 1/5] wifi: ath11k: determine PM policy based on machine model Baochen Qiang
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Baochen Qiang @ 2025-03-20  2:29 UTC (permalink / raw)
  To: ath11k; +Cc: linux-wireless, quic_bqiang

To handle the Lenovo unexpected wakeup issue [1], previously we revert
commit 166a490f59ac ("wifi: ath11k: support hibernation"). However we
need to bring it back, of course with additional changes such that Lenovo
machines would not break.

As those machines work well in Non-WoWLAN suspend mode, the thought here
is that we do WoWLAN suspend on Lenovo machines while do non-WoWLAN
suspend (which is done in the reverted commit) on other machines. This
requires us to identify Lenovo machines from others. For that purpose,
read machine info from DMI interface, match it against all known affected
machines. If there is a match, choose WoWLAN suspend mode, else choose
non-WoWLAN mode.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=219196

Baochen Qiang (5):
  wifi: ath11k: determine PM policy based on machine model
  wifi: ath11k: introduce ath11k_core_continue_suspend_resume()
  wifi: ath11k: refactor ath11k_core_suspend/_resume()
  wifi: ath11k: support non-WoWLAN mode suspend as well
  Reapply "wifi: ath11k: restore country code during resume"

 drivers/net/wireless/ath/ath11k/ahb.c  |   4 +-
 drivers/net/wireless/ath/ath11k/core.c | 245 +++++++++++++++++++++++--
 drivers/net/wireless/ath/ath11k/core.h |  11 ++
 drivers/net/wireless/ath/ath11k/hif.h  |  14 +-
 drivers/net/wireless/ath/ath11k/mhi.c  |  14 +-
 drivers/net/wireless/ath/ath11k/mhi.h  |   5 +-
 drivers/net/wireless/ath/ath11k/pci.c  |  44 ++++-
 drivers/net/wireless/ath/ath11k/qmi.c  |   4 +-
 8 files changed, 301 insertions(+), 40 deletions(-)


base-commit: b6f473c96421b8b451a8df8ccb620bcd71d4b3f4
-- 
2.25.1


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

end of thread, other threads:[~2025-03-25 10:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-20  2:29 [PATCH ath-next 0/5] wifi: ath11k: bring hibernation support back Baochen Qiang
2025-03-20  2:29 ` [PATCH ath-next 1/5] wifi: ath11k: determine PM policy based on machine model Baochen Qiang
2025-03-20 22:43   ` kernel test robot
2025-03-21 16:24   ` Jeff Johnson
2025-03-25 10:40   ` Julian Wollrath
2025-03-25 10:45     ` Baochen Qiang
2025-03-20  2:30 ` [PATCH ath-next 2/5] wifi: ath11k: introduce ath11k_core_continue_suspend_resume() Baochen Qiang
2025-03-20  2:30 ` [PATCH ath-next 3/5] wifi: ath11k: refactor ath11k_core_suspend/_resume() Baochen Qiang
2025-03-20  2:30 ` [PATCH ath-next 4/5] wifi: ath11k: support non-WoWLAN mode suspend as well Baochen Qiang
2025-03-20  2:30 ` [PATCH ath-next 5/5] Reapply "wifi: ath11k: restore country code during resume" Baochen Qiang
2025-03-23 20:12 ` [PATCH ath-next 0/5] wifi: ath11k: bring hibernation support back Muhammad Usama Anjum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox