P2P: Send AP mode WPS-FAIL event to parent interface
[libeap.git] / src / ap / hostapd.h
index 021d2e8..a4ae8dc 100644 (file)
@@ -27,6 +27,8 @@ struct sta_info;
 struct hostap_sta_driver_data;
 struct ieee80211_ht_capabilities;
 struct full_dynamic_vlan;
+enum wps_event;
+union wps_event_data;
 
 struct hostapd_probereq_cb {
        int (*cb)(void *ctx, const u8 *sa, const u8 *ie, size_t ie_len);
@@ -185,6 +187,10 @@ struct hostapd_data {
                                   const u8 *uuid_e);
        void *wps_reg_success_cb_ctx;
 
+       void (*wps_event_cb)(void *ctx, enum wps_event event,
+                            union wps_event_data *data);
+       void *wps_event_cb_ctx;
+
 #ifdef CONFIG_P2P
        struct p2p_data *p2p;
        struct p2p_group *p2p_group;