Re: [PATCH v2] wifi: rtw88: pci: Enter IPS before PCI_D3hot on shutdown
From: Ping-Ke Shih
Date: Tue Dec 01 2026 - 03:18:09 EST
Swapnil Shinde <shindeswapnil028@xxxxxxxxx> wrote:
> Currently rtw_pci_shutdown() invokes chip->ops->shutdown() and
> immediately transitions the device to PCI_D3hot without stopping the
> firmware/MAC or notifying Bluetooth coexistence when RTW_FLAG_POWERON
> is active.
>
> On RTL8723DE combo cards, leaving the MAC active across a warm reset
> causes REG_APS_FSMCO polling (offset 0x5, mask 0x1) to time out with
> -EBUSY (-16) on the next boot. Export rtw_enter_ips() and invoke it
> under rtwdev->mutex before entering PCI_D3hot so the driver notifies
> COEX_IPS_ENTER, stops the core/MAC, and enters PCIe link power save.
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
28f426f4ef94 wifi: rtw88: pci: Enter IPS before PCI_D3hot on shutdown
---
https://github.com/pkshih/rtw.git