path: root/wpa_supplicant/notify.h
Commit message (Collapse)AuthorAgeFilesLines
* Export disconnect reason code to dbusGary Morain2012-06-301-0/+1
| | | | | | | | | | | In the properties changed signal, added a new property "DisconnectReason", which carries the IEEE 802.11 reason code of the most recent disassociation or deauthentication event. The reason code is negative if it is locally generated. The property is sent to the DBUS immediately so as to prevent it from being coalesced with other disconnect events. Signed-off-by: Gary Morain <gmorain@chromium.org>
* wpa_supplicant: Report EAP connection progress to DBusPaul Stewart2012-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | Send an "EAP" signal via the new DBus interface under various conditions during EAP authentication: - During method selection (ACK and NAK) - During certificate verification - While sending and receiving TLS alert messages - EAP success and failure messages This provides DBus callers a number of new tools: - The ability to probe an AP for available EAP methods (given an identity). - The ability to identify why the remote certificate was not verified. - The ability to identify why the remote peer refused a TLS connection. Signed-hostap: Paul Stewart <pstew@chromium.org>
* DBus: Add ability to report probe requestsJohannes Berg2012-04-011-0/+3
| | | | | | | | | | | | | | | | Some applications require knowing about probe requests to identify devices. This can be the case in AP mode to see the devices before they connect, or even in P2P mode when operating as a P2P device to identify non-P2P peers (P2P peers are identified via PeerFound signals). As there are typically a lot of probe requests, require that an interested application subscribes to this signal so the bus isn't always flooded with these notifications. The notifications in DBus are then unicast only to that application. A small test script is also included. Signed-hostap: Johannes Berg <johannes.berg@intel.com>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Maintain a list of P2P Clients for persistent group on GOJouni Malinen2011-12-221-1/+2
| | | | | | | | | | Add a new persistent group network block field, p2p_client_list, to maintain a list of P2P Clients that have connected to a persistent group. This allows GO of a persistent group to figure out more easily whether re-invocation of a persistent group can be used with a specific peer device. Signed-hostap: Jouni Malinen <j@w1.fi>
* P2P: Make GO negotiation peer and group information available over D-BusReinette Chatre2011-12-181-1/+1
| | | | | | | | | | | | | | | | | | 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>
* dbus: Implement EAP SM control request signalsDan Williams2011-10-301-0/+4
| | | | | | | | | Add a D-Bus signal for EAP SM requests. This signal is emitted on the Interface object so that clients only have to listen to one object for requests rather than to all network objects. This signal is analogous to the socket control interface's CTRL-REQ- request. Signed-off-by: Dan Williams <dcbw@redhat.com>
* Add dbus signal for information about server certificationMichael Chang2011-07-051-0/+4
| | | | | | | | | | | | In general, this patch attemps to extend commit 00468b4650998144f794762206c695c962c54734 with dbus support. This can be used by dbus client to implement subject match text entry with preset value probed from server. This preset value, if user accepts it, is remembered and passed to subject_match config for any future authentication. Signed-off-by: Michael Chang <mchang@novell.com>
* P2P: Add WpsFailed signal in P2P D-BusJayant Sane2011-06-251-0/+3
| | | | | | | Signal is triggered if an error occurs during WPS provisioning phase. Signed-off-by: Jean-Michel.Bachot <jean-michelx.bachot@intel.com> Signed-off-by: Jayant Sane <jayant.sane@intel.com>
* P2P: More complete persistent group management over D-BusJayant Sane2011-06-241-0/+2
| | | | | | Extend commit c2762e410fa319f75a174aeb12343beddf99fce4 to allow applications to manage (add/remove) persistent groups and accepted network object paths while invoking a persistent group.
* P2P: Update D-Bus network object semantics during group formationJayant Sane2011-06-231-0/+2
| | | | | | | | | | | | | Do not emit network objects during P2P group formation since such network objects can confuse certain apps. Instead, a persistent group object is created to allow apps to keep track of persistent groups. Persistent group objects only represent the info needed to recreate the group. Also fixes a minor bug in the handling of persistent group objects during WPS operations. Signed-off-by: Jayant Sane <jayant.sane@intel.com>
* P2P: Add group started notificationJean-Michel Bachot2011-06-121-0/+3
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add wpas_notify_p2p_provision_discovery()Johannes Berg2011-06-121-0/+7
| | | | | | Add a notification for P2P provision discovery status/result. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* wpa_s AP mode: Add notification functions for STA authorizedJohannes Berg2011-03-161-0/+2
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* Add DBus state change notification for AuthMode propertyPaul Stewart2011-03-151-0/+1
| | | | Signed-off-by: Paul Stewart <pstew@google.com>
* P2P: Add wpas_notify_p2p_sd_responseKonguraj(Raj) Kulanthaivel2011-02-241-0/+3
| | | | | Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add wpas_notify_p2p_sd_requestKonguraj(Raj) Kulanthaivel2011-02-241-0/+4
| | | | | Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add invitation result notificationJean-Michel Bachot2011-02-241-0/+2
| | | | | | | Add a notification function for the result of an invitation. Signed-off-by: Jean-Michel Bachot <jean-michelx.bachot@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add GO negotiation status notificationJayant Sane2011-02-241-0/+2
| | | | | Signed-off-by: Jayant Sane <jayant.sane@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add wpas_notify_p2p_go_neg_reqKonguraj(Raj) Kulanthaivel2011-02-241-0/+2
| | | | | | | Add a notification for received GO negotiation requests. Signed-off-by: Konguraj(Raj) Kulanthaivel <konguraj.kulanthaivel@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add group removed notificationJohannes Berg2011-02-241-0/+3
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add method to signal lost deviceJohannes Berg2011-02-241-0/+2
| | | | | | | This signal is used to notify users of the P2P state machine or wpa_supplicant of lost devices. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* P2P: Add notification for P2P device foundJohannes Berg2011-02-241-0/+3
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* Add suspend/resume notificationsJouni Malinen2010-02-271-1/+3
| | | | | | wpa_supplicant can now be notified of suspend/resume events, e.g., from pm-action scripts. This allows wpa_supplicant to clear information that may become invalid during a suspend operation.
* dbus: Change WPA/RSNIE byte array props to dictsWitold Sowa2010-01-161-1/+3
| | | | | | | Expose RSN and WPA properties for BSS objects containing information about key management and cipher suites. Get rid of WPA/RSN/WPSIE byte array properties and add IEs byte array property with all IE data instead.
* dbus: Add BSS property change notificationsWitold Sowa2010-01-061-0/+16
* dbus: Divide DebugParams property to three separate propertiesWitold Sowa2010-01-011-1/+3
* Add ctrl_iface events for BSS added/removedJouni Malinen2009-12-271-2/+4
* Get rid of unnecessary typedefs for enums.Jouni Malinen2009-12-261-1/+2
* Add notifications for scan result BSS changes (added/removed)Witold Sowa2009-11-111-0/+2
| | | | | | If scan results introduce new BSSs or discards some previously known, new wpas_notify_bss_added or wpas_notify_bss_removed notifications are called.
* wpa_supplicant and dbus code separationWitold Sowa2009-10-151-1/+4
| | | | | | | | This patch completely separates supplicant's code from dbus. It introduces three new notifications which copes with all remaining dbus stuff. wpas_notify_unregister_interface() was renamed to wpas_notify_iface_removed().
* Add wpa_supplicant notification callsJouni Malinen2009-09-131-0/+51
This introduces a new mechanism for collecting notification calls into a single place (notify.c). As a result of this, most of the wpa_supplicant code does not need to know about dbus (etc. mechanisms that could use the notifications). Some empty placeholder functions are also added in preparation of new dbus code that needs more event notifications.