Repository navigation
The Realtek WiFi driver notes
might because of d3cold, disable it by
echo 0 > /sys/bus/pci/devices/<device_address>/d3cold_allowed
If it works, add an entry to d3cold_quirks[] [1].
[1] https://github.com/pkshih/rtw/blob/rtw-next/drivers/net/wireless/realtek/rtw89/pci.c#L4769
Might because of power saving
iw wlan0 power_save off
more option to bisect the causes
/etc/modprobe.d/rtw89.conf
options rtw89_pci disable_clkreq=y disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89_core disable_ps_mode=y
The log look like SER catches error: 0x1000, where 0x1000 means L1. (0x2000 means L2)
Normally L1 is harmless, which firmware does notify driver that it does a recovery.
However, if the recovery is too frequent (like 3 times per minutes), it is abnormal.
Or connection become not usable after recovery. We need to apply attached debug patch of [1]
to collect info.
[1] https://lore.kernel.org/linux-wireless/703ebc52e1d544e590874df041b4d979@realtek.com/
Most chips supported by rtw89 are WiFi/BT combo cards.
You might encounter BT choppy music, WiFi disconnected, or something else
only if WiFi/BT turn on at the same time.
Please use below file to capture log, and report the time and symptom
you encountered.
Use below command to switch monitor mode
sudo iw wlan0 set type monitor
sudo iw wlan0 set monitor fcsfail # if you want CRC error packets
sudo ifconfig wlan0 up
sudo iw dev wlan0 set channel 1 HT20 # for example.
Then, you can open a GUI wireshark or tcpdump to capture packets.