NetworkManager/introspection/nm-device-802-11-wireless.xml
Dan Williams 1e1c99afba 2008-04-15 Dan Williams <dcbw@redhat.com>
Remove exposure of wireless-tools mode types in the API.

	* include/NetworkManager.h
		- Define NM80211Mode enum

	* introspection/generic-types.xml
		- Describe NM_802_11_MODE enum
		- Remove IW_MODE_* enum

	* introspection/nm-access-point.xml
	  libnm-glib/nm-access-point.c
	  libnm-glib/nm-access-point.h
		- 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT

	* introspection/nm-device-802-11-wireless.xml
	  libnm-glib/nm-device-802-11-wireless.c
	  libnm-glib/nm-device-802-11-wireless.h
		- 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT

	* libnm-util/nm-setting-wireless.c
	  src/NetworkManagerAP.c
	  src/NetworkManagerAP.h
	  src/nm-device-802-11-wireless.c
	  src/nm-device-802-11-wireless.h
	  test/nm-tool.c
		- Use NM80211Mode not IW_MODE_*



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3562 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-15 20:39:34 +00:00

104 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.NetworkManager.Device.Wireless">
<method name="GetAccessPoints">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_get_access_points"/>
<arg name="access_points" type="ao" direction="out">
<tp:docstring>
List of access point object paths
</tp:docstring>
</arg>
<tp:docstring>
Get the list of access points visible to this device.
</tp:docstring>
</method>
<property name="HwAddress" type="s" access="read">
<tp:docstring>
The hardware address of the device.
</tp:docstring>
</property>
<property name="Mode" type="u" access="read" tp:type="NM_802_11_MODE">
<tp:docstring>
The operating mode of the wireless device.
</tp:docstring>
</property>
<property name="Bitrate" type="u" access="read">
<tp:docstring>
The bit rate currently used by the wireless device, in kilobits/second (Kb/s).
</tp:docstring>
</property>
<property name="ActiveAccessPoint" type="o" access="read">
<tp:docstring>
Object path of the access point currently used by the wireless device.
</tp:docstring>
</property>
<property name="WirelessCapabilities" type="u" access="read" tp:type="NM_802_11_DEVICE_CAP">
<tp:docstring>
The capabilities of the wireless device.
</tp:docstring>
</property>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary containing the FIXME: check changed parameters.
</tp:docstring>
</arg>
<tp:docstring>
Emitted when the wireless device's properties changed.
</tp:docstring>
</signal>
<signal name="AccessPointAdded">
<arg name="access_point" type="o">
<tp:docstring>
The object path of the newly found access point.
</tp:docstring>
</arg>
<tp:docstring>
Emitted when a new access point is found by the device.
</tp:docstring>
</signal>
<signal name="AccessPointRemoved">
<arg name="access_point" type="o">
<tp:docstring>
The object path of the access point that has disappeared.
</tp:docstring>
</arg>
<tp:docstring>
Emitted when an access point disappears from view of the device.
</tp:docstring>
</signal>
<tp:flags name="NM_802_11_DEVICE_CAP" type="u">
<tp:docstring>
Flags describing the capabilities of a wireless device.
</tp:docstring>
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null capability - syntactic sugar for no capabilities supported. Do not AND this with other capabilities!</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_WEP40" value="0x1">
<tp:docstring>The device supports the 40-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_WEP104" value="0x2">
<tp:docstring>The device supports the 104-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_TKIP" value="0x4">
<tp:docstring>The device supports the TKIP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="CIPHER_CCMP" value="0x8">
<tp:docstring>The device supports the CCMP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="WPA" value="0x10">
<tp:docstring>The device supports the WPA encryption/authentication protocol.</tp:docstring>
</tp:flag>
<tp:flag suffix="RSN" value="0x20">
<tp:docstring>The device supports the RSN encryption/authentication protocol.</tp:docstring>
</tp:flag>
</tp:flags>
</interface>
</node>