RE: [PATCH 2/2] wifi: rtw88: 8703b: stop the PCIe DMA write reaching SDIO
From: Ping-Ke Shih
Date: Sat Sep 12 2026 - 22:50:07 EST
Cristian Deluxe <me@xxxxxxxxxxxxxxxxxx> wrote:
> The first entry of trans_act_to_lps_8703b writes 0xff to MAC register
> 0x301 on every interface. That register is the PCIe DMA control, and
> both trans_act_to_lps_8723d and Realtek's own 8703b sequence header
> restrict the same entry to PCI, where it is commented "PCIe DMA stop".
>
> So on an RTL8723CS, which is SDIO only, every transition into low power
> poked a PCIe register for no reason. Restrict it the way the sibling
> chip and the vendor both do.
>
> Tested on an RTL8723CS over SDIO: the interface goes down and back up,
> reassociates and takes an address, and a warm reboot brings Wi-Fi back
> with no change in behaviour.
>
> Signed-off-by: Cristian Deluxe <me@xxxxxxxxxxxxxxxxxx>
Checked. The settings are identical to vendor driver.
Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>