NetworkManager/introspection/nm-access-point.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

92 lines
4.4 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.AccessPoint">
<property name="Flags" type="u" access="read" tp:type="NM_802_11_AP_FLAGS">
<tp:docstring>Flags describing the capabilities of the access point.</tp:docstring>
</property>
<property name="WpaFlags" type="u" access="read" tp:type="NM_802_11_AP_SEC">
<tp:docstring>Flags describing the access point's capabilities according to WPA (Wifi Protected Access).</tp:docstring>
</property>
<property name="RsnFlags" type="u" access="read" tp:type="NM_802_11_AP_SEC">
<tp:docstring>Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol.</tp:docstring>
</property>
<property name="Ssid" type="ay" access="read">
<tp:docstring>The Service Set Identifier identifying the access point.</tp:docstring>
</property>
<property name="Frequency" type="u" access="read">
<tp:docstring>The radio channel frequency in use by the access point, in MHz.</tp:docstring>
</property>
<property name="HwAddress" type="s" access="read">
<tp:docstring>The hardware address of the access point.</tp:docstring>
</property>
<property name="Mode" type="u" access="read" tp:type="NM_802_11_MODE">
<tp:docstring>Describes the operating mode of the access point.</tp:docstring>
</property>
<property name="MaxBitrate" type="u" access="read">
<tp:docstring>The maximum bitrate this access point is capable of, in kilobits/second (Kb/s).</tp:docstring>
</property>
<property name="Strength" type="y" access="read">
<tp:docstring>The current signal strength received from this access point.</tp:docstring>
</property>
<signal name="PropertiesChanged">
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
<tp:docstring>
A dictionary mapping property names to variant boxed values
</tp:docstring>
</arg>
</signal>
<tp:flags name="NM_802_11_AP_FLAGS" value-prefix="NM_802_11_AP_FLAGS" type="u">
<tp:docstring>
Flags describing the general capabilities of the access point.
</tp:docstring>
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null capability - says nothing about the access point.</tp:docstring>
</tp:flag>
<tp:flag suffix="PRIVACY" value="0x1">
<tp:docstring>Access point supports privacy measures.</tp:docstring>
</tp:flag>
</tp:flags>
<tp:flags name="NM_802_11_AP_SEC" value-prefix="NM_802_11_AP_SEC" type="u">
<tp:docstring>
Flags describing the security capabilities of the access point.
</tp:docstring>
<tp:flag suffix="NONE" value="0x0">
<tp:docstring>Null flag.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_WEP40" value="0x1">
<tp:docstring>Access point supports pairwise 40-bit WEP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_WEP104" value="0x2">
<tp:docstring>Access point supports pairwise 104-bit WEP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_TKIP" value="0x4">
<tp:docstring>Access point supports pairwise TKIP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="PAIR_CCMP" value="0x8">
<tp:docstring>Access point supports pairwise CCMP encryption.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_WEP40" value="0x10">
<tp:docstring>Access point supports a group 40-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_WEP104" value="0x20">
<tp:docstring>Access point supports a group 104-bit WEP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_TKIP" value="0x40">
<tp:docstring>Access point supports a group TKIP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="GROUP_CCMP" value="0x80">
<tp:docstring>Access point supports a group CCMP cypher.</tp:docstring>
</tp:flag>
<tp:flag suffix="KEY_MGMT_PSK" value="0x100">
<tp:docstring>Access point supports PSK key management.</tp:docstring>
</tp:flag>
<tp:flag suffix="KEY_MGMT_802_1X" value="0x200">
<tp:docstring>Access point supports 802.1x key management.</tp:docstring>
</tp:flag>
</tp:flags>
</interface>
</node>