about summary refs log tree commit diff
path: root/introspection
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2019-03-12 15:16:42 +0100
committerSebastien Bacher <seb128@ubuntu.com>2019-03-12 15:16:42 +0100
commitcc4ab276f923ded9f415c1c2bf192994367ab0bb (patch)
treeac3a7775665992b27d07eb44186d38ff961a8cd7 /introspection
parentbb1cf58350bb34463e9ffc5f96ac4f9b6bf46d28 (diff)
parentdd428301eb6f02542015121d7b08d9997f137e50 (diff)
Update upstream source from tag 'upstream/1.15.91'
Update to upstream version '1.15.91'
with Debian dir 74de38245314cab529c6c94cd9d0b874ce0c2994
Diffstat (limited to 'introspection')
-rw-r--r--introspection/meson.build18
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml79
-rw-r--r--introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml97
3 files changed, 186 insertions, 8 deletions
diff --git a/introspection/meson.build b/introspection/meson.build
index ef2ad9c1..e442ac85 100644
--- a/introspection/meson.build
+++ b/introspection/meson.build
@@ -3,26 +3,30 @@ ifaces_secret_agent_xml = files('org.freedesktop.NetworkManager.SecretAgent.xml'
 ifaces_vpn_plugin_xml = files('org.freedesktop.NetworkManager.VPN.Plugin.xml')
 
 ifaces = [
+  'org.freedesktop.NetworkManager',
   'org.freedesktop.NetworkManager.AccessPoint',
   'org.freedesktop.NetworkManager.AgentManager',
   'org.freedesktop.NetworkManager.Checkpoint',
   'org.freedesktop.NetworkManager.Connection.Active',
+  'org.freedesktop.NetworkManager.DHCP4Config',
+  'org.freedesktop.NetworkManager.DHCP6Config',
+  'org.freedesktop.NetworkManager.Device',
   'org.freedesktop.NetworkManager.Device.Adsl',
   'org.freedesktop.NetworkManager.Device.Bluetooth',
   'org.freedesktop.NetworkManager.Device.Bond',
   'org.freedesktop.NetworkManager.Device.Bridge',
   'org.freedesktop.NetworkManager.Device.Dummy',
   'org.freedesktop.NetworkManager.Device.Generic',
-  'org.freedesktop.NetworkManager.Device.Infiniband',
   'org.freedesktop.NetworkManager.Device.IPTunnel',
+  'org.freedesktop.NetworkManager.Device.Infiniband',
   'org.freedesktop.NetworkManager.Device.Lowpan',
   'org.freedesktop.NetworkManager.Device.Macsec',
   'org.freedesktop.NetworkManager.Device.Macvlan',
   'org.freedesktop.NetworkManager.Device.Modem',
   'org.freedesktop.NetworkManager.Device.OlpcMesh',
+  'org.freedesktop.NetworkManager.Device.OvsBridge',
   'org.freedesktop.NetworkManager.Device.OvsInterface',
   'org.freedesktop.NetworkManager.Device.OvsPort',
-  'org.freedesktop.NetworkManager.Device.OvsBridge',
   'org.freedesktop.NetworkManager.Device.Ppp',
   'org.freedesktop.NetworkManager.Device.Statistics',
   'org.freedesktop.NetworkManager.Device.Team',
@@ -31,24 +35,22 @@ ifaces = [
   'org.freedesktop.NetworkManager.Device.Vlan',
   'org.freedesktop.NetworkManager.Device.Vxlan',
   'org.freedesktop.NetworkManager.Device.WiMax',
-  'org.freedesktop.NetworkManager.Device.Wpan',
+  'org.freedesktop.NetworkManager.Device.WifiP2P',
   'org.freedesktop.NetworkManager.Device.WireGuard',
   'org.freedesktop.NetworkManager.Device.Wired',
   'org.freedesktop.NetworkManager.Device.Wireless',
-  'org.freedesktop.NetworkManager.Device',
-  'org.freedesktop.NetworkManager.DHCP4Config',
-  'org.freedesktop.NetworkManager.DHCP6Config',
+  'org.freedesktop.NetworkManager.Device.Wpan',
   'org.freedesktop.NetworkManager.DnsManager',
   'org.freedesktop.NetworkManager.IP4Config',
   'org.freedesktop.NetworkManager.IP6Config',
-  'org.freedesktop.NetworkManager',
   'org.freedesktop.NetworkManager.PPP',
   'org.freedesktop.NetworkManager.SecretAgent',
-  'org.freedesktop.NetworkManager.Settings.Connection',
   'org.freedesktop.NetworkManager.Settings',
+  'org.freedesktop.NetworkManager.Settings.Connection',
   'org.freedesktop.NetworkManager.VPN.Connection',
   'org.freedesktop.NetworkManager.VPN.Plugin',
   'org.freedesktop.NetworkManager.WiMax.Nsp',
+  'org.freedesktop.NetworkManager.WifiP2PPeer',
 ]
 
 ifaces_xmls = []
diff --git a/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml
new file mode 100644
index 00000000..40e6fdbb
--- /dev/null
+++ b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+  <!--
+      org.freedesktop.NetworkManager.Device.WifiP2P:
+      @short_description: Wi-Fi P2P Device
+
+      Since: 1.16
+  -->
+  <interface name="org.freedesktop.NetworkManager.Device.WifiP2P">
+    <annotation name="org.gtk.GDBus.C.Name" value="Device_Wifi_P2P"/>
+
+    <!--
+        HwAddress:
+
+        The active hardware address of the device.
+
+        Since: 1.16
+    -->
+    <property name="HwAddress" type="s" access="read"/>
+
+    <!--
+        Peers:
+
+        List of object paths of peers visible to this Wi-Fi P2P device.
+
+        Since: 1.16
+    -->
+    <property name="Peers" type="ao" access="read"/>
+
+    <!--
+        StartFind:
+        @options: Options of find. Currently 'timeout' option with value of "i"
+                  in the range of 1-600 seconds is supported. The default is
+                  30 seconds.
+
+        Start a find operation for Wi-Fi P2P peers.
+
+        Since: 1.16
+    -->
+    <method name="StartFind">
+      <arg name="options" type="a{sv}" direction="in"/>
+    </method>
+
+    <!--
+        StopFind:
+
+        Stop an ongoing find operation again.
+
+        Since: 1.16
+    -->
+    <method name="StopFind">
+    </method>
+
+    <!--
+        PeerAdded:
+        @peer: The object path of the newly found access point.
+
+        Emitted when a new Wi-Fi P2P peer is found by the device.
+
+        Since: 1.16
+    -->
+    <signal name="PeerAdded">
+      <arg name="peer" type="o"/>
+    </signal>
+
+    <!--
+        PeerRemoved:
+        @peer: The object path of the Wi-Fi P2P peer that has disappeared.
+
+        Emitted when a Wi-Fi P2P peer disappears from view of the device.
+
+        Since: 1.16
+    -->
+    <signal name="PeerRemoved">
+      <arg name="peer" type="o"/>
+    </signal>
+
+  </interface>
+</node>
diff --git a/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml b/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml
new file mode 100644
index 00000000..9068f071
--- /dev/null
+++ b/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+  <!--
+      org.freedesktop.NetworkManager.WifiP2PPeer:
+      @short_description: Wi-Fi P2P Peer
+
+      Since: 1.16
+  -->
+  <interface name="org.freedesktop.NetworkManager.WifiP2PPeer">
+    <annotation name="org.gtk.GDBus.C.Name" value="Wifi_P2P_Peer"/>
+
+    <!--
+        Flags:
+
+        Flags describing the capabilities of the access point.
+
+        Returns: <link linkend="NM80211ApFlags">NM80211ApFlags</link>
+
+        Since: 1.16
+    -->
+    <property name="Flags" type="u" access="read"/>
+
+    <!--
+        Manufacturer:
+
+        The manufacturer of the Wi-Fi P2P peer.
+
+        Since: 1.16
+    -->
+    <property name="Manufacturer" type="s" access="read"/>
+
+    <!--
+        Model:
+
+        The model of the Wi-Fi P2P peer.
+
+        Since: 1.16
+    -->
+    <property name="Model" type="s" access="read"/>
+
+    <!--
+        ModelNumber:
+
+        The model number of the Wi-Fi P2P peer.
+
+        Since: 1.16
+    -->
+    <property name="ModelNumber" type="s" access="read"/>
+
+    <!--
+        Serial:
+
+        The serial number of the Wi-Fi P2P peer.
+
+        Since: 1.16
+    -->
+    <property name="Serial" type="s" access="read"/>
+
+    <!--
+        WfdIEs:
+
+        The Wi-Fi Display Information Elements of the Wi-Fi P2P peer.
+
+        Since: 1.16
+    -->
+    <property name="WfdIEs" type="ay" access="read"/>
+
+    <!--
+        HwAddress:
+
+        The hardware address (BSSID) of the access point.
+
+        Since: 1.16
+    -->
+    <property name="HwAddress" type="s" access="read"/>
+
+    <!--
+        Strength:
+
+        The current signal quality of the access point, in percent.
+
+        Since: 1.16
+    -->
+    <property name="Strength" type="y" access="read"/>
+
+    <!--
+        LastSeen:
+
+        The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access
+        point was found in scan results. A value of -1 means the access point has
+        never been found in scan results.
+
+        Since: 1.16
+    -->
+    <property name="LastSeen" type="i" access="read"/>
+  </interface>
+</node>