D-Bus: Emit signal when a station is authorized or deauthorized

Add "StaAuthorized" and "StaDeauthorized" D-Bus interface in AP mode.
After enabling the AP mode of wpa_supplicant, the other process need to
get the MAC address and authorization status of every station, so
wpa_supplicant emits signal when the station is authorized or
deauthorized.

Signed-hostap: Chengyi Zhao <chengyix.zhao@gmail.com>
This commit is contained in:
Chengyi Zhao 2013-06-22 12:09:09 +03:00 committed by Jouni Malinen
parent 9578329874
commit 8a901d750b
4 changed files with 124 additions and 0 deletions

View file

@ -532,6 +532,26 @@ fi.w1.wpa_supplicant1.CreateInterface.
</dl>
</li>
<li>
<h3>StaAuthorized ( s : mac )</h3>
<p>A new station has been authorized to the interface.</p>
<h4>Arguments</h4>
<dl>
<dt>s : mac</dt>
<dd>A mac address which has been authorized.</dd>
</dl>
</li>
<li>
<h3>StaDeauthorized ( s : mac )</h3>
<p>A station has been deauthorized to the interface.</p>
<h4>Arguments</h4>
<dl>
<dt>s : mac</dt>
<dd>A mac address which has been deauthorized.</dd>
</dl>
</li>
<li>
<h3>PropertiesChanged ( a{sv} : properties )</h3>
<p>Some properties have changed.</p>