summaryrefslogtreecommitdiff
path: root/introspection/nm-device-wifi.xml
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-03-18 21:56:51 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2015-04-08 10:48:38 +0200
commitaabc6fc57b252604b52648b819dd937aabba7805 (patch)
treeaf81cc5750cc650b1be9e12ea68af99b779134e8 /introspection/nm-device-wifi.xml
parentd78f4614a0e24b677c4672e2034810cda395427c (diff)
downloadNetworkManager-aabc6fc57b252604b52648b819dd937aabba7805.tar.gz
wifi: indicate 2ghz and 5ghz wifi device capabilities
Add new capabilities CAP_FREQ_2GHZ and CAP_FREQ_5GHZ to indicate the frequency bands supported by a Wifi device. Add also CAP_FREQ_VALID, which is set when the values of the other 2 capabilities are available. Original patch by Dan Williams <dcbw@redhat.com> https://bugzilla.gnome.org/show_bug.cgi?id=723295
Diffstat (limited to 'introspection/nm-device-wifi.xml')
-rw-r--r--introspection/nm-device-wifi.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/introspection/nm-device-wifi.xml b/introspection/nm-device-wifi.xml
index 7d4d73c9db..d1c5313ed4 100644
--- a/introspection/nm-device-wifi.xml
+++ b/introspection/nm-device-wifi.xml
@@ -151,6 +151,23 @@
<tp:flag suffix="ADHOC" value="0x80">
<tp:docstring>The device supports Ad-Hoc mode.</tp:docstring>
</tp:flag>
+ <tp:flag suffix="FREQ_VALID" value="0x100">
+ <tp:docstring>
+ The device properly reports information about supported
+ frequencies and thus both NM_802_11_DEVICE_CAP_FREQ_2GHZ and
+ NM_802_11_DEVICE_CAP_FREQ_5GHZ are valid.
+ </tp:docstring>
+ </tp:flag>
+ <tp:flag suffix="FREQ_2GHZ" value="0x200">
+ <tp:docstring>
+ The device supports 2.4GHz frequencies.
+ </tp:docstring>
+ </tp:flag>
+ <tp:flag suffix="FREQ_5GHZ" value="0x400">
+ <tp:docstring>
+ The device supports 5GHz frequencies.
+ </tp:docstring>
+ </tp:flag>
</tp:flags>
</interface>
</node>