Commit 1047f0a6 authored by K900's avatar K900
Browse files

nixos/hostapd: set default channel to auto

The current default, 7, is, to put it nicely, absolutely ridiculous.

On 2.4 GHz, the only channels you should use are 1, 6 and 11, because
every other channel overlaps one of those and causes interference.

On 5/6 GHz, channel 7 does not exist at all.

Also, it's 2024, most things will support automatic channel selection,
and those that don't will likely need extra care to support prehistoric
hardware anyway.
parent e2f071fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ in {
            };

            channel = mkOption {
              default = 7;
              default = 0;
              example = 11;
              type = types.int;
              description = ''