Fedora 40 Wi-Fi Issues on Lenovo Laptop—Disconnects and Won’t Reconnect (Realtek RTL8852BE)

Hello everyone :slight_smile:

I recently purchased a new Lenovo laptop and installed Fedora 40 on it. Since then, I’ve been experiencing “random” Wi-Fi disconnections. The issue is quite frustrating because once the Wi-Fi disconnects, I can’t reconnect without restarting the laptop—the Wi-Fi appears to be completely unresponsive when this happens. When I try to toggle the Wi-Fi on and off in the settings, no networks appear, and the only way to restore the connection is to restart the laptop. Unfortunately, the problem reoccurs just a few minutes after each restart.

To troubleshoot, I did some research and found that my laptop has a Realtek RTL8852BE Wi-Fi chip. I tried using the popular driver fix from this GitHub repository: GitHub - lwfinger/rtw89: Driver for Realtek 8852AE, an 802.11ax device. Initially, I thought this resolved the issue, as the connection seemed stable for a while. However, the problem persisted—sometimes I can use the laptop for a few hours without any issues, but once the Wi-Fi disconnects for the first time, it only works for a few minutes after each subsequent restart.

At this point, I’m not sure what to try next. Any advice or suggestions would be greatly appreciated!

Here are some additional details about my setup. If there’s anything else I should provide, just let me know :slight_smile:

ifconfig
	shows wlp3s0 right after connection failed. Switch Wlan off and on -> gone
sudo ifconfig wlp3s0 down
	wlan widget on -> SIOCSIFFLAG: Connection timed out
	wlan widget off -> SIOCSIFFLAG: Operation not possible due to RF-kill
alexa@laptopalex:~$ uname -a
	Linux laptopalex 6.10.12-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 30 21:38:25 UTC 2024 x86_64 GNU/Linux
alexa@laptopalex:~$ lsmod | grep rtw
	rtw89_8852be           12288  0
	rtw_8852b             413696  1 rtw89_8852be
	rtw89pci              118784  1 rtw89_8852be
	rtw89core            1110016  2 rtw89pci,rtw_8852b
	mac80211             1753088  2 rtw89pci,rtw89core
	cfg80211             1421312  3 rtw89core,mac80211,rtw_8852b
alexa@laptopalex:~$ lspci | grep Network
	03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
alexa@laptopalex:~$ rfkill
	ID TYPE      DEVICE                 SOFT      HARD
	 0 wlan      ideapad_wlan      unblocked unblocked
	 1 bluetooth ideapad_bluetooth unblocked unblocked
	 2 bluetooth hci0              unblocked unblocked
	 3 wlan      phy0              unblocked unblocked
alexa@laptopalex:~$ nmcli radio
	WIFI-HW  WIFI     WWAN-HW  WWAN    
	enabled  enabled  missing  enabled 
alexa@laptopalex:~$ sudo modprobe -n -v rtw_8852be
	insmod /lib/modules/6.10.12-200.fc40.x86_64/kernel/drivers/net/wireless/realtek/rtw89/rtw_8852be.ko.xz 

systemctl status NetworkManager

alexa@laptopalex:~$ systemctl status NetworkManager
	● NetworkManager.service - Network Manager
	     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: enabled)
	    Drop-In: /usr/lib/systemd/system/service.d
	             └─10-timeout-abort.conf
	     Active: active (running) since Fri 2024-10-25 18:05:48 CEST; 2h 13min ago
	       Docs: man:NetworkManager(8)
	   Main PID: 1136 (NetworkManager)
	      Tasks: 4 (limit: 16495)
	     Memory: 9.7M (peak: 10.7M)
	        CPU: 1.786s
	     CGroup: /system.slice/NetworkManager.service
	             └─1136 /usr/sbin/NetworkManager --no-daemon
	Oct 25 19:34:02 laptopalex NetworkManager[1136]: <info>  [1729877642.2377] manager: rfkill: Wi-Fi now enabled by radio killswitch
	Oct 25 19:34:02 laptopalex NetworkManager[1136]: <warn>  [1729877642.3787] platform-linux: do-change-link[3]: failure 110 (Connection timed out)
	Oct 25 19:40:58 laptopalex NetworkManager[1136]: <info>  [1729878058.2484] manager: rfkill: Wi-Fi hardware radio set disabled
	Oct 25 19:40:58 laptopalex NetworkManager[1136]: <info>  [1729878058.2487] audit: op="radio-control" arg="wireless-enabled:off" pid=2380 uid=1000 result="success"
	Oct 25 19:40:58 laptopalex NetworkManager[1136]: <info>  [1729878058.2554] manager: rfkill: Wi-Fi now disabled by radio killswitch
	Oct 25 19:47:03 laptopalex NetworkManager[1136]: <info>  [1729878423.3735] manager: rfkill: Wi-Fi hardware radio set enabled
	Oct 25 19:47:03 laptopalex NetworkManager[1136]: <warn>  [1729878423.5151] platform-linux: do-change-link[3]: failure 110 (Connection timed out)
	Oct 25 19:47:03 laptopalex NetworkManager[1136]: <info>  [1729878423.5156] audit: op="radio-control" arg="wireless-enabled:on" pid=2380 uid=1000 result="success"
	Oct 25 19:47:03 laptopalex NetworkManager[1136]: <info>  [1729878423.5164] manager: rfkill: Wi-Fi now enabled by radio killswitch
	Oct 25 19:47:03 laptopalex NetworkManager[1136]: <warn>  [1729878423.6586] platform-linux: do-change-link[3]: failure 110 (Connection timed out)

sudo dmesg | grep 8852

