Live data from Hacker News

Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

bugzilla.kernel.org

31–40 of 148 posts

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#31
Not related to wifi, but Intel broke the IPU6 webcam on Linux also. I have a Dell XPS13 - on the initial Ubuntu they shipped with, it was working, but after a dist-upgrade it stopped. There's lots of traffic out there, with some reports that it started working again with the 6.1 kernel, but on mine (with Dell drivers and 6.2 kernel) it's broken.

There was another Intel related issue with this laptop also; the gpu would freeze/panic intermittently, multiple times a day. This was "fixed" by adding a boot flag in grub to turn off a certain feature, and I think the ultimate fix may be working its way into the kernel currently.

Really not the slick experience I was hoping for with the XPS13. I mostly work on my desktop so it's not the end of the world, but it has me thinking about getting a mac in 5 or so years, assuming Asahi reaches stability.

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#32

Earlier quoted context omitted.

And Intel was the last reliable wifi chip maker I knew. What are good, well supported (on linux) wifi chipsets these days?

I can only speak for myself here, but I'm running a MediaTek MT7921 on Fedora 37, I picked it up on eBay for £12 and its been spot on. Unlike my Intel AX210 I can actually get a full gigabit down sat next to my router.

[deleted]

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#34
My ath9k stopped working after upgrading from 5.4.x to 5.15.x... 5ghz radios disabled, couldnt turn them on no matter what I tried. I figured it was because hostapd screwed something up...

I wonder if it was the same (or similar) issue... I wound up buying a mikrotik AP after all that nonsense.

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#35

It appears this is a non-US issue? "iw reg get" shows "country 00: DFS-UNSET" with 9 frequencies (incl. 755-928 MHz ... huh) and "country US: DFS-UNSET" with a long list going from 2402-7125 MHz on my Wi-Fi 6E AX211

I was confused by this too. 5 GHz channels with 40/80 MHz width definitely work for me, without having to set a regulatory domain.

It appears that this problem is related to Intel's WiFi firmware automatic detection of the regulatory domain, which is LAR. This is done on the basis of nearby access points, although the specifics of how this works is beyond me.

The problem is that if this gets detected incorrectly, there's no way to override. What the users in this bug report found that attempting to set the regulatory domain manually resulted in two separate regulatory domains being defined, which still left the 5 GHz channels disabled on their devices.

A workaround for this firmware issue, previously, was to disable LAR, which would force the card to use the manually set regulatory domain. But this option was removed from the kernel due to it causing other problems.

So I don't think this is (exclusively) a non-US issue, it's an issue for people who live in a place where nearby access points will teach the WiFi driver the wrong regulatory domain ... however that works. It's probably less common for this to happen in the US, but not impossible.

Partially contrary to the title, I would expect this problem to affect a relatively small number of users.

Edit: I found a great blog post talking about the issue in more detail, although it's from the point of view of hosting an AP on the device. https://tildearrow.org/?p=post&month=7&year=2022&item=lar

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#36

I'm so relieved to find that its not just me going crazy all this time. Its gotten so bad that I've had to install a bloody MediaTek WiFi card in my ThinkPad just to make it work reliably. I remember when the 8000 series radios were the gold standard for mobile wireless, all the newer AX cards have been nothing but pain and suffering.

And Intel was the last reliable wifi chip maker I knew. What are good, well supported (on linux) wifi chipsets these days?

Try anything that's well-supported by OpenWRT. Even if you don't need support for AP mode, using a chip+driver pair that meets that standard (i.e. has mature AP mode support from an open-source driver that works on multiple architectures) usually means the client mode is also fully-supported (though maybe not Bluetooth). For 802.11ac, that generally means Qualcomm-Atheros ath10k or Mediately mt76 devices, with the latter being more popular among OEMs for use in client devices.

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#37

Not related to wifi, but Intel broke the IPU6 webcam on Linux also. I have a Dell XPS13 - on the initial Ubuntu they shipped with, it was working, but after a dist-upgrade it stopped. There's lots of traffic out there, with some reports that it started working again with the 6.1 kernel, but on mine (with Dell drivers and 6.2 kernel) it's broken. There was another Intel related issue with this laptop also; the gpu wou…

> There was another Intel related issue with this laptop also; the gpu would freeze/panic intermittently, multiple times a day.

I had this on my Dell XPS13 (9310) as well, although in my case it was a few times a week, maybe .5 times a day. It also seemed to almost always trigger when kwin was animating something, particularly switching to another virtual desktop, but never when playing any games. I can't imagine why, but the problem mostly went away when I turned off all animations in kwin, and seems to have gone away completely sometime about a year or so ago.

All in all, it's still a better experience than the Macbook Air I was using prior to having this XPS13... That damn Macbook loved to vomit onto the screen and lock up without warning. No dust, thermals seemed fine, battery was healthy... no clue what was wrong with it. And without many exposed settings to fiddle with.

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#38
post #35

It appears this is a non-US issue? "iw reg get" shows "country 00: DFS-UNSET" with 9 frequencies (incl. 755-928 MHz ... huh) and "country US: DFS-UNSET" with a long list going from 2402-7125 MHz on my Wi-Fi 6E AX211

I was confused by this too. 5 GHz channels with 40/80 MHz width definitely work for me, without having to set a regulatory domain. It appears that this problem is related to Intel's WiFi firmware automatic detection of the regulatory domain, which is LAR. This is done on the basis of nearby access points, although the specifics of how this works is beyond me. The problem is that if this gets detected incorrectly, the…

> So I don't think this is a non-US issue, it's an issue for people who live in a place where nearby access points will teach the WiFi driver the wrong regulatory domain ... however that works. It's probably less common for this to happen in the US, but not impossible.

Could it be as simple as somebody moving from Indonesia or wherever to America, and bringing their Indonesian/etc AP with them?

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#39
post #13

Earlier quoted context omitted.

do you by chance have any experience with the realtek ethernet? I too have seen the conventional wisdom around avoiding the realtek chips. I'm looking to build a linux box (hopefully) soon and filtering out mobos with realtek chips is difficult

They used to be glitchy, I've had okay success with them. The igc module (new igb) is a buggy nightmare on Linux with the kmod maintainers having no idea how to run a speed test with forwarding to also kernel panic... It's really bizarre.

Intel's consumer-oriented Ethernet has also been a disaster on the hardware side lately, with basically all of their 2.5GbE chips having serious bugs. At this point, it seems like Realtek is the sane choice for 2.5GbE, or Aquantia/Marvell for 5/10GbE.

Re: Linux Intel WiFi driver broken with 5&6GHz bands for longer than three years

#40

I'm so relieved to find that its not just me going crazy all this time. Its gotten so bad that I've had to install a bloody MediaTek WiFi card in my ThinkPad just to make it work reliably. I remember when the 8000 series radios were the gold standard for mobile wireless, all the newer AX cards have been nothing but pain and suffering.

Ok, a weird question... is it a Mediatek MT7612U (usb dongle)?

Do you get a GPS fix nearby (~0.5m) of that card (eg. on your phone next to it)?

Due to some work i had ~6 of those dongles (Alfa AWUS036ACM), and all of them put out some noise in the gps range and break my gps connection the second they're plugged into the usb port (without any ifconfig up-ing them, setting a channel or connecting anywhere).

Post reply on HN