r/linuxmint • • 2h ago

Discussion Finally Resolved Slow WIFI issue on Linux with Intel NICs

Debating whether or not I send this off the the kernel devs as I seem to be one of very few with this issue given I found almost 0 documentation on it. I have three Lenovo laptops, two on Mint one on Kubuntu all with Intel NICs. Running Windows they all got proper speeds on my home network (Gigabit fibre, and an XB7 router) but on every version of Linux I've tried speeds were being capped at 54Mbps.

I searched for 3 months trying to find documentation with a fix only to come up with nothing. Finally, last night I decided to try playing with some of the settings for the mac80211 driver since iwlwifi settings were getting me nowhere. ONE SETTING was all it took albeit it's not a good fix if you're on anything but your own home network.

What I found was that disabling Protected Management Frames (PMF) restored speeds to normal. Without doing over the air captures I can really only guess that the XB7 broadcasts that PMF is available even though it isn't a feature it supports, the drivers see that and try sending encrypted management frames back to the router, and the router blocks those frames because it has no idea what to do with them.

I'm sure there are other routers out there that do the same thing but quite frankly either people just don't pay attention enough to notice that their speeds are locked to 54Mbps since the failure is silent.

I've tested this work around with three different Intel NICs and it works across all of them (Intel AX203, AX201, and whatever the t580 thinkpads came with). Also confirmed proper operation in Cinnamon 22.3, Mint 22.3, and Kubuntu 26.04.

THE FIX (what was added in the edit since I forgot to put it in)

nmcli connection modify <profile> 802-11-wireless-security.pmf 1 #disables PMF for that connection

nmcli connection up <profile> #reloads connection with new mac80211 pmf setting.

DO NOT FOR WHATEVER REASON DO THIS ON A PUBLIC NETWORK. DISABLING PMF LEAVES YOUR CONNECTION VULNERABLE AS ALL MANAGEMENT FRAMES WILL BE UNENCRYPTED.

edit: added the actual fix, again see the bold text above and only do this on a home network.

3 Upvotes

7 comments sorted by

2

u/Evening-Landscape763 2h ago

Ok, what was the setting? Was it on the router itself as you mention the mac80211 driver

1

u/work4bandwidth LMDE 6 Faye | 1h ago

Same question. Where was the setting?

2

u/InDoubtedd 28m ago edited 24m ago

Totally forgot to put the actual fix in, I'll edit the post but I fixed it by running
nmcli connection modify <profile> 802-11-wireless-security.pmf 1

then

nmcli connection up <profile>

No amount of router tweaking fixed it, again I hypothesize that its an issue with the router potentially advertising that pmf is a feature it supports when it doesn't, the laptop sends back encrypted frames and the router drops them not knowing what to do with them. Running this fix only changes the setting for the connection you specify as well, so turning pmf off for your home network doesn't change the pmf setting for other networks.

1

u/Due-Result7928 29m ago

PMF frames are only used for authentification and disassociation. It is a mandatory requirement for WPA3 security and is strongly recommended for WPA2 networks.

Culprit if there is a culprit is probably the Intel driver or simply t580 hardware with Linux wifi. It is working with Windows and the router is not faulty.

I am using a wifi Intel Wireless-AC 9260 (on ASUS motherboard) and I can get up to 800 Mbits on a router as supplied by my provider.

1

u/InDoubtedd 4m ago

Yes, that is the sole purpose of PMF frames can't disagree with you there. What I can't seem to figure out though is why changing that one setting is what actually fixed the issue.

I know that when having any of the three end clients running these Intel NICs with any version of Linux across multiple kernels connect to an XB7 with the PMF setting in the mac80211 driver set to it's default (optional) A-MPDU Block Ack sessions are never established in either direction. A trace tells me that the AP sends an ADDBA request every second over and over again. Every time that happens, mac80211 accepts it, starts RX agg with a buffer size of 64, and sends the ADDBA Response but the router keeps sending a request back like it never got a valid response, and aggregated frames just don't show up. Data frames and EAPOL work normally. I've tried splitting the bands into separate SSIDs as well and that does nothing.

I have not been able to find any other documentation that would point me in a different direction let alone any direction that isn't turning off power save or tweaking some other option for iwlwifi. The only other clue that I have is that on other networks with different hardware this issue didn't present itself. My routers firmware is fully up to date, and it was restarted multiple times recently to rule out issues with it.

1

u/Unwiredsoul 6m ago

I wasn't familiar with the "XB7" terminology, so to save anyone else that's curious, it's a model series of router provided to Xfinity customers. Technically, there are two models, and one is made by Technicolor, the other by ARRIS. There are also newer models than the XB7 (it's a Wi-Fi 6 generation router).

I've not experienced anything like this myself with Intel AX201 chipsets on many other routers.

Also, I would follow the OP's advice to be careful about using this workaround. It will create a security vulnerability.

Still, very cool find for people that might be experiencing this, u/InDoubtedd!

1

u/InDoubtedd 0m ago

Thanks! I'm considering moving the bold part to the top so people read it first. Going to shoot this off to the kernel devs when I get a minute later hopefully we find a proper fix. Can't imagine that many people still have an XB7, mines from Shaw up in Canada but it's the Technicolor variant, but you never really know.