summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-01-24 15:31:48 +0100
committerLubomir Rintel <lkundrak@v3.sk>2019-07-29 10:28:22 +0200
commit2ae515fffb0785b6bfdbb3e38256d6706affdf19 (patch)
tree0ee4da0317dd0e893596d2e4686f894c77cb6e6b
parent867c07e0623299b8370783bf3a913caf29cae1da (diff)
downloadNetworkManager-2ae515fffb0785b6bfdbb3e38256d6706affdf19.tar.gz
dbus-interface: add Mesh support
Add flags that indicate Mesh support and Mesh mode on a device.
-rw-r--r--libnm-core/nm-dbus-interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h
index 35496e82c2..7949fa2d76 100644
--- a/libnm-core/nm-dbus-interface.h
+++ b/libnm-core/nm-dbus-interface.h
@@ -292,6 +292,7 @@ typedef enum { /*< flags >*/
* @NM_WIFI_DEVICE_CAP_FREQ_VALID: device reports frequency capabilities
* @NM_WIFI_DEVICE_CAP_FREQ_2GHZ: device supports 2.4GHz frequencies
* @NM_WIFI_DEVICE_CAP_FREQ_5GHZ: device supports 5GHz frequencies
+ * @NM_WIFI_DEVICE_CAP_MESH: device supports acting as a mesh point
*
* 802.11 specific device encryption and authentication capabilities.
**/
@@ -308,6 +309,7 @@ typedef enum { /*< flags >*/
NM_WIFI_DEVICE_CAP_FREQ_VALID = 0x00000100,
NM_WIFI_DEVICE_CAP_FREQ_2GHZ = 0x00000200,
NM_WIFI_DEVICE_CAP_FREQ_5GHZ = 0x00000400,
+ NM_WIFI_DEVICE_CAP_MESH = 0x00001000,
} NMDeviceWifiCapabilities;
/**
@@ -383,6 +385,7 @@ typedef enum { /*< underscore_name=nm_802_11_ap_security_flags, flags >*/
* provides connectivity to clients.
* @NM_802_11_MODE_AP: the device is an access point/hotspot. Not valid for
* access point objects; used only for hotspot mode on the local machine.
+ * @NM_802_11_MODE_MESH: the device is a 802.11s mesh point.
*
* Indicates the 802.11 mode an access point or device is currently in.
**/
@@ -391,6 +394,7 @@ typedef enum { /*< underscore_name=nm_802_11_mode >*/
NM_802_11_MODE_ADHOC = 1,
NM_802_11_MODE_INFRA = 2,
NM_802_11_MODE_AP = 3,
+ NM_802_11_MODE_MESH = 4,
} NM80211Mode;
/**