From: Andrea Lodi <andrealodi85@gmail.com>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org
Subject: [BUG] wifi: rtw89: 8851be: "c2h reg timeout" adds ~14 s to S3 suspend and resume when WoWLAN is enabled
Date: Sun, 6 Dec 2026 09:26:43 +0100 [thread overview]
Message-ID: <3c426714-0aaf-4a63-a6c4-e4615823661b@gmail.com> (raw)
Hi Ping-Ke,
On an RTL8851BE (PCIe), enabling WoWLAN (magic packet) makes both system
suspend and resume about 14 seconds slower. During each phase the driver
logs "c2h reg timeout" three times. WoWLAN itself still works: the
machine wakes on a magic packet as expected.
With WoWLAN disabled, the delay and the timeouts go away completely.
Two consecutive S3 cycles on the same boot, a few minutes apart:
WoWLAN off: PM: suspend devices took 0.469 seconds
PM: resume devices took 2.057 seconds
(no rtw89 messages)
WoWLAN on: rtw89_8851be 0000:03:00.0: c2h reg timeout (x3)
PM: suspend devices took 13.997 seconds
rtw89_8851be 0000:03:00.0: Unknown wakeup reason 0
rtw89_8851be 0000:03:00.0: c2h reg timeout (x3)
PM: resume devices took 14.122 seconds
This is 100% reproducible on every suspend/resume cycle with WoWLAN on.
Because the delay exceeds 10 s, the kernel also prints the
suspend_test_finish() warning on each cycle.
Setup:
- Board: Gigabyte B550M GAMING X WIFI6, BIOS F4 10/28/2025 (AMD, desktop)
- Device: 03:00.0 Realtek RTL8851BE [10ec:b851], subsystem [10ec:b851]
- Kernel: 7.3.6-300.fc45.x86_64 (Fedora 45, in-tree rtw89)
- Firmware: rtw89/rtw8851b_fw-1.bin, version 0.29.41.5 (4bd6ebac)
(linux-firmware 20261124)
- Suspend mode: S3 (mem_sleep = deep)
- WoWLAN: "iw phy phyX wowlan enable magic-packet"
(set by NetworkManager wake-on-wlan=magic)
- AP: WPA2-PSK, 5 GHz (ch 40, 80 MHz), HE
Things tried that made no difference:
- rtw89_pci disable_aspm_l1=Y disable_aspm_l1ss=Y disable_clkreq=Y
- rtw89_core disable_ps_mode=Y
Steps to reproduce:
1. Connect to a WPA2-PSK AP.
2. iw phy phyX wowlan enable magic-packet
3. systemctl suspend, then wake the machine.
4. dmesg shows 3x "c2h reg timeout" in suspend and in resume, with
~14 s per phase.
The kernel log of both cycles (stack trace of the >10 s warning
trimmed) is attached.
I'm happy to test patches or enable extra debugging if needed.
Thanks,
Andrea
reply other threads:[~2026-12-06 8:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3c426714-0aaf-4a63-a6c4-e4615823661b@gmail.com \
--to=andrealodi85@gmail.com \
--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