aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrej Shadura <andrew.shadura@collabora.co.uk>2018-10-07 12:31:51 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-23 15:25:11 (GMT)
commitc3f23ad6c75642d241ade9cdb2b526289df2da65 (patch)
tree35be6be765ede060b02418cf48a530c8277fbcd5 /doc
parentf5f4c11aa1a5de7401dfe94e39255104a17aad3d (diff)
downloadhostap-c3f23ad6c75642d241ade9cdb2b526289df2da65.zip
hostap-c3f23ad6c75642d241ade9cdb2b526289df2da65.tar.gz
hostap-c3f23ad6c75642d241ade9cdb2b526289df2da65.tar.bz2
dbus: Expose connected stations on D-Bus
Make it possible to list connected stations in AP mode over D-Bus, along with some of their properties: rx/tx packets, bytes, capabilities, etc. Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> Rebased by Julian Andres Klode <juliank@ubuntu.com> and updated to use the new getter API. Further modified by Andrej Shadura to not error out when not in AP mode and to send separate StationAdded/StationRemoved signals instead of changing signatures of existing StaAuthorized/StaDeauthorized signals. Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Diffstat (limited to 'doc')
-rw-r--r--doc/dbus.doxygen31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/dbus.doxygen b/doc/dbus.doxygen
index 2ca40ae..940f469 100644
--- a/doc/dbus.doxygen
+++ b/doc/dbus.doxygen
@@ -735,6 +735,11 @@ fi.w1.wpa_supplicant1.CreateInterface.
</li>
<li>
+ <h3>Stations - ao - (read)</h3>
+ <p>List of D-Bus objects paths representing connected stations in AP mode.</p>
+ </li>
+
+ <li>
<h3>Networks - ao - (read)</h3>
<p>List of D-Bus objects paths representing configured networks.</p>
</li>
@@ -1127,6 +1132,32 @@ fi.w1.wpa_supplicant1.CreateInterface.
</li>
<li>
+ <h3>StationAdded ( o : Station, a{sv} : properties )</h3>
+ <p>A new station has been added to the interface.</p>
+ <p>This signal complements StaAuthorized, passing the Station object and its properties.</p>
+ <h4>Arguments</h4>
+ <dl>
+ <dt>o : Station</dt>
+ <dd>A D-Bus path to an object representing the new Station.</dd>
+ </dl>
+ <dl>
+ <dt>a{sv} : properties</dt>
+ <dd>A dictionary containing properties of added Station.</dd>
+ </dl>
+ </li>
+
+ <li>
+ <h3>StationRemoved ( o : Station )</h3>
+ <p>The station has been removed from the interface.</p>
+ <p>This signal complements StaDeauthorized, passing the Station object.</p>
+ <h4>Arguments</h4>
+ <dl>
+ <dt>o : Station</dt>
+ <dd>A D-Bus path to an object representing the Station.</dd>
+ </dl>
+ </li>
+
+ <li>
<h3>PropertiesChanged ( a{sv} : properties )</h3>
<p>Some properties have changed.</p>
<h4>Arguments</h4>