From 9f972b45ca2b455222baafb25f62c0fdbbc29e7c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 30 Dec 2014 13:56:42 +0200 Subject: [PATCH] doc: Add D-Bus documentation for Probe Request reporting Commit 2d43d37ff2c3115da812bec8ea4c72048e1194d8 ('DBus: Add ability to report probe requests') added this capability, but forgot to document it. Signed-off-by: Jouni Malinen --- doc/dbus.doxygen | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/dbus.doxygen b/doc/dbus.doxygen index 797a1600b..51cf1595f 100644 --- a/doc/dbus.doxygen +++ b/doc/dbus.doxygen @@ -511,6 +511,30 @@ fi.w1.wpa_supplicant1.CreateInterface.
Maximum age in seconds for BSS entries to keep in cache (0 = remove all entries).
+ +
  • +

    SubscribeProbeReq ( ) --> nothing

    +

    Subscribe to receive Probe Request events. This is needed in addition to registering a signal handler for the ProbeRequest signal to avoid flooding D-Bus with all Probe Request indications when no application is interested in them.

    +

    Possible errors

    +
    +
    fi.w1.wpa_supplicant1.SubscriptionInUse
    +
    Another application is already subscribed.
    +
    fi.w1.wpa_supplicant1.NoMemory
    +
    Needed memory was not possible to get allocated.
    +
    +
  • + +
  • +

    UnsubscribeProbeReq ( ) --> nothing

    +

    Unsubscribe from receiving Probe Request events.

    +

    Possible errors

    +
    +
    fi.w1.wpa_supplicant1.NoSubscription
    +
    No subscription in place.
    +
    fi.w1.wpa_supplicant1.SubscriptionNotYou
    +
    Subscription in place, but for another process.
    +
    +
  • \subsection dbus_interface_properties Properties @@ -778,6 +802,16 @@ fi.w1.wpa_supplicant1.CreateInterface.
    Human readable information about the requested information.
    + +
  • +

    ProbeRequest ( a{sv} : args )

    +

    Information about a received Probe Request frame. This signal is delivered only to a single application that has subscribed to received the events with SubscribeProbeReq().

    +

    Arguments

    +
    +
    a{sv} : args
    +
    A dictionary with pairs of field names and their values. Possible dictionary keys are: "addr", "dst", "bssid", "ies", "signal".
    +
    +