aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
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.h
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.h')
-rw-r--r--wpa_supplicant/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index ba6e2d9..2c3d6f5 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -15,6 +15,7 @@
#else /* CONFIG_NO_SCAN_PROCESSING */
#define DEFAULT_AP_SCAN 1
#endif /* CONFIG_NO_SCAN_PROCESSING */
+#define DEFAULT_USER_MPM 1
#define DEFAULT_FAST_REAUTH 1
#define DEFAULT_P2P_GO_INTENT 7
#define DEFAULT_P2P_INTRA_BSS 1
@@ -1100,6 +1101,16 @@ struct wpa_config {
* rekeying operation.
*/
int key_mgmt_offload;
+
+ /**
+ * user_mpm - MPM residency
+ *
+ * 0: MPM lives in driver.
+ * 1: wpa_supplicant handles peering and station allocation.
+ *
+ * If AMPE or SAE is enabled, the MPM is always in userspace.
+ */
+ int user_mpm;
};