aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.h
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2011-12-18 14:52:33 (GMT)
committerJouni Malinen <j@w1.fi>2011-12-18 14:52:33 (GMT)
commite5a359cf7e2c65d5527c6d2c704183c773fb0ab9 (patch)
tree249ca94e19c3989675a863cb63f68ef00b0701c7 /wpa_supplicant/notify.h
parent2f0c8936bfe1d08568ef860a81bfc4c5f3bcc51d (diff)
downloadhostap-e5a359cf7e2c65d5527c6d2c704183c773fb0ab9.zip
hostap-e5a359cf7e2c65d5527c6d2c704183c773fb0ab9.tar.gz
hostap-e5a359cf7e2c65d5527c6d2c704183c773fb0ab9.tar.bz2
P2P: Make GO negotiation peer and group information available over D-Bus
The GO negotiation response is very cryptic at the moment. For a success message we only know on which interface the negotiation succeeded, not which peer. For a failure we know the interface also and a status code (number). It will be very useful for clients to know upon receipt of such a message which peer the negotiation occurred with. Now that the peer information is available and the API is changed already, the function composing the D-Bus message might as well include all GO negotiation information. This is done with a dict to make things easier on clients if this result information changes down the line. Signed-hostap: Reinette Chatre <reinette.chatre@intel.com> Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/notify.h')
-rw-r--r--wpa_supplicant/notify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index 70950c6..7d4a11e 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -97,7 +97,7 @@ void wpas_notify_p2p_group_removed(struct wpa_supplicant *wpa_s,
void wpas_notify_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
const u8 *src, u16 dev_passwd_id);
void wpas_notify_p2p_go_neg_completed(struct wpa_supplicant *wpa_s,
- int status);
+ struct p2p_go_neg_results *res);
void wpas_notify_p2p_invitation_result(struct wpa_supplicant *wpa_s,
int status, const u8 *bssid);
void wpas_notify_p2p_sd_request(struct wpa_supplicant *wpa_s,