api: new 5GNR capability

This commit is contained in:
Aleksander Morgado
2020-04-09 12:38:50 +00:00
parent bf771be7fa
commit 7354dc928f
5 changed files with 22 additions and 9 deletions
+3 -1
View File
@@ -37,6 +37,7 @@
* @MM_MODEM_CAPABILITY_GSM_UMTS: Modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability.
* @MM_MODEM_CAPABILITY_LTE: Modem has LTE data capability.
* @MM_MODEM_CAPABILITY_IRIDIUM: Modem has Iridium capabilities.
* @MM_MODEM_CAPABILITY_5GNR: Modem has 5GNR capabilities. Since 1.14.
* @MM_MODEM_CAPABILITY_ANY: Mask specifying all capabilities.
*
* Flags describing one or more of the general access technology families that a
@@ -50,8 +51,9 @@ typedef enum { /*< underscore_name=mm_modem_capability >*/
MM_MODEM_CAPABILITY_CDMA_EVDO = 1 << 1,
MM_MODEM_CAPABILITY_GSM_UMTS = 1 << 2,
MM_MODEM_CAPABILITY_LTE = 1 << 3,
/* MM_MODEM_CAPABILITY_LTE_ADVANCED = 1 << 4 */
/* MM_MODEM_CAPABILITY_LTE_ADVANCED deprecated */
MM_MODEM_CAPABILITY_IRIDIUM = 1 << 5,
MM_MODEM_CAPABILITY_5GNR = 1 << 6,
MM_MODEM_CAPABILITY_ANY = 0xFFFFFFFF
} MMModemCapability;