DPP2: Presence Announcement notification in STA
Generate a control interface event upon receipt of DPP Presence Announcement frames. This allows external programs to instrument wpa_supplicant with bootstrapping information on-demand. Signed-off-by: Andrew Beltrano <anbeltra@microsoft.com>
This commit is contained in:
parent
980c4da413
commit
0e8d569d47
1 changed files with 2 additions and 0 deletions
|
@ -1978,6 +1978,8 @@ wpas_dpp_rx_presence_announcement(struct wpa_supplicant *wpa_s, const u8 *src,
|
||||||
wpa_hexdump(MSG_MSGDUMP, "DPP: Responder Bootstrapping Key Hash",
|
wpa_hexdump(MSG_MSGDUMP, "DPP: Responder Bootstrapping Key Hash",
|
||||||
r_bootstrap, r_bootstrap_len);
|
r_bootstrap, r_bootstrap_len);
|
||||||
peer_bi = dpp_bootstrap_find_chirp(wpa_s->dpp, r_bootstrap);
|
peer_bi = dpp_bootstrap_find_chirp(wpa_s->dpp, r_bootstrap);
|
||||||
|
dpp_notify_chirp_received(wpa_s, peer_bi ? (int) peer_bi->id : -1, src,
|
||||||
|
freq, r_bootstrap);
|
||||||
if (!peer_bi) {
|
if (!peer_bi) {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"DPP: No matching bootstrapping information found");
|
"DPP: No matching bootstrapping information found");
|
||||||
|
|
Loading…
Reference in a new issue