From fa0d99c4b2c200fa0a64d83651c8e1cd66801b13 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 31 Dec 2014 12:18:43 +0200 Subject: [PATCH] doc: Document the D-Bus P2P extensions P2P support was added to the wpa_supplicant D-Bus interface long time ago, but there has been no attempt of documenting that interface so far. This commit adds at least a list of new interfaces, methods, properties, and signals. Some of the incorrect and/or strange parts of the interface are also identified with bug/todo comments. Signed-off-by: Jouni Malinen --- doc/dbus.doxygen | 739 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 735 insertions(+), 4 deletions(-) diff --git a/doc/dbus.doxygen b/doc/dbus.doxygen index 1cce97657..a44d5f4f9 100644 --- a/doc/dbus.doxygen +++ b/doc/dbus.doxygen @@ -10,8 +10,12 @@ Interfaces: - \ref dbus_main - \ref dbus_interface - \ref dbus_wps +- \ref dbus_p2pdevice - \ref dbus_bss - \ref dbus_network +- \ref dbus_peer +- \ref dbus_group +- \ref dbus_persistent_group \section dbus_main fi.w1.wpa_supplicant1 @@ -129,6 +133,11 @@ registered in the bus with fi.w1.wpa_supplicant1 name.

Capabilities - as - (read)

An array with supported capabilities (e.g., "ap", "ibss-rsn", "p2p", "interworking").

+ +
  • +

    WFDIEs - ay - (read/write)

    +

    Wi-Fi Display subelements.

    +
  • \subsection dbus_main_signals Signals @@ -827,15 +836,14 @@ fi.w1.wpa_supplicant1.CreateInterface. \section dbus_wps fi.w1.wpa_supplicant1.Interface.WPS -Interface implemented by objects related to network interface added to -%wpa_supplicant, i.e., returned by fi.w1.wpa_supplicant1.CreateInterface. +Interface for performing WPS (Wi-Fi Simple Config) operations. \subsection dbus_wps_methods Methods +\section dbus_p2pdevice fi.w1.wpa_supplicant1.Interface.P2PDevice + +Interface for performing P2P (Wi-Fi Peer-to-Peer) P2P Device operations. + +\subsection dbus_p2pdevice_methods Methods + + + +\subsection dbus_p2pdevice_properties Properties + + + +\subsection dbus_p2pdevice_signals Signals + + + \section dbus_bss fi.w1.wpa_supplicant1.BSS Interface implemented by objects representing a scanned BSSs, i.e., @@ -1057,4 +1613,179 @@ i.e., returned by fi.w1.wpa_supplicant1.Interface.AddNetwork. +\section dbus_peer fi.w1.wpa_supplicant1.Peer + +Interface implemented by objects representing P2P peer devices. + +\subsection dbus_peer_properties Properties + + + +\subsection dbus_peer_signals Signals + + + +\section dbus_group fi.w1.wpa_supplicant1.Group + +Interface implemented by objects representing active P2P groups. + +\subsection dbus_group_properties Properties + + + +\subsection dbus_group_signals Signals + + + +\section dbus_persistent_group fi.w1.wpa_supplicant1.PersistentGroup + +Interface implemented by objects representing persistent P2P groups. + +\subsection dbus_persistent_group_properties Properties + + + */