about summary refs log tree commit diff
path: root/src/libnm-core-public/nm-dbus-interface.h
diff options
context:
space:
mode:
authorJeremy Bicha <jeremy.bicha@canonical.com>2022-02-22 16:46:07 -0500
committerJeremy Bicha <jeremy.bicha@canonical.com>2022-02-22 16:46:07 -0500
commit297ac7f51b68aaa0e281336e6c6154bb2c913580 (patch)
treeff98cec3cc8eeb03b58cfeae184f2da4bfa6c93f /src/libnm-core-public/nm-dbus-interface.h
parentc713c9f47084b639644c0b9a8bb04faa3ccd21e3 (diff)
parent7d8baf4ac0480a542f000c1201df85427a22332c (diff)
Update to upstream version '1.35.90
Diffstat (limited to 'src/libnm-core-public/nm-dbus-interface.h')
-rw-r--r--src/libnm-core-public/nm-dbus-interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libnm-core-public/nm-dbus-interface.h b/src/libnm-core-public/nm-dbus-interface.h
index 7fd228ca..fe2a6c09 100644
--- a/src/libnm-core-public/nm-dbus-interface.h
+++ b/src/libnm-core-public/nm-dbus-interface.h
@@ -428,6 +428,7 @@ typedef enum { /*< flags >*/
  * @NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS: modem supports at least one of GSM,
  * GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability
  * @NM_DEVICE_MODEM_CAPABILITY_LTE: modem has LTE data capability
+ * @NM_DEVICE_MODEM_CAPABILITY_5GNR: modem has 5GNR data capability (Since: 1.36)
  *
  * #NMDeviceModemCapabilities values indicate the generic radio access
  * technology families a modem device supports.  For more information on the
@@ -440,7 +441,10 @@ typedef enum { /*< flags >*/
                NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO = 0x00000002,
                NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS  = 0x00000004,
                NM_DEVICE_MODEM_CAPABILITY_LTE       = 0x00000008,
+               NM_DEVICE_MODEM_CAPABILITY_5GNR      = 0x00000040,
 } NMDeviceModemCapabilities;
+/* Note: the numeric values of NMDeviceModemCapabilities must be identical to the values
+ * in MMModemCapability. See the G_STATIC_ASSERT() in nm-modem-broadband.c's get_capabilities().  */
 
 /**
  * NMWimaxNspNetworkType: