aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-06-12 21:31:56 (GMT)
committerJouni Malinen <j@w1.fi>2011-06-12 21:31:56 (GMT)
commitdd8a7e054711c60fda83739ea19313ebab58d986 (patch)
treec419b95cd3faeb9876f796f0723ee1eac621f051 /wpa_supplicant/notify.h
parent349b213cc8babdc0212938714104f7e28d34b335 (diff)
downloadhostap-dd8a7e054711c60fda83739ea19313ebab58d986.zip
hostap-dd8a7e054711c60fda83739ea19313ebab58d986.tar.gz
hostap-dd8a7e054711c60fda83739ea19313ebab58d986.tar.bz2
P2P: Add wpas_notify_p2p_provision_discovery()
Add a notification for P2P provision discovery status/result. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/notify.h')
-rw-r--r--wpa_supplicant/notify.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index 6c8fdf7..967aff2 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -15,6 +15,8 @@
#ifndef NOTIFY_H
#define NOTIFY_H
+#include "p2p/p2p.h"
+
struct wps_credential;
struct wps_event_m2d;
struct wps_event_fail;
@@ -101,5 +103,10 @@ void wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s,
void wpas_notify_p2p_sd_response(struct wpa_supplicant *wpa_s,
const u8 *sa, u16 update_indic,
const u8 *tlvs, size_t tlvs_len);
+void wpas_notify_p2p_provision_discovery(struct wpa_supplicant *wpa_s,
+ const u8 *dev_addr, int request,
+ enum p2p_prov_disc_status status,
+ u16 config_methods,
+ unsigned int generated_pin);
#endif /* NOTIFY_H */