From: Cristian Deluxe <me@cristiandeluxe.dev>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] wifi: rtw88: 8703b: repair the card-disable transition
Date: Fri, 11 Sep 2026 17:38:10 +0200 [thread overview]
Message-ID: <178914109042.64584.1681714272474754544@cristiandeluxe.dev> (raw)
Two fixes to rtw8703b's power sequence tables, both found by comparing
them against trans_*_8723d and against Realtek's own 8703b sequence
header, and both tested on an RTL8723CS over SDIO.
The first is the one that matters. trans_carddis_to_cardemu_8703b has a
single entry where its sibling has seven, so the SDIO suspend request
and the 12H LDO sleep that trans_cardemu_to_carddis_8703b sets are never
undone. On a board where WL_REG_ON is the host's only reset and the
chip's rail cannot be switched, the part then comes back from every warm
reboot with its MAC unpowered while the SDIO function still enumerates,
and the driver waits forever for power ready. Nothing short of
disconnecting the battery cleared it; the vendor driver recovered it
every time, which is what pointed at the tables.
The second is small: the first entry of trans_act_to_lps_8703b writes to
the PCIe DMA control on every interface, where both 8723d and Realtek's
header restrict it to PCI.
Tested on a Denver TAQ-102 tablet (RK3126C, RTL8723CS on SDIO) against
7.3.0-rc2: recovers a chip left wedged by a previous boot, survives
repeated warm reboots and loader-mode flash cycles, and 35 hours of
continuous association across the pair.
Cristian Deluxe (2):
wifi: rtw88: 8703b: complete the card-disable to card-emulation
transition
wifi: rtw88: 8703b: stop the PCIe DMA write reaching SDIO
drivers/net/wireless/realtek/rtw88/rtw8703b.c | 34 ++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
--
2.51.0
next reply other threads:[~2026-09-11 17:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 15:38 Cristian Deluxe [this message]
2026-09-11 15:38 ` [PATCH 1/2] wifi: rtw88: 8703b: complete the card-disable to card-emulation transition Cristian Deluxe
2026-09-13 2:44 ` Ping-Ke Shih
2026-09-16 5:30 ` Ping-Ke Shih
2026-09-11 15:38 ` [PATCH 2/2] wifi: rtw88: 8703b: stop the PCIe DMA write reaching SDIO Cristian Deluxe
2026-09-13 2:49 ` Ping-Ke Shih
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178914109042.64584.1681714272474754544@cristiandeluxe.dev \
--to=me@cristiandeluxe.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®