summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrzej Ostruszka <amo@semihalf.com>2022-12-01 16:43:44 +0100
committerJouni Malinen <j@w1.fi>2022-12-02 12:55:45 +0200
commit1897abad942829dc0e55c5f1f52e8b2d1919e034 (patch)
tree40d6490609843dfd20039df86db0aa15fb5a0b95 /doc
parent12d8b8a91e132d5f9df64b2f9bc77be797e2a561 (diff)
downloadhostap-1897abad942829dc0e55c5f1f52e8b2d1919e034.tar.gz
dbus: Add D-Bus property for current MAC address
Since wpa_supplicant can change MAC address of the interface on its own (with randomization enabled) it makes sense to introduce MACAddress as a property of the interface and send notifications about its change. This allows other applications to just use D-Bus instead of both communicating over D-Bus with wpa_supplicant and listening to Netlink notifications for MAC changes. Signed-off-by: Andrzej Ostruszka <amo@semihalf.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/dbus.doxygen4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/dbus.doxygen b/doc/dbus.doxygen
index 504db7540..e4819d134 100644
--- a/doc/dbus.doxygen
+++ b/doc/dbus.doxygen
@@ -1095,6 +1095,10 @@ fi.w1.wpa_supplicant1.CreateInterface.
<p>Masks to show which bits not to randomize with MAC address randomization. Possible keys are "scan", "sched_scan", and "pno". Values must be an array of 6 bytes.</p>
<p>When this property is set, the new dictionary replaces the old value, rather than merging them together. Leaving a key out of the dictionary will turn off MAC address randomization for that scan type.</p>
</li>
+
+ <li>
+ <h3>MACAddress - ay - (read)</h3>
+ <p>MAC address of the interface</p>
</ul>
\subsection dbus_interface_signals Signals