[PATCH 1/3] wpa_supplicant: expose DPP config object AKM

Michal Kazior kazikcz at gmail.com
Mon Feb 8 10:32:05 EST 2021

From: Michal Kazior <michal at plume.com>

Hostapd was already exposing this. There's no
reason not to expose it in wpa_supplicant.

This allows 3rd party apps interacting with the
control interface to handle DPP events to get
configs instead of needing to dance around with
update_config=1 and save_config.

Signed-off-by: Michal Kazior <michal at plume.com>
 wpa_supplicant/dpp_supplicant.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 910602e34..01e7fce26 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -1441,6 +1441,8 @@ static int wpas_dpp_handle_config_obj(struct wpa_supplicant *wpa_s,
 				      struct dpp_config_obj *conf)
+	wpa_msg(wpa_s, MSG_INFO, DPP_EVENT_CONFOBJ_AKM "%s",
+		dpp_akm_str(conf->akm));
 	if (conf->ssid_len)
 		wpa_msg(wpa_s, MSG_INFO, DPP_EVENT_CONFOBJ_SSID "%s",
 			wpa_ssid_txt(conf->ssid, conf->ssid_len));

More information about the Hostap mailing list