On Fri, 28 Mar 2025 13:32:23 +0800, Baochen Qiang wrote: > 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. > > For suspend (S3), as those machines work well in WoWLAN mode, the thought > here is that we put WLAN target into WoWLAN mode on those machines while > into non-WoWLAN mode (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. This is done in patches [1 - 4/6] > > [...] Applied, thanks! [1/6] wifi: ath11k: determine PM policy based on machine model commit: ce8669a27016354dfa8bf3c954255cb9f3583bae [2/6] wifi: ath11k: introduce ath11k_core_continue_suspend_resume() commit: 3d2ce6ad9126b96a721542c6299a2f0967b5a63f [3/6] wifi: ath11k: refactor ath11k_core_suspend/_resume() commit: 662cc5b92c327e94587a959d7ed75862eda4b059 [4/6] wifi: ath11k: support non-WoWLAN mode suspend as well commit: 88fd03cf51a7d67dac976ecce079ccfc79376966 [5/6] wifi: ath11k: choose default PM policy for hibernation commit: 32d93b51bc7e2e557771abe4a88da69c609e3d52 [6/6] Reapply "wifi: ath11k: restore country code during resume" commit: 3b199a58cc585f423a85af2e57045c9a783361bb Best regards, -- Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx>