What is iwlwifi's "lar_disable"?

I’m seeing a lot of posts reference lar_disable like this one for instance. I’m wondering what it does. modinfo iwlwifi just says,

parm:           lar_disable:disable LAR functionality (default: N) (bool)

What is “LAR functionality”?

Asked By: Evan Carroll

||
Answered By: StandardEyre

LAR means Location Aware Regulatory

I searched LAR in the source code of Linux wireless driver, only Intel use the LAR term in their code.
In their code comment [1, 2, 3] mention the full form of LAR

Answered By: Comzyh

LAR functionality for WIFI modules is not connected to Location-Aided Routing, but Location-Aware Regulatory. Let me disambiguate those two terms.

Location-Aided Routing

decides how to send you packets in the fastest way and shortest distance in Ad-Hoc networks, i.e. IoT (Internet of Things) or other on-location usages, such as army or emergency response units.

Location-Aware Regulatory

gives a country code to your wifi module on automatic basis based on the location you are in (European Union states have different regulations from US or China for radiation, mainly in 5GHz band). It was possible to turn it off previously, using the lar_disable parameter, although it was removed somewhere around 2019/2020, so now the country code is only set automatically and there is almost nothing you can do about it, mostly within INTEL cards. Qualcomm, Realtek and all those other guys should not, as of now 2023, force onto you the country’s regulation using the country code. You see iwlwifi is Linux’ driver for Intel Wireless WiFi. See this link.

Answered By: Andrej Kru┼żliak
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.