Live data from Hacker News

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

bugzilla.kernel.org

61–70 of 148 posts

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

#61

This is for 5ghz AP (access point) mode. As a station/client it works fine. A workaround here https://tildearrow.org/?p=post&month=7&year=2022&item=lar

What insane lengths are people prepared to go to to work around this issue, and still...

> since it does not disable LAR at all, it inherits the issue of requiring a 5GHz access point to be active and near the card in order to detect a 5GHz-able country.

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

#62

This is for 5ghz AP (access point) mode. As a station/client it works fine. A workaround here https://tildearrow.org/?p=post&month=7&year=2022&item=lar

That was useful description of the issue. I'm running a Intel AX200 (pop!os) and it seems to be working well.

"Intel wireless cards are among the best for Linux, with support for new devices landing even before they are released. however, they have one big drawback: LAR (Location-Aware Regulatory).

basically the card detects in which country it is (and therefore the regulatory domain) based on nearby access points' ones, and doesn't let you change it manually. the sad thing is that it often sets the card to the wrong country, which is a problem.

prior to Linux 5.5 there was an option to disable this annoying feature in the iwlwifi module (lar_disable=1), but it was removed as later firmware versions caused card crashes and Intel claimed the option shouldn't be accessible anyway "

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

#63
post #50
post #19

Earlier quoted context omitted.

Is there a patch for the kernel 6 line to add back the lar_disable functionality?

This was the patch that removed it: https://github.com/torvalds/linux/commit/f06021a18fcf8d8a1e7... But this commit message is burying the lede a bit. There are two problems here: 1) you can revert the change, but a large part of the regulatory logic lives in the firmware blob running on the chip and you can not change this. 2) the FCC doesn't look kindly upon functionality that ignores regulatory limits being availa…

Can I just point out how insane this method of determining the regulatory rules is...

Considering the average user would never bother to set their correct regdomain when they buy a crap Chinese wifi router, you are pretty much guaranteed to always be using the wrong (mostly CN) regdomain, because that's what your neighbours are using...

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

#64

This is for 5ghz AP (access point) mode. As a station/client it works fine. A workaround here https://tildearrow.org/?p=post&month=7&year=2022&item=lar

What insane lengths are people prepared to go to to work around this issue, and still... > since it does not disable LAR at all, it inherits the issue of requiring a 5GHz access point to be active and near the card in order to detect a 5GHz-able country.

[flagged]

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

#65
post #15

The link seems to be experiencing a mysterious outage, reporting "404" when I visit the page. Other bugs seem to be fine. Not sure what's going on. Here's a mirror: https://web.archive.org/web/20230317164517/https://bugzilla....

The admins probably got grumpy because a bajilion HN bots querying for link previews DDOS'ed the whole bugzilla.

[deleted]

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

#66

Earlier quoted context omitted.

What insane lengths are people prepared to go to to work around this issue, and still... > since it does not disable LAR at all, it inherits the issue of requiring a 5GHz access point to be active and near the card in order to detect a 5GHz-able country.

[flagged]

Macs are not a replacement for a Linux desktop, laptop or a server. They do not provide the same options nor allow you do the same things. There is some overlap, but same as you wouldn't use a Linux desktop to run the Adobe suite, Macs are poorly suited for servers, development, power users, etc.

- outside of the Apple ecosystem of course, because it's literally the only choice. For anything else, any recent Linux distro provides better tools and better UX, so why bother with Apple's ecosystem, lack of package manager that doesn't suck, compatibility issues left and right (can you run a VM on M Macs now? Kind of, sometimes, depends on how much you pay to whom; containers are still a pain), an undebuggable and uncustomisable OS, etc. etc.

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

#67

Earlier quoted context omitted.

What insane lengths are people prepared to go to to work around this issue, and still... > since it does not disable LAR at all, it inherits the issue of requiring a 5GHz access point to be active and near the card in order to detect a 5GHz-able country.

[flagged]

Don't make me laugh, AFAIK Macs ship Broadcom, which is notoriously the only worse than Intel wifi card you can have.

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

#68
post #50
post #19

Earlier quoted context omitted.

Is there a patch for the kernel 6 line to add back the lar_disable functionality?

This was the patch that removed it: https://github.com/torvalds/linux/commit/f06021a18fcf8d8a1e7... But this commit message is burying the lede a bit. There are two problems here: 1) you can revert the change, but a large part of the regulatory logic lives in the firmware blob running on the chip and you can not change this. 2) the FCC doesn't look kindly upon functionality that ignores regulatory limits being availa…

Those problems are valid, but LAR is currently often unable to detect the correct location. Even though it seems to fail to a very restrictive default, it might not, potentially causing even worse problems than a (rare) manual override would.

It also doesn't seem to be that much of an issue for other vendors to allow the user to configure their regulatory locale, it definitely raises the question how necessary this current approach is.

In the end, Intel's current LAR implementation hurts users that want to use their hardware within their locale's regulatory limits. It does not prevent intentionally misleading the LAR implementation or acquiring other equipment to be disruptive. To me it seems to achieve very little positive, and I've not even touched the freedom aspect of Linux being violated.

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

#69

This is for 5ghz AP (access point) mode. As a station/client it works fine. A workaround here https://tildearrow.org/?p=post&month=7&year=2022&item=lar

What insane lengths are people prepared to go to to work around this issue, and still... > since it does not disable LAR at all, it inherits the issue of requiring a 5GHz access point to be active and near the card in order to detect a 5GHz-able country.

It also doesn't help with 6GHz networks, the small range combined with relative rareness makes it basically not possible to use.

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

#70

Earlier quoted context omitted.

What insane lengths are people prepared to go to to work around this issue, and still... > since it does not disable LAR at all, it inherits the issue of requiring a 5GHz access point to be active and near the card in order to detect a 5GHz-able country.

[flagged]

You use a Mac as your AP‽ Sounds expensive.
Post reply on HN