aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-07-04 12:45:37 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-04 12:56:38 (GMT)
commita86fb43ca3a93da89e82e0aa307520baf2060004 (patch)
treece3f2830965251a13a0d124de6e760e847a04743 /hostapd
parent484788b875a130359c21b5b8ed59b7a10f56e322 (diff)
downloadhostap-a86fb43ca3a93da89e82e0aa307520baf2060004.zip
hostap-a86fb43ca3a93da89e82e0aa307520baf2060004.tar.gz
hostap-a86fb43ca3a93da89e82e0aa307520baf2060004.tar.bz2
DPP: DPP_BOOTSTRAP_INFO for hostapd
This extends the hostapd control interface to support the DPP_BOOTSTRAP_INFO command that was recently added for wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/ctrl_iface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c
index 5503f44..c2eadb5 100644
--- a/hostapd/ctrl_iface.c
+++ b/hostapd/ctrl_iface.c
@@ -2690,6 +2690,9 @@ static int hostapd_ctrl_iface_receive_process(struct hostapd_data *hapd,
if (os_snprintf_error(reply_size, reply_len))
reply_len = -1;
}
+ } else if (os_strncmp(buf, "DPP_BOOTSTRAP_INFO ", 19) == 0) {
+ reply_len = hostapd_dpp_bootstrap_info(hapd, atoi(buf + 19),
+ reply, reply_size);
} else if (os_strncmp(buf, "DPP_AUTH_INIT ", 14) == 0) {
if (hostapd_dpp_auth_init(hapd, buf + 13) < 0)
reply_len = -1;