nixos/wireless: enable PMF by default

Alternative solution to PR #152443.
This fixes authentication failures to WPA3 networks (issue #151729)
by enabling protected management frames.
Note: old client without 802.11w support will still fail.
This commit is contained in:
rnhmjoj
2022-01-09 12:29:30 +01:00
parent d516cd9bcf
commit 2f5ced6d7c

View File

@@ -18,6 +18,7 @@ let
"ctrl_interface_group=${cfg.userControlled.group}"
"update_config=1"
])
++ [ "pmf=1" ]
++ optional cfg.scanOnLowSignal ''bgscan="simple:30:-70:3600"''
++ optional (cfg.extraConfig != "") cfg.extraConfig);