Closed lordjim1985 closed 1 month ago
Hi @lordjim1985
Do you have any recommendations for any additional testing?
Yes. It would help confirm that the patch I just submitted is correct if you could remove the driver, delete the driver subdirectory and then start over with a fresh download. If that works, things checkout good. Let me know.
To remove the driver:
$ sudo sh remove-driver.sh
Thanks for the info.
Hi there,
I've removed my changes. Cleaned the build dir and pulled your changes. I've built the driver sucessfully on Ubuntu 23.10 Mantic. The driver works well.
I'm using the following hostapd.conf:
logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 interface=wlx74fece4c7190 bridge=br0 driver=nl80211 hw_mode=a country_code=PL channel=36 vht_oper_centr_freq_seg0_idx=42 ssid=ExampleSSIDofWiFiNetwork ignore_broadcast_ssid=0 ieee80211d=1 ieee80211n=1 ieee80211w=1 ht_capab=[MAX-AMSDU-7935][HT40+][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40][TX-STBC][RX-STBC1] ieee80211ac=1 ieee80211ax=1 vht_capab=[SHORT-GI-80][SU-BEAMFORMEE] vht_oper_chwidth=1 auth_algs=1 wpa=2 wpa_passphrase=SecretPasshphrase wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256 SAE rsn_pairwise=CCMP sae_require_mfp=1 macaddr_acl=0 wmm_enabled=1
And the following settings in 8852bu.conf :
options 8852bu rtw_switch_usb_mode=0 rtw_he_enable=1 rtw_vht_enable=1 rtw_dfs_region_domain=0
.
I'm getting about 32.5MB/s on 802.11ax with WPA3 enabled.
With the following options:
options 8852bu rtw_switch_usb_mode=1 rtw_he_enable=2 rtw_vht_enable=2 rtw_dfs_region_domain=0
.
I'm getting about 37-40MB/s on 802.11ax with WPA3 enabled.
Hi,
Im here with an update. It seems that enabling 802.11n mode only causes the driver to crash. For some reason the 5Ghz options are working while the 802.11n are causing a crash. What information i can provide for futher debugging?
Hello,
another update. After upgrading Ubuntu 23.10 to Ubuntu 24.04 the 802.11n mode also works, though quite slow it is operational.
The kernel was changed from 6.5.0 to 6.8.0 during upgrade.
Hi,
the performance on 802.11n channel 4 was low. I've switched to channel 11 and not I get 7.86MB/s on 802.11n. So as far as I can tell it works. Though some messages in dmesg are worrying me. I'm pasting the output:
[ 3473.989582] UBSAN: array-index-out-of-bounds in /var/lib/dkms/rtl8852bu/1.19.3/build/os_dep/linux/wifi_regd.c:264:18
[ 3473.989587] index 0 is out of range for type 'RT_CHANNEL_INFO [*]'
[ 3473.989589] CPU: 1 PID: 13721 Comm: modprobe Tainted: G OE 6.8.0-31-generic #31-Ubuntu
[ 3473.989592] Hardware name: Shenzhen DOKE electronic co., LTD MP80/MP80, BIOS 5.26 09/27/2023
[ 3473.989593] Call Trace:
[ 3473.989596]
@lordjim1985
I can fix that USBAN problem as I have time but it likely is not causing any problems.
I can help you more, especially with AP mode, as I have some spare time... maybe this evening but please understand that this is not what I would call a good driver. I'm really disappointed in the WiFi 6 Linux driver from Realtek. If you can still return this adapter, you might want to consider that option.. The Main Menu here at this site has a lot of information that you may want to read:
https://github.com/morrownr/USB-WiFi
Scroll down. Menu items 1 and 2 are a good place to start.
Ho @morrownr,
Well it is your free time so it is up to you :)
I can return it of course but it works quite well in Windows and thanks to you most of the functions I need under Linux are operational so simply speaking: i'll find uses for it.
Thanks for your great work and the information you provided. If you need me i'll also be available in the evening.
@lordjim1985
I am going to go ahead and close this issue. If you need help with AP mode or you see another problem, Let me know.
Hello,
I'm writing to inform You that made an experiment with TP-LINK TX20U (not Plus Version) and added in os_dep/linux/usb_intf.c following identifiers: 0x35bc, 0x0100.
To my suprise everything works quite well even with 802.11ax. I'm testing the device as Access Point with hostapd.
It is relatively cheap AX1800 dongle.
TP-LINK officialy does not provide a linux driver.
Do you have any recommendations for any additional testing?