[PATCH v2 2/3] DPP2: Presence Announcement notification in AP

Andrew Beltrano anbeltra at microsoft.com
Tue Sep 15 13:54:05 EDT 2020


Generate a control event upon receipt of DPP presence announcement
frames. This allows external programs to instrument hostapd with
bootstrapping information on-demand.

Signed-off-by: Andrew Beltrano <anbeltra at microsoft.com>
---
 src/ap/dpp_hostapd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ap/dpp_hostapd.c b/src/ap/dpp_hostapd.c
index 15aa82b85..f09194c2f 100644
--- a/src/ap/dpp_hostapd.c
+++ b/src/ap/dpp_hostapd.c
@@ -1224,6 +1224,7 @@ hostapd_dpp_rx_presence_announcement(struct hostapd_data *hapd, const u8 *src,
 			"Missing or invalid required Responder Bootstrapping Key Hash attribute");
 		return;
 	}
+	dpp_notify_chirp_received(hapd->msg_ctx, src, r_bootstrap);
 	wpa_hexdump(MSG_MSGDUMP, "DPP: Responder Bootstrapping Key Hash",
 		    r_bootstrap, r_bootstrap_len);
 	peer_bi = dpp_bootstrap_find_chirp(hapd->iface->interfaces->dpp,
-- 
2.23.3


More information about the Hostap mailing list