On 4/3/22 13:11, G. P. B. wrote:
Dear all,
Hopefully this email gets added to the thread correctly as I came here from
https://lore.kernel.org/linux-wireless/CAO_iuKG0gE=5fEKMF2A+iWUhsxtnPOQtTQTkBRo2vH5CmKu7iA@xxxxxxxxxxxxxx/
<https://lore.kernel.org/linux-wireless/CAO_iuKG0gE=5fEKMF2A+iWUhsxtnPOQtTQTkBRo2vH5CmKu7iA@xxxxxxxxxxxxxx/>
and using the mailto link with Gmail.
I'm also hitting this issue but I'm not sure if this is a regression in 5.16.
I've been struggling with weird random disconnects for a while but I blamed it
on the known bad router that I usually connect to at my university (at least
October 2021 when I got this laptop brand new).
The laptop is a HP Pavilion Laptop 15-eh0014na running Fedora 34:
Linux fedora 5.16.18-100.fc34.x86_64 #1 SMP PREEMPT Mon Mar 28 14:46:06 UTC 2022
x86_64 x86_64 x86_64 GNU/Linux
Network driver:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac
PCIe Wireless Network Adapter DeviceName: Realtek Wireless LAN + BT Subsystem:
Hewlett-Packard Company Device 85f7 Kernel driver in use: rtw_8822ce Kernel
modules: rtw88_8822ce
A sample, similar to the ones of Nico, of the output of dmesg -w:
[ 915.489081] rtw_8822ce 0000:02:00.0: timed out to flush queue 1 [ 915.599086]
rtw_8822ce 0000:02:00.0: timed out to flush queue 2 [ 915.711096] rtw_8822ce
0000:02:00.0: timed out to flush queue 1 [ 915.822106] rtw_8822ce 0000:02:00.0:
timed out to flush queue 2 [ 916.265097] rtw_8822ce 0000:02:00.0: timed out to
flush queue 0 [ 916.376085] rtw_8822ce 0000:02:00.0: timed out to flush queue 1
[ 916.449083] rtw_8822ce 0000:02:00.0: failed to get tx report from firmware
I'm not very proficient at debugging Linux so not sure how much more I can help
to narrow down the issue.
But maybe a description of my experience might help, the WiFi icon still
considers at all time to be connected to the router and have a perfect signal.
Sometimes enabling and immediately disabling Airplane mode fixes the issue
(probably due to a restart of the module?), and the issue is more likely to come
up after waking up from sleep.
I will try to see if I can rollback the kernel to 5.15 and see if that fixes the
issue and report back.
If I can be of any other assistance please let me know.
George,
I do not know of any regression in 5.16 with regard to the driver for RTL8822CE.
Certainly, I saw no regressions in my testing of that driver from before it was
in the kernel up to the present. That said, I can only comment on the user-space
part of openSUSE Tumbleweed, which is probably not your distro of choice.
Are you using the drivers at https://GitHub.com/lwfinger/rtw88.git rather than
the ones in the kernel? Your posted errors that refer to rtw_8822ce indicate
that to be true. If the drivers came from the kernel, the reference would be to
rtw88_8822ce! If so, do a 'git pull' to get the drivers updated to match the
code in kernel 5.18. A lot of things have been fixed.
In your system, please do a 'lsmod | grep rtw'. If any items refer to rtw88_*,
you have mixed drivers loaded. In that case, you should blacklist the rtw88_*
driver.
Larry