Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TX50UH : Wireless card detected but not able to connect #12

Closed
MassonY opened this issue Nov 13, 2024 · 7 comments
Closed

TX50UH : Wireless card detected but not able to connect #12

MassonY opened this issue Nov 13, 2024 · 7 comments

Comments

@MassonY
Copy link
Collaborator

MassonY commented Nov 13, 2024

System:

  • OS: Nobara Linux 40
  • Kernel version: 6.11.7-201.fsync.fc40.x8
  • Gcc: 14.2.1 (for kernel build and available on system)
  • DE: Gnome 46

Product:

  • TP-Link TX50UH
  • AX3000
  • 8832cu chipset
  • lsusb output: Bus 002 Device 002: ID 35bc:0101 Realtek 802.11ax WLAN Adapter

Reproduction steps:

  • Install driver
  • Edit the option and put my country code : rtw_country_code=FR
    dkms status output: rtl8852cu/1.19.2.1, 6.11.7-201.fsync.fc40.x86_64, x86_64: installed

Result:

  • The dongle is detected:
    • ifconfig output :

wlp3s0f0u1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 2e:8a:03:b8:f2:66 txqueuelen 1000 (Ethernet)
RX packets 8 bytes 1064 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

  • iw dev output:

phy#1
Interface wlp3s0f0u1
ifindex 4
wdev 0x100000001
addr 2e:8a:03:b8:f2:66
type managed
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 12.00 dBm

The dongle is capable on scanning and it displays visible network on the Gnome Wifi ui but it cannot connect.
using the last git version of the driver (with the patch for TX50UH) i have the following errors:
journalctl -S today | grep wlp3s0f0u1 | grep ERROR:

nov. 13 15:13:16 nobara-pc kernel: RTW: ERROR _connect_msg_hdlr(wlp3s0f0u1): assoc_AP_vendor gone!
nov. 13 15:13:26 nobara-pc kernel: RTW: ERROR _connect_msg_hdlr(wlp3s0f0u1): assoc_AP_vendor gone!

@morrownr morrownr changed the title TX50UH : Wireless card detected but no unable to connect TX50UH : Wireless card detected but not able to connect Nov 13, 2024
@morrownr
Copy link
Owner

@MassonY

Good report. I have been just testing 5 GHz and 6 GHz so let me reconfigure and test 2.4 GHz. Hopefully I can duplicate the problem.

@morrownr
Copy link
Owner

@MassonY

Reconfiguration complete. Here is my first test:

$ iperf3 -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  5] local 192.168.1.178 port 38010 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  23.6 MBytes   198 Mbits/sec    0    969 KBytes       
[  5]   1.00-2.00   sec  23.8 MBytes   199 Mbits/sec    0    969 KBytes       
[  5]   2.00-3.00   sec  22.5 MBytes   189 Mbits/sec    0    969 KBytes       
[  5]   3.00-4.00   sec  22.5 MBytes   189 Mbits/sec    0    969 KBytes       
[  5]   4.00-5.00   sec  23.8 MBytes   199 Mbits/sec    0    969 KBytes       
[  5]   5.00-6.00   sec  22.5 MBytes   189 Mbits/sec    0    969 KBytes       
[  5]   6.00-7.00   sec  23.8 MBytes   199 Mbits/sec    0    969 KBytes       
[  5]   7.00-8.00   sec  21.2 MBytes   178 Mbits/sec    0    969 KBytes       
[  5]   8.00-9.00   sec  23.8 MBytes   199 Mbits/sec    0    969 KBytes       
[  5]   9.00-10.00  sec  23.8 MBytes   199 Mbits/sec    0    969 KBytes       

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   231 MBytes   194 Mbits/sec    0             sender
[  5]   0.00-10.02  sec   228 MBytes   191 Mbits/sec                  receiver

I will continue testing.

The test is with the current repo.

WiFi Router details:

Channel 1
Channel width: 20 MHz
WiFi 6
Distance from client: ~ 7 meters with 2 walls in between
WPA2

nov. 13 15:13:16 nobara-pc kernel: RTW: ERROR _connect_msg_hdlr(wlp3s0f0u1): assoc_AP_vendor gone!

Is your AP set to mixed security? If so, try resetting it to WPA2 and retry.

I am not seeing this line. This line could indicate an issue with the AP. Can you provide some details of the AP setup?

@MassonY
Copy link
Collaborator Author

MassonY commented Nov 14, 2024

@morrownr

Thanks for your testing

Wifi router details:
2 cards (2.4ghz and 5ghz) with the same configuration for both of them

  • WPA2 - AES
  • band width: 20Mhz (2.4ghz) and 160mhz (5ghz)
  • Wifi 6 compatible (802.11b, 802.11g, 802.11n, 802.11ax for 2.4ghz) and (802.11a, 802.11n, 802.11ac, 802.11ax) for 5ghz
  • 2 meter away from the AP, 1 wall in between.

I do have another USB dongle : Archer T3U Plus and I'm using your repo https://github.com/morrownr/88x2bu-20210702 to make it work.

This one isnt able to use wifi6 (which my AP supports) but has a very good connection to my AP and the driver works flawlessly (thanks for that by the way)

@morrownr
Copy link
Owner

I do have another USB dongle : Archer T3U Plus and I'm using your repo https://github.com/morrownr/88x2bu-20210702 to make it work.

I think that once you get to kernel 6.12, the performance of the rtl8822bu driver in rtw88 (in-kernel) will be good enough that you can drop the my repo. The patches over the last year have helped but the patches over the last 2 months really bring rtw88 up to speed.

My primary router is using the same settings as yours. Do you have any other WiFi 6 capable adapters that you can test?

I am not able to reproduce this.

@MassonY
Copy link
Collaborator Author

MassonY commented Nov 18, 2024

Sorry I don´t have any other Wifi 6 capable adapter that i can test.

But I forgot to mention that i tried connecting with non-wifi6 network (namely the hotspot from my phone, with and without password protection) and it had the same behavior.

@morrownr
Copy link
Owner

@MassonY

Thanks for the follow up report. I am a little discouraged by the issues that have come up.

@morrownr
Copy link
Owner

morrownr commented Dec 8, 2024

I'm still not coming up with anything on this issue. Another tester posted #15 this morning and it seems it may be similar to your problem. You might want to take a look and even answer some of the questions I posted for your own situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants