You are not logged in.

#1 Today 14:27:13

C-Ren
Member
Registered: 2019-03-21
Posts: 28

[Solved] WiFi (Realtek 8852CE) low DL speed, intermittent disconnect

Hi all

I've been having problems for some time with my WiFi on a new computer. The WiFi device is a Realtek 8852CE.

Initially I was having problems with the fact that this chip has both Bluetooth and WiFi capabilities, which meant that the signal to my Bluetooth headphones was interfered with while the WiFi was active. To address this I added a udev rule which disabled the Bluetooth adapter device being presented (and then attached an external USB Bluetooth adapter, which works alright). I mention this just for context.

The present problem is that I regularly have a very low download speed (lower than my upload speed! it's floating around 5-10 Mbps; I can get more like 50 from a different computer connected to the same router) according to speedtest.net. I experience this in the form of websites loading slowly. There are also intermittent disconnections and failures. Sometimes the network connection appears to be fine but there is no throughput (KDE network manager tray applet shows you the upload and download speeds and they both show zero) for a while. Deliberately disconnecting and reconnecting to the router seems to fix this. Other times, the connection disconnects itself, with the message "Authorisation supplicant timed out". It reconnects automatically after a few seconds, but it's quite inconvenient.

I was previously getting firmware error messages in my dmesg. After investigating, I discovered this forum topic which is about a bug introduced into the most recent firmware version for my WiFi card. I tried the experimental firmware provided by the firmware developers and it has made my firmware errors go away, but the general problem is still going on. (I'm currently still using the experimental firmware, and the dmesg snippet following is from a boot using the experimental firmware.)

Here is a hopefully-relevant snippet from dmesg:

[  244.951515] wlan0: authenticate with cc:ba:bd:f0:96:4d (local address=f8:3d:c6:a0:3f:98)
[  244.951521] wlan0: send auth to cc:ba:bd:f0:96:4d (try 1/3)
[  244.961780] wlan0: authenticated
[  244.962760] wlan0: associate with cc:ba:bd:f0:96:4d (try 1/3)
[  244.965879] wlan0: RX AssocResp from cc:ba:bd:f0:96:4d (capab=0x1911 status=0 aid=4)
[  245.073867] wlan0: associated
[  245.073952] wlan0: Limiting TX power to 35 (35 - 0) dBm as advertised by cc:ba:bd:f0:96:4d
[  250.257666] wlan0: disconnect from AP cc:ba:bd:f0:96:4d for new auth to 60:b5:8d:78:81:a0
[  250.598476] wlan0: authenticate with 60:b5:8d:78:81:a0 (local address=f8:3d:c6:a0:3f:98)
[  250.598481] wlan0: send auth to 60:b5:8d:78:81:a0 (try 1/3)
[  252.608536] wlan0: send auth to 60:b5:8d:78:81:a0 (try 2/3)
[  254.720461] wlan0: send auth to 60:b5:8d:78:81:a0 (try 3/3)
[  255.822608] wlan0: authenticate with 60:b5:8d:78:81:a0 (local address=f8:3d:c6:a0:3f:98)
[  255.822615] wlan0: send auth to 60:b5:8d:78:81:a0 (try 1/3)
[  255.835765] wlan0: authenticate with 60:b5:8d:78:81:a0 (local address=f8:3d:c6:a0:3f:98)
[  255.835771] wlan0: send auth to 60:b5:8d:78:81:a0 (try 1/3)
[  255.874720] wlan0: authenticated
[  255.876420] wlan0: associate with 60:b5:8d:78:81:a0 (try 1/3)
[  255.891336] wlan0: RX AssocResp from 60:b5:8d:78:81:a0 (capab=0x1011 status=0 aid=37)
[  256.000606] wlan0: associated
[  256.000698] wlan0: Limiting TX power to 23 (23 - 0) dBm as advertised by 60:b5:8d:78:81:a0
[  261.291924] wlan0: disconnect from AP 60:b5:8d:78:81:a0 for new auth to cc:ba:bd:f0:96:4c
[  261.631756] wlan0: authenticate with cc:ba:bd:f0:96:4c (local address=f8:3d:c6:a0:3f:98)
[  261.631762] wlan0: send auth to cc:ba:bd:f0:96:4c (try 1/3)
[  261.661690] wlan0: send auth to cc:ba:bd:f0:96:4c (try 2/3)
[  261.730477] wlan0: authenticated
[  261.747256] wlan0: associate with cc:ba:bd:f0:96:4c (try 1/3)
[  261.815388] wlan0: associate with cc:ba:bd:f0:96:4c (try 2/3)
[  261.850389] wlan0: RX AssocResp from cc:ba:bd:f0:96:4c (capab=0x1411 status=0 aid=2)
[  261.952337] wlan0: associated
[  262.362602] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by cc:ba:bd:f0:96:4c

I would really appreciate some advice on this. I've no idea what to do about this other than buy an external WiFi adapter.

EDIT: worth mentioning is that the WiFi signal where I am is fairly bad, and the problem seems to get less bad if I'm closer to the router. I have tried buying a signal booster, but it still has problems. Other devices (e.g. my phone) don't have connectivity issues like this even when they're quite far from the router.

Last edited by C-Ren (Today 17:49:21)

Offline

#2 Today 15:15:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,155

Re: [Solved] WiFi (Realtek 8852CE) low DL speed, intermittent disconnect

https://bbs.archlinux.org/viewtopic.php … 3#p2315213 but since that also looks suspicious like a 5s frequency drop please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

resp. in doubt your complete system journal for the boot:

sudo journalctl -b | nc termbin.com 9999

after such disconnects.

Offline

#3 Today 15:40:11

C-Ren
Member
Registered: 2019-03-21
Posts: 28

Re: [Solved] WiFi (Realtek 8852CE) low DL speed, intermittent disconnect

seth wrote:

https://bbs.archlinux.org/viewtopic.php … 3#p2315213 but since that also looks suspicious like a 5s frequency drop please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

resp. in doubt your complete system journal for the boot:

sudo journalctl -b | nc termbin.com 9999

after such disconnects.

Thank you. The issue persists on boots with those kernel parameters (I already had them on when I swapped the firmware out for the experimental one).

Result of the find command:

autovt@.service                          | system
bluetooth.service                        | bluetooth.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
iwd.service                              | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved-monitor.socket          | sockets.target.wants
systemd-resolved.service                 | sysinit.target.wants
systemd-resolved-varlink.socket          | sockets.target.wants
systemd-timesyncd.service                | sysinit.target.wants
systemd-userdbd.socket                   | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs.service                    | graphical-session-pre.target.wants

Of course now that I'm trying to diagnose the problem the disconnects won't happen. I'll post a full journalctl log when I'm certain that the disconnects happened as I'm describing that boot.

Offline

#4 Today 15:49:52

C-Ren
Member
Registered: 2019-03-21
Posts: 28

Re: [Solved] WiFi (Realtek 8852CE) low DL speed, intermittent disconnect

Got the disconnect, although it was very short. Here it is: https://termbin.com/o68ig
Looking over the logs it looks like there are several disconnect-reconnect events there.

Offline

#5 Today 15:51:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,155

Re: [Solved] WiFi (Realtek 8852CE) low DL speed, intermittent disconnect

Disable iwd.service, if you want to use iwd as NM backend see https://wiki.archlinux.org/title/Networ … Fi_backend

Offline

#6 Today 17:47:54

C-Ren
Member
Registered: 2019-03-21
Posts: 28

Re: [Solved] WiFi (Realtek 8852CE) low DL speed, intermittent disconnect

seth wrote:

Disable iwd.service, if you want to use iwd as NM backend see https://wiki.archlinux.org/title/Networ … Fi_backend

I disabled iwd (systemctl disable iwd) and rebooted and things seem to be working well now -- no more disconnects and after a little while the speed went up to >100Mbps too (perhaps the router was throttling me because of  the frequent disconnects). Thanks a lot! This issue is solved for me now, unless things go back to how they were again for some reason.

Note for any future readers: disabling iwd will make your wireless network interface disappear. That's a feature, apparently. You can get it back again by rebooting after iwd makes it go away. I found this on this forum topic.

Offline

Board footer

Powered by FluxBB