From 8a97d662ddc24d839f19c5f4f9dba4ecf46d8f94 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Fri, 6 Dec 2024 22:13:50 +0900 Subject: [PATCH] nixos/hostapd: remove HT40- from default capabilities The current default configuration, automatic channel selection with the HT40- capability, is explicitly disallowed by an assertion in this module. This is a result of recent change to default to automatic channel selection in 1047f0a6bf88a7eb49a1a7380e17e2077eecec73. --- nixos/modules/services/networking/hostapd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index 09f271999fc4..82ece277f187 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -300,7 +300,7 @@ in { capabilities = mkOption { type = types.listOf types.str; - default = ["HT40" "HT40-" "SHORT-GI-20" "SHORT-GI-40"]; + default = ["HT40" "SHORT-GI-20" "SHORT-GI-40"]; example = ["LDPC" "HT40+" "HT40-" "GF" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1"]; description = '' HT (High Throughput) capabilities given as a list of flags.