aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@noack.us>2014-09-01 04:23:26 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-25 14:43:24 (GMT)
commite45e898970e29f5f21e2815a2c75714129d7ae20 (patch)
treebd079eeb8088b3edf0862641c0afbebc14501db5 /wpa_supplicant/config.c
parent8319e3120d1337cbcb6723257117c3949f78dff4 (diff)
downloadhostap-e45e898970e29f5f21e2815a2c75714129d7ae20.zip
hostap-e45e898970e29f5f21e2815a2c75714129d7ae20.tar.gz
hostap-e45e898970e29f5f21e2815a2c75714129d7ae20.tar.bz2
mesh: Add user_mpm config option
Add user_mpm config parameter, when this is set to 1 (the default) the peer link management is done on userspace, otherwise the peer management will be done by the kernel. Signed-off-by: Javier Lopez <jlopex@gmail.com> Signed-off-by: Jason Mobarak <x@jason.mobarak.name> Signed-off-by: Thomas Pedersen <thomas@noack.us>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 45a346a..99c5187 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -3310,6 +3310,7 @@ struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface,
return NULL;
config->eapol_version = DEFAULT_EAPOL_VERSION;
config->ap_scan = DEFAULT_AP_SCAN;
+ config->user_mpm = DEFAULT_USER_MPM;
config->fast_reauth = DEFAULT_FAST_REAUTH;
config->p2p_go_intent = DEFAULT_P2P_GO_INTENT;
config->p2p_intra_bss = DEFAULT_P2P_INTRA_BSS;
@@ -3856,6 +3857,9 @@ static const struct global_parse_data global_fields[] = {
#endif /* CONFIG_MACSEC */
{ INT(ap_scan), 0 },
{ FUNC(bgscan), 0 },
+#ifdef CONFIG_MESH
+ { INT(user_mpm), 0 },
+#endif /* CONFIG_MESH */
{ INT(disable_scan_offload), 0 },
{ INT(fast_reauth), 0 },
{ STR(opensc_engine_path), 0 },