hostap/src/rsn_supp
Paul Stewart cea97a04f9 dbus_new: Add DBus TDLS methods
Add DBus methods for TDLS operations similar to those available
for the control interface. This includes Discover, Setup, and
Teardown commands. While here, add a method to query the TDLS
link status and add a DBus method for it.

Tested with CONFIG_TDLS enabled, on a TDLS-enabled host and
peer capable of TDLS:

    dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply \
        /fi/w1/wpa_supplicant1/Interfaces/0 \
        fi.w1.wpa_supplicant1.Interface.TDLSStatus string:<peer-mac-address>

    yields: string "peer does not exist"

    dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply \
        /fi/w1/wpa_supplicant1/Interfaces/0 \
        fi.w1.wpa_supplicant1.Interface.TDLSDiscover string:<peer-mac-address>

    yields no error

    dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply \
        /fi/w1/wpa_supplicant1/Interfaces/0 \
        fi.w1.wpa_supplicant1.Interface.TDLSSetup string:<peer-mac-address>

    yields no error

    dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply \
        /fi/w1/wpa_supplicant1/Interfaces/0 \
        fi.w1.wpa_supplicant1.Interface.TDLSStatus string:<peer-mac-address>

    yields: string "connected" after TDLS completes

    dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply \
        /fi/w1/wpa_supplicant1/Interfaces/0 \
        fi.w1.wpa_supplicant1.Interface.TDLSTeardown string:<peer-mac-address>

    yields no error

    dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply \
        /fi/w1/wpa_supplicant1/Interfaces/0 \
        fi.w1.wpa_supplicant1.Interface.TDLSStatus string:<peer-mac-address>

    yields: string "peer not connected"

Signed-hostap: Paul Stewart <pstew@chromium.org>
2013-11-17 16:47:32 +02:00
..
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
peerkey.c Move cipher suite selection into common helper functions 2013-01-13 16:58:54 +02:00
peerkey.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pmksa_cache.c Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
pmksa_cache.h Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
preauth.c Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
preauth.h Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
tdls.c dbus_new: Add DBus TDLS methods 2013-11-17 16:47:32 +02:00
wpa.c Set GTK rekey offload information after initial group key handshake 2013-10-30 11:41:40 +02:00
wpa.h dbus_new: Add DBus TDLS methods 2013-11-17 16:47:32 +02:00
wpa_ft.c FT: Fix TKIP group key configuration in FT protocol 2013-05-24 16:03:54 +03:00
wpa_i.h TDLS: Pass peer's AID information to kernel 2013-05-06 15:47:44 +03:00
wpa_ie.c Remove CONFIG_NO_WPA2 build parameter 2013-06-07 20:13:25 +03:00
wpa_ie.h TDLS: Pass peer's AID information to kernel 2013-05-06 15:47:44 +03:00