From ee47c3cfa371d96117404a368109610d902e8af6 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 26 Jan 2025 10:08:34 -0500 Subject: [PATCH] Enable debugging on ath12k. --- nix/configuration/hosts/odo/wifi.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/configuration/hosts/odo/wifi.nix b/nix/configuration/hosts/odo/wifi.nix index 64d4247..d523f3c 100644 --- a/nix/configuration/hosts/odo/wifi.nix +++ b/nix/configuration/hosts/odo/wifi.nix @@ -12,5 +12,10 @@ environment.loginShellInit = lib.mkIf (!config.me.buildingIso) '' doas iw dev wlan0 set power_save off ''; + + # Enable debug logging for ath12k wifi card. + boot.kernelParams = [ + "ath12k.debug_mask=0xffffffff" + ]; }; }