My laptop’s WiFi connectivity is unreliable while on battery power. It will function properly for a brief period before disconnecting. I have discovered that disconnecting and then reconnecting from the taskbar applet is an effective troubleshooting method for restoring connectivity.
I did a little digging and found this article and comment that seem relevant to my WiFi chipset.
Network configuration/Wireless - ArchWiki and Random failure on PopOS (Debian Base) · Issue #275 · lwfinger/rtw89 · GitHub
Based on the suggestions mentioned in the section relevant to my driver (rtw89), I changed the following config file on my system with this entry.
/etc/modprobe.d/70-rtw89.conf
options rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89_core disable_ps_mode=y
options rtw89core disable_ps_mode=y
Unfortunately, this didn’t really solve the issue. The alternative was to build the open source driver for this wifi chipset from GitHub - lwfinger/rtw89: Driver for Realtek 8852AE, an 802.11ax device and rebuild and reload it on every kernel update. This already sounds like a lot of work to get wifi working! and I am confused with the installation steps as well.
The following is my system configuration.
$ inxi -SNn --filter
System:
Kernel: 6.10.6-200.fc40.x86_64 arch: x86_64 bits: 64
Desktop: Cinnamon v: 6.2.8 Distro: Fedora Linux 40 (Cinnamon)
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
driver: rtw89_8852ae
IF: wlo1 state: up mac: <filter>
$ lspci
...
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 16)
05:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
...
$ lsmod | grep rtw
rtw89_8852ae 12288 0
rtw89_8852a 716800 1 rtw89_8852ae
rtw89_pci 114688 1 rtw89_8852ae
rtw89_core 950272 2 rtw89_pci,rtw89_8852a
mac80211 1753088 2 rtw89_core,rtw89_pci
cfg80211 1421312 3 rtw89_core,mac80211,rtw89_8852a
Can anyone show me a way to solve this. Luckily my laptop has an Ethernet port and I use it more like a desktop these days due to this issue. I have been using Linux on this laptop for quite a long time and there were never any issues like this a year ago and I have only seen this network regression since last year. I have seen this problem persist while running arch-based EndeavourOS with the KDE desktop environment, and now on Fedora.