Linux wireless drivers development
 help / color / mirror / Atom feed
* Slow RTL8822CE 802.11ac PCIe Wireless Network Adapter
@ 2023-05-03  7:13 Alexey Kardashevskiy
  2023-05-03 14:42 ` Larry Finger
  0 siblings, 1 reply; 8+ messages in thread
From: Alexey Kardashevskiy @ 2023-05-03  7:13 UTC (permalink / raw)
  To: Yan-Hsuan Chuang; +Cc: linux-wireless

Hi!

I am seeing dropouts in 5GHz and 2.5GHz wifi and seeking for help.

HP laptop with RTL8822CE 802.11ac PCIe Wireless Network Adapter, 
Fedora36 with 6.2.9-100.fc36.x86_64, the AP is Ubiquity, it is 5m away 
behind a thin wall, a house in low density area (I do not see neighbors 
APs in "iw dev scan").

Pinging a gateway (1gbit ethernet between AP and GW) suddenly goes from 
3-5ms to >1000ms. Good and bad "iw" output is below. Moving laptop by 
2cm (or its lid) helps sometime.

These 2 observation made me suspect the linux driver:

1) If I reboot the laptop to Windows10 without moving/touching it after 
it went bad in linux - there pings are 1-2ms and occasionally may go up 
to hundreds but for a very short time, feels like the driver notices 
something and fixes it.

2) Two other laptops with Intel Wifi cards on the same spot with the 
same fedora on the same network do not show the problem at all.

Changing txpower 10..23dBm (where 2300 is the maximum) does not help, 
done via "iw dev wlp1s0 set txpower limit 2300", "iw dev wlp1s0 info" 
confirms that it changes.

I have these in /etc/modprobe.d/50-rtw88.conf
options rtw88_core disable_lps_deep=y
options rtw88_pci disable_aspm=y
no change either.

Is there anything else to try? Thanks,


64 bytes from _gateway (192.168.10.200): icmp_seq=26 ttl=64 time=6.97 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=27 ttl=64 time=3.68 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=28 ttl=64 time=3.44 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=29 ttl=64 time=3.97 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=30 ttl=64 time=3.68 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=31 ttl=64 time=17.0 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=32 ttl=64 time=33.1 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=33 ttl=64 time=697 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=34 ttl=64 time=1130 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=35 ttl=64 time=114 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=36 ttl=64 time=1796 ms
64 bytes from _gateway (192.168.10.200): icmp_seq=37 ttl=64 time=749 ms

Good status:

[root@aiemdeew wlp1s0]# iw dev wlp1s0 info ; iw wlp1s0 link
Interface wlp1s0
	ifindex 2
	wdev 0x1
	addr 50:c2:e8:5d:ba:fd
	type managed
	wiphy 0
	channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
	txpower 22.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
Connected to f4:92:bf:04:1a:ce (on wlp1s0)
	SSID: aikhomenet
	freq: 5180
	RX: 37035326 bytes (60439 packets)
	TX: 2880943 bytes (14231 packets)
	signal: -53 dBm
	rx bitrate: 130.0 MBit/s VHT-MCS 7 VHT-NSS 2
	tx bitrate: 390.0 MBit/s VHT-MCS 4 80MHz short GI VHT-NSS 2

	bss flags:	short-slot-time
	dtim period:	2
	beacon int:	100


Bad status:

Interface wlp1s0
         ifindex 2
         wdev 0x1
         addr 50:c2:e8:5d:ba:fd
         type managed
         wiphy 0
         channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
         txpower 22.00 dBm
         multicast TXQ:
                 qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol 
tx-bytes        tx-packets
                 0	0	0	0	0	0	0	0               0
Connected to f4:92:bf:04:1a:ce (on wlp1s0)
         SSID: aikhomenet
         freq: 5180
         RX: 38078401 bytes (68758 packets)
         TX: 3039702 bytes (15006 packets)
         signal: -62 dBm
         rx bitrate: 117.0 MBit/s VHT-MCS 6 VHT-NSS 2
         tx bitrate: 433.3 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 1

         bss flags:	short-slot-time
         dtim period:    2
         beacon int:     100

-- 
Alexey

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-24 16:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03  7:13 Slow RTL8822CE 802.11ac PCIe Wireless Network Adapter Alexey Kardashevskiy
2023-05-03 14:42 ` Larry Finger
2023-05-04  3:10   ` Alexey Kardashevskiy
2023-05-04 15:04     ` Larry Finger
2023-05-05  1:23       ` Alexey Kardashevskiy
2023-05-05  1:35         ` Larry Finger
2023-05-24  6:29           ` Alexey Kardashevskiy
2023-05-24 16:13             ` Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox