From 6b62b566a175ee4c011662b599323d43e5b0d251 Mon Sep 17 00:00:00 2001 From: Carl Sverre Date: Tue, 13 Dec 2016 11:39:14 -0800 Subject: [PATCH] wpa_supplicant: Enable BGSCAN module Compile wpa_supplicant with the BGSCAN module enabled. This allows the user to configure an SSID to use the bgscan module. This module causes wpa_supplicant to periodically perform a background scan for additional access points and switch to the one with the highest signal. This scan can be kicked off when the current connection drops below a target threshold signal strength. --- pkgs/os-specific/linux/wpa_supplicant/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/wpa_supplicant/default.nix b/pkgs/os-specific/linux/wpa_supplicant/default.nix index 1cac0911b246..1530d20667e3 100644 --- a/pkgs/os-specific/linux/wpa_supplicant/default.nix +++ b/pkgs/os-specific/linux/wpa_supplicant/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { CONFIG_HS20=y CONFIG_P2P=y CONFIG_TDLS=y + CONFIG_BGSCAN_SIMPLE=y '' + optionalString (pcsclite != null) '' CONFIG_EAP_SIM=y CONFIG_EAP_AKA=y