alexa@laptopalex:~$ sudo dmesg | grep 8852
	[  787.206833] rtw89_8852be 0000:03:00.0: read rf busy swsi
	[  787.206899] rtw89_8852be 0000:03:00.0: read rf busy swsi
	[  787.206965] rtw89_8852be 0000:03:00.0: read rf busy swsi
	..
	[  787.242383] rtw89_8852be 0000:03:00.0: FW does not process h2c registers
	[  787.242387] rtw89_8852be 0000:03:00.0: HW scan failed with status: -110
	[  788.345398] rtw89_8852be 0000:03:00.0: Update probe request failed
	[  788.455433] rtw89_8852be 0000:03:00.0: FW does not process h2c registers
	..
	[  792.402385] rtw89_8852be 0000:03:00.0: FW does not process h2c registers
	[  792.402389] rtw89_8852be 0000:03:00.0: HW scan failed with status: -110
	[  793.091414] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[  793.162433] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[  793.162439] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 1205.160494] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 1205.231680] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 1205.231689] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 1618.087665] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 1618.158719] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 1618.158728] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 2013.454743] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 2013.525479] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 2013.525487] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 2013.597429] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 2013.668659] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 2013.668665] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 2372.221767] Error: Driver 'rtw89_8852be' is already registered, aborting...
	[ 2380.763366] Error: Driver 'rtw89_8852be' is already registered, aborting...
	[ 2396.521808] Error: Driver 'rtw89_8852be' is already registered, aborting...
	[ 3099.066433] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3099.137659] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3099.137667] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 3099.209556] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3099.279680] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3099.279688] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 3559.638619] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3559.709663] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3559.709671] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 3559.781473] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3559.851742] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3559.851750] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 3699.432434] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3699.502620] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3699.502628] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 3699.574431] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3699.644741] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 3699.644750] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 3749.704940] Error: Driver 'rtw89_8852be' is already registered, aborting...
	[ 4872.782676] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 4872.853675] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 4872.853683] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 5301.417680] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 5301.488665] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 5301.488674] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 5301.559721] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 5301.630427] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 5301.630435] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 5713.681435] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 5713.752432] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 5713.752437] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 6082.696432] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 6082.766656] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 6082.766676] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110
	[ 6082.839431] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 6082.910412] rtw89_8852be 0000:03:00.0: xtal si not ready(W): offset=90 val=10 mask=10
	[ 6082.910416] rtw89_8852be 0000:03:00.0: mac init fail, ret:-110

lspci -n -n -k

alexa@laptopalex:~$ lspci -n -n -k
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex [1022:1630]
		Subsystem: Lenovo Device [17aa:3836]
	00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU [1022:1631]
		Subsystem: Lenovo Device [17aa:3833]
	00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
	00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
		Subsystem: Lenovo Device [17aa:3965]
		Kernel driver in use: pcieport
	00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
	00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
		Subsystem: Lenovo Device [17aa:3965]
		Kernel driver in use: pcieport
	00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
		Subsystem: Lenovo Device [17aa:3965]
		Kernel driver in use: pcieport
	00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
		Subsystem: Lenovo Device [17aa:3965]
		Kernel driver in use: pcieport
	00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
	00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
		Subsystem: Lenovo Device [17aa:3898]
		Kernel driver in use: pcieport
	00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 51)
		Subsystem: Lenovo Device [17aa:3897]
		Kernel driver in use: piix4_smbus
		Kernel modules: i2c_piix4, sp5100_tco
	00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
		Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e]
	00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0 [1022:166a]
	00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1 [1022:166b]
	00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2 [1022:166c]
	00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3 [1022:166d]
		Kernel driver in use: k10temp
		Kernel modules: k10temp
	00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4 [1022:166e]
	00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5 [1022:166f]
	00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6 [1022:1670]
	00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7 [1022:1671]
	01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
		Subsystem: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a]
		Kernel driver in use: rtsx_pci
		Kernel modules: rtsx_pci
	02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
		Subsystem: Lenovo Device [17aa:395e]
		Kernel driver in use: r8169
		Kernel modules: r8169
	03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller [10ec:b852]
		Subsystem: Lenovo Device [17aa:4853]
		Kernel driver in use: rtw89_8852be
		Kernel modules: rtw89_8852be, rtw_8852be
	04:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD PC SN740 NVMe SSD 512GB (DRAM-less) [15b7:5016] (rev 01)
		Subsystem: Sandisk Corp WD PC SN740 NVMe SSD 512GB (DRAM-less) [15b7:5016]
		Kernel driver in use: nvme
		Kernel modules: nvme
	05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo [1002:15e7] (rev c4)
		Subsystem: Lenovo Device [17aa:380a]
		Kernel driver in use: amdgpu
		Kernel modules: amdgpu
	05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
		Subsystem: Lenovo Device [17aa:3838]
		Kernel driver in use: snd_hda_intel
		Kernel modules: snd_hda_intel
	05:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
		Subsystem: Lenovo Device [17aa:3855]
		Kernel driver in use: ccp
		Kernel modules: ccp
	05:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639]
		Subsystem: Lenovo Device [17aa:3876]
		Kernel driver in use: xhci_hcd
	05:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639]
		Subsystem: Lenovo Device [17aa:3877]
		Kernel driver in use: xhci_hcd
	05:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 01)
		Subsystem: Lenovo Device [17aa:3889]
		Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
	05:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
		Subsystem: Lenovo Device [17aa:3883]
		Kernel driver in use: snd_hda_intel
		Kernel modules: snd_hda_intel

Ensure you’re running the latest kernel version for Fedora 40.

I just upgraded to Fedora 41 and also updated the Kernel.
Can’t really say if that helped, because the issue appears a bit random. I will have to see if it happens again sometime.

Updating the kernel did not fix the issue, it just happend again.

See also:
How to keep internet connection connected without interruption - #4 by vgaetera