From: Ping-Ke Shih <pkshih@realtek.com>
To: Luis Albisu <lfa@me.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [BUG] wifi: rtw88: WARN_ON storm from rtw_get_channel_group() - 5GHz channel 163 missing from switch
Date: Mon, 7 Sep 2026 00:45:07 +0000 [thread overview]
Message-ID: <0d8a797bf64141e7ad438bfed0a85599@realtek.com> (raw)
In-Reply-To: <1EC07BE6-C572-4E85-8C6B-5587597D8186@me.com>
Luis Albisu <lfa@me.com> wrote:
> Hi,
>
> This report was generated by Claude Code after it addressed an issue it found on one of my machines.
>
> It suggested I submit this since it might be of interest.
>
> Thank you for developing and making this code available and I hope this is helpful!
>
> Sincerely,
>
> LFA
>
> On 6.18.29 an RTL8821AU in monitor mode produces a WARN_ON backtrace on
> every channel hop that lands on 5GHz channel 165 with HT40, at roughly
> 152 warnings per visit. Over a day this wrote 2.8 GB of journal on the
> host and cut log retention from ~15 days to ~1.5. Not fatal, but it
> taints the kernel and buries every other log line.
I think the restriction always presents, right? Or only happens after 6.18.29?
>
> Hardware / software
> -------------------
> Adapter: Alfa AWUS036ACS, USB 0bda:0811
> "Realtek 8812AU/8821AU 802.11ac WLAN Adapter"
> Driver: rtw88_8821au / rtw88_8821a / rtw88_88xxa / rtw88_usb / rtw88_core
> Kernel: 6.18.29+rpt-rpi-2712 #1 PREEMPT Debian 1:6.18.29-1+rpt1, aarch64
> Machine: Raspberry Pi 5 Model B Rev 1.0
> Regdom: country US (DFS-FCC); relevant range (5730 - 5850 @ 80)
> Consumer: Kismet, monitor VIF, channel_hop_speed=1/sec
>
> Reproduction
> ------------
> Put the adapter in monitor mode and set the channel to 165 with HT40
> (Kismet's linuxwifi source does this automatically as part of its hop
> list). Every such hop emits the backtrace below. Channels 1-11, 36-64,
> 100-144, 149-161 are all clean; only hops involving 165 warn.
>
> I isolated it by sampling `iw dev wlan1mon info` every 150 ms for 60 s
> and joining the samples to warning timestamps. All 152 warnings in that
> window fell in the two sample windows adjacent to the single visit to
> channel 165. A visit to channel 161 at HT40 in a cycle that did not
> include 165 produced zero warnings, as did every 20 MHz and 80 MHz
> visit to every other channel.
>
> Removing 165 from the hop list stops it completely: 480 warnings per
> 10 minutes before, 0 across three separate 10-minute windows after.
>
It looks similar to the one we met before. Please apply [1] to see
if it can avoid the warning, but it also denies the use of certain channels.
[1] https://patchwork.kernel.org/project/linux-wireless/patch/20260413053601.13037-1-pkshih@realtek.com/
prev parent reply other threads:[~2026-09-07 0:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 21:54 [BUG] wifi: rtw88: WARN_ON storm from rtw_get_channel_group() - 5GHz channel 163 missing from switch Luis Albisu
2026-09-07 0:45 ` Ping-Ke Shih [this message]
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=0d8a797bf64141e7ad438bfed0a85599@realtek.com \
--to=pkshih@realtek.com \
--cc=lfa@me.com \
--cc=linux-wireless@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).