Bug 1214894 - rtw89_8852ce: WLAN does not properly work with 2.4 GHz networks
Summary: rtw89_8852ce: WLAN does not properly work with 2.4 GHz networks
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: HP openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 19:01 UTC by Daniel Rüpplein
Modified: 2023-11-07 18:40 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Information requested by Andreas Stieger (70.51 KB, text/plain)
2023-09-01 21:03 UTC, Daniel Rüpplein
Details
wifi scan list (834 bytes, text/plain)
2023-09-06 22:37 UTC, Daniel Rüpplein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Rüpplein 2023-09-01 19:01:47 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Build Identifier: 

WLAN-adapter: Realtech 8852ce
The OS can sometimes detect 2.4 Ghz networks but cannot connect to them. 5 GHz works fine.

Reproducible: Always

Steps to Reproduce:
Try to connect to a 2.4 Ghz Network.
Actual Results:  
Will fail to connect

Expected Results:  
Should connect.

I am using a HP EliteBook 865 G10 Laptop (AMD Ryzen 7 7840U)
Desktop environment: KDE Plasma
I have tried to connect to different access points using different software tools.
Comment 1 Andreas Stieger 2023-09-01 19:26:55 UTC
(In reply to Daniel Rüpplein from comment #0)
> The OS can sometimes 
[...]
> Reproducible: Always

Sometimes vs. always?

> Will fail to connect

You said sometimes.


Give output of:

hwinfo --netcard
hwinfo --wlan

Also of the following while this is happening:

dmesg
Comment 2 Daniel Rüpplein 2023-09-01 21:03:39 UTC
Created attachment 869218 [details]
Information requested by Andreas Stieger

Information requested by Andreas Stieger
hwinfo --netcard
hwinfo --wlan
dmesg
Comment 3 Daniel Rüpplein 2023-09-01 21:09:24 UTC
(In reply to Daniel Rüpplein from comment #2)
> Created attachment 869218 [details]
> Information requested by Andreas Stieger
> 
> Information requested by Andreas Stieger
> hwinfo --netcard
> hwinfo --wlan
> dmesg


-----
OK, while I was getting the information, I somehow successfully connected to a 2.4 GHz Netzwork but got disconnected like 3 seconds later and then could not reconnect. 
I am getting automatically reconnected to a 5 GHz Network (was connected to it before).
Comment 4 Andreas Stieger 2023-09-05 07:16:45 UTC
  Driver: "rtw89_8852ce"
  Driver Modules: "rtw89_8852ce"


[ 5288.680768] rtw89_8852ce 0000:01:00.0: no tx fwcmd resource
[ 5288.680785] rtw89_8852ce 0000:01:00.0: failed to send h2c
[ 6561.663191] wlp1s0: Connection to AP [...] lost
Comment 5 Larry Finger 2023-09-05 18:07:08 UTC
I do not have an 8852ce, but several others of the Wifi 6 chips work fine on the 2.4 GHz band.

Pleae run the following command and post the results. Indicate the APs that you have tried:

sudo iw dev wlp1s0 scan | egrep "SSID|freq|signal"

If the device is busy, try again as that means your network control program is running a scan.
Comment 6 Daniel Rüpplein 2023-09-06 19:29:08 UTC
(In reply to Larry Finger from comment #5)
> I do not have an 8852ce, but several others of the Wifi 6 chips work fine on
> the 2.4 GHz band.
> 
> Pleae run the following command and post the results. Indicate the APs that
> you have tried:
> 
> sudo iw dev wlp1s0 scan | egrep "SSID|freq|signal"
> 
> If the device is busy, try again as that means your network control program
> is running a scan.



Hello,

I tried the command several times.
All 2.4 GHz netzworks appear and disappear seemingly at random (all at once).
When it shows the 2.4 GHz networks it outputs:

freq: 2437
signal: -24.00 dBm
SSID: 'SSID 1'  //This AP is right next to me.
         * SSID List
         * center freq segment 1: 8
         * center freq segment 2: 0

freq: 2437
signal: -62.00 dBm
SSID: 'SSID 2' //This AP is a bit further away.

The 2.4 GHz networks work fine on Windows 10 btw.
Comment 7 Larry Finger 2023-09-06 20:39:16 UTC
I wanted to see the entire list. APs should not disappear, etc.

Run the command
sudo mv /usr/libexec/gsd-rfkill /usr/libexec/gsd-rfkill.save > scan0.txt
sudo mv /usr/libexec/gsd-rfkill /usr/libexec/gsd-rfkill.save > scan1.txt
sudo mv /usr/libexec/gsd-rfkill /usr/libexec/gsd-rfkill.save > scan2.txt

Attach all 2 scanX.txt files.
Comment 8 Daniel Rüpplein 2023-09-06 22:36:11 UTC
(In reply to Larry Finger from comment #7)
> I wanted to see the entire list. APs should not disappear, etc.
> 
> Run the command
> sudo mv /usr/libexec/gsd-rfkill /usr/libexec/gsd-rfkill.save > scan0.txt
> sudo mv /usr/libexec/gsd-rfkill /usr/libexec/gsd-rfkill.save > scan1.txt
> sudo mv /usr/libexec/gsd-rfkill /usr/libexec/gsd-rfkill.save > scan2.txt
> 
> Attach all 2 scanX.txt files.


"gsd-rfkill" does not exitst on my machine. rfkill itself is installed.
Meanwhile I will attach the full list of the wifi-scan.
Comment 9 Daniel Rüpplein 2023-09-06 22:37:56 UTC
Created attachment 869339 [details]
wifi scan list
Comment 10 Larry Finger 2023-09-07 14:58:08 UTC
The only 2.4 GHz APs in range are
	freq: 2427
	signal: -48.00 dBm
	SSID: DAN210 24
		 * SSID List
		 * center freq segment 1: 6
		 * center freq segment 2: 0
	freq: 2437
	signal: -36.00 dBm
	SSID: Dan Thum
		 * center freq segment 1: 0
		 * center freq segment 2: 0

The units with signal of -76 or lower would never make a stable connection.

I expect that your 5 GHz connection is

	freq: 5300
	signal: -57.00 dBm
	SSID: DAN210

I wonder if your user-space code is having a problem with the space in the SSIDs for the 2.4 APs. Given the name, I suspect that you control them. Please change "DAN210 24" to "DAN210_24" for a test.

Your environment is very quiet. An "iw scan" for me shows 20 entries - 11 2.4.
Comment 11 Daniel Rüpplein 2023-11-07 18:40:14 UTC
Seemed to be a kernel-issue. Now running version 6.5.9-1. Now detects 2.4 Ghz networks reliably and stays connected. Sorry for the long wait.