[PATCH 0/6] implement EAP SM param required functionality for the D-Bus interface
Dan Williams
dcbw
Mon Oct 24 08:51:58 PDT 2011
This patch series implements the EAP SM param required functionality for
the D-Bus interface, comparable to the functionality already present in
the socket control interface. When information is required, the
Interface object emits a signal that indicates which network the request
is for, the specific item requested (ie PASSWORD, PIN, NEW_PASSWORD,
etc) and the optional additional text (like an OTP prompty). Clients
listening for that signal can then respond by calling a NetworkReply
method on the Interface object and providing the information, which
triggers the EAP SM to continue.
---
Dan Williams (6):
Use an enum for EAP SM requests
dbus: implement EAP SM control request signals
Add wpa_supplicant_ctrl_req_from_string()
Include wpa_supplicant_i.h for struct wpa_supplicant
Make control response processing available to other control
interfaces
Implement control request replies for the D-Bus interface
src/common/defs.h | 14 ++++
src/eap_peer/eap.c | 46 ++++--------
src/eap_peer/eap.h | 4 +-
src/eapol_supp/eapol_supp_sm.c | 2 +-
src/eapol_supp/eapol_supp_sm.h | 4 +-
wpa_supplicant/ctrl_iface.c | 114 ++++++++++++++++++-------------
wpa_supplicant/ctrl_iface.h | 15 ++++
wpa_supplicant/dbus/dbus_new.c | 79 +++++++++++++++++++++
wpa_supplicant/dbus/dbus_new.h | 11 +++
wpa_supplicant/dbus/dbus_new_handlers.c | 64 +++++++++++++++++
wpa_supplicant/dbus/dbus_new_handlers.h | 3 +
wpa_supplicant/dbus/dbus_new_helpers.h | 4 +-
wpa_supplicant/notify.c | 8 ++
wpa_supplicant/notify.h | 5 ++
wpa_supplicant/wpas_glue.c | 76 ++++++++++++++++++++-
wpa_supplicant/wpas_glue.h | 6 ++
16 files changed, 367 insertions(+), 88 deletions(-)
--
1.7.6.4
More information about the Hostap
mailing list