aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorBadrish Adiga H R <badrish.adigahr@gmail.com>2016-12-05 14:53:55 (GMT)
committerJouni Malinen <j@w1.fi>2016-12-25 09:41:46 (GMT)
commit65dfa872862641c17e4f6276c56fad0a6c18d219 (patch)
treeeb4b0ea3fa47d94785bb79ad5b214be9cb0c59e4 /wpa_supplicant/config_file.c
parent1106833537b6286581532b467a0048075e17e2b0 (diff)
downloadhostap-65dfa872862641c17e4f6276c56fad0a6c18d219.zip
hostap-65dfa872862641c17e4f6276c56fad0a6c18d219.tar.gz
hostap-65dfa872862641c17e4f6276c56fad0a6c18d219.tar.bz2
mka: Make MKA actor priority configurable
This adds a new wpa_supplicant network profile parameter mka_priority=0..255 to set the priority of the MKA Actor. Signed-off-by: Badrish Adiga H R <badrish.adigahr@gmail.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index b9b1d4d..98e3591 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -19,6 +19,7 @@
#include "config.h"
#include "base64.h"
#include "uuid.h"
+#include "common/ieee802_1x_defs.h"
#include "p2p/p2p.h"
#include "eap_peer/eap_methods.h"
#include "eap_peer/eap.h"
@@ -813,6 +814,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
write_mka_ckn(f, ssid);
INT(macsec_integ_only);
INT(macsec_port);
+ INT_DEF(mka_priority, DEFAULT_PRIO_NOT_KEY_SERVER);
#endif /* CONFIG_MACSEC */
#ifdef CONFIG_HS20
INT(update_identifier);