You are not logged in.

#1 2025-01-08 12:28:44

raVe-N
Member
Registered: 2025-01-08
Posts: 4

rtw_8822be Realtek WiFi Driver Parameters

My router has a strange conflict with my mobo's built in wifi adapter where I can't run the adapter in auto (which is presumably AC mode) and I have to pin it to N mode.
As in 802.11n...

In windows this was easy - open device manager and adjust the properties on the device and bingo - no getting dropped while playing games anymore.

The rtw_88 drivers don't seem to actually have any parameters that you can use to modify these kinds of things? Is that correct?

modinfo doesn't show any

$ modinfo rtw_8822be
filename:       /lib/modules/6.12.8-arch1-1/updates/dkms/rtw_8822be.ko.zst
license:        Dual BSD/GPL
description:    Realtek 802.11ac wireless 8822be driver
author:         Realtek Corporation
srcversion:     45429651E82DC489B52D9A5
alias:          pci:v000010ECd0000B822sv*sd*bc*sc*i*
depends:        rtw_pci,rtw_8822b
name:           rtw_8822be
retpoline:      Y
vermagic:       6.12.8-arch1-1 SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         DKMS module signing key

And there's nothing in the sys folder either?

$ ls /sys/module/rtw_8822be/
coresize  drivers  holders  initsize  initstate  notes  refcnt  sections  srcversion  taint  uevent

Is this accurate? Is there any way I can work around this or should I just buy a new USB WiFi dongle?

Edit to add that I've tried the kernel default and the aur dkms-git version as well. The latter actually seems to be much worse performance wise for me.

Last edited by raVe-N (2025-01-08 12:31:40)

Offline

#2 2025-01-08 14:49:19

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,738
Website

Re: rtw_8822be Realtek WiFi Driver Parameters

So try disabling PCI ASPM support and Deep PS (power saving?), not sure about the interrupts.

EDIT: sorry OP, I misunderstood the problem.

Last edited by Head_on_a_Stick (2025-01-08 15:51:30)


Para todos todo, para nosotros nada

Offline

#3 2025-01-09 01:12:46

raVe-N
Member
Registered: 2025-01-08
Posts: 4

Re: rtw_8822be Realtek WiFi Driver Parameters

Thanks for replying anyhow mate. I do need to also do some power mode changes but trying to focus on one thing at a time. lol

Offline

#4 2025-01-09 13:10:44

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: rtw_8822be Realtek WiFi Driver Parameters

I also was briefly at alternating current, but the OP actually says it's about ieee 802.11ac wink

Sanity check, is this actually because of the standard?

In windows this was easy

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Where's that dkms coming from? Since the driver moved in-tree, there's no https://aur.archlinux.org/packages?O=0&SeB=nd&K=8822 ?

Do you get "invalid VHT" messages? (I'm paraphrasing, dunno at hand what they actually look like)
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

802.11ac is 5GHz only, do you have a 2.4GHz BSSID to sidestep the problem?

I'd love to tell you how to disable this in cfg80211, ideally via iw - but Id not know how (and since a bunch of modules implement this as parameter, it's probably nowhere exposed)

Offline

#5 2025-01-09 20:11:46

raVe-N
Member
Registered: 2025-01-08
Posts: 4

Re: rtw_8822be Realtek WiFi Driver Parameters

So yes, it is down to the standard or the frequency. There's no errors I've ever found on this device, but connections just get dropped by my router. It doesn't have a lot of config available and it's internal logging doesn't work (D-Link pos) so I've never been able to figure it out from that side, and once I found the workaround in windows to just fix it to 802.11n I never bothered. I don't want to turn off 5ghz on the router either as it's great with all our other devices.

I'm not dual booting windows.

I actually went rummaging and found the RPI wifi dongle I bought with my old RPI 3 and just disabled the mobo wifi and stuck that in and so far it's also shown better performance and had zero drop outs.

So I guess we can mark this as solved/bypassed lol

Offline

#6 2025-01-09 20:15:55

seth
Member
Registered: 2012-09-03
Posts: 60,807

Re: rtw_8822be Realtek WiFi Driver Parameters

I don't want to turn off 5ghz on the router either

You won't have to - the router will (likely) offer a 5GHz and a 2.4GHz BSSID ("mac") w/ the same SSID that should show up in scanning.
By selecting and connecting to the 2.4GHz BSSID explicitly you cannot use ac since that's only 5GHz and the NIC will have to use n

Offline

#7 2025-01-09 20:26:18

raVe-N
Member
Registered: 2025-01-08
Posts: 4

Re: rtw_8822be Realtek WiFi Driver Parameters

Huh... Thanks. I wasn't aware of these under the hood details wrt BSSIDs etc.

It seems the nm-connection-editor that might be available for gnome should let you directly set the frequency. I might give that a try

Offline

Board footer

Powered by FluxBB