summaryrefslogtreecommitdiffstats
path: root/pkgs/os-specific/linux/wpa_supplicant/default.nix
diff options
context:
space:
mode:
authorCarl Sverre <accounts@carlsverre.com>2016-12-13 11:39:14 -0800
committerCarl Sverre <accounts@carlsverre.com>2017-08-03 21:37:24 -0700
commit6b62b566a175ee4c011662b599323d43e5b0d251 (patch)
tree0e13b4cc244409c7148d9151c3b2623020e8d1e0 /pkgs/os-specific/linux/wpa_supplicant/default.nix
parenta7c8f5e419ba07711c132bf81baaab0e74862cce (diff)
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.
Diffstat (limited to 'pkgs/os-specific/linux/wpa_supplicant/default.nix')
-rw-r--r--pkgs/os-specific/linux/wpa_supplicant/default.nix1
1 files changed, 1 insertions, 0 deletions
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