nixpkgs/nixos/modules/hardware/network
Vincent Haupert af8abf141d
kernelPatches: ath driver: allow setting regulatory domain
Ports an OpenWRT patch for Atheros wireless drivers (ath*) which allows
the user to change the regulatory domain code to the one which actually
applies.

All Atheros devices have a regulatory domain burned into their EEPROM.
When using a device as AP, this domain is frequently overly restrictive
when compared to the regulation which applies in the country the device
actually operates in; often, this restriction disallows IR on all
channels making it impossible to use the device as an AP at all.

This commit introduces the NixOS config option
networking.wireless.athUserRegulatoryDomain which, if enabled, applies
the patch and sets the kernel config option ATH_USER_REGD.

The original OpenWRT patch targets Linux 5.8.
2021-01-08 02:20:08 +01:00
..
smc-2632w [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
ath-user-regd.nix kernelPatches: ath driver: allow setting regulatory domain 2021-01-08 02:20:08 +01:00
b43.nix
broadcom-43xx.nix
intel-2200bg.nix
zydas-zd1211.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00