mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-29 08:14:02 -05:00
DPP2: Presence Announcement notification in AP
Generate a control interface 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@microsoft.com>
This commit is contained in:
parent
8b667bfa14
commit
980c4da413
@ -1228,6 +1228,9 @@ hostapd_dpp_rx_presence_announcement(struct hostapd_data *hapd, const u8 *src,
|
||||
r_bootstrap, r_bootstrap_len);
|
||||
peer_bi = dpp_bootstrap_find_chirp(hapd->iface->interfaces->dpp,
|
||||
r_bootstrap);
|
||||
dpp_notify_chirp_received(hapd->msg_ctx,
|
||||
peer_bi ? (int) peer_bi->id : -1,
|
||||
src, freq, r_bootstrap);
|
||||
if (!peer_bi) {
|
||||
if (dpp_relay_rx_action(hapd->iface->interfaces->dpp,
|
||||
src, hdr, buf, len, freq, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user