]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Make GO negotiation peer and group information available over D-Bus
authorReinette Chatre <reinette.chatre@intel.com>
Sun, 18 Dec 2011 14:52:33 +0000 (16:52 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 18 Dec 2011 14:52:33 +0000 (16:52 +0200)
commite5a359cf7e2c65d5527c6d2c704183c773fb0ab9
tree249ca94e19c3989675a863cb63f68ef00b0701c7
parent2f0c8936bfe1d08568ef860a81bfc4c5f3bcc51d
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>
src/p2p/p2p.c
src/p2p/p2p.h
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new.h
wpa_supplicant/notify.c
wpa_supplicant/notify.h
wpa_supplicant/p2p_supplicant.c