diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-03-23 06:34:53 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-04-09 12:38:49 +0000 |
commit | 0cd76bf1c411707b6ba1c4222d791e2115ef6840 (patch) | |
tree | f3b089dbd86be8ec3f5f0ff4c38a918ac75a29ff /include | |
parent | 78266ac4895e34a02f4f66893d7ae867b38864b0 (diff) |
api: deprecate MM_MODEM_CAPABILITY_LTE_ADVANCED
It's not used anywhere.
Diffstat (limited to 'include')
-rw-r--r-- | include/ModemManager-compat.h | 17 | ||||
-rw-r--r-- | include/ModemManager-enums.h | 3 |
2 files changed, 18 insertions, 2 deletions
diff --git a/include/ModemManager-compat.h b/include/ModemManager-compat.h index e1458400..5aaaddf9 100644 --- a/include/ModemManager-compat.h +++ b/include/ModemManager-compat.h @@ -709,6 +709,23 @@ typedef int MMModemLocationSourceDeprecated; */ #define MM_MODEM_LOCATION_SOURCE_AGPS ((MMModemLocationSourceDeprecated)MM_MODEM_LOCATION_SOURCE_AGPS_MSA) +/* The following type exists just so that we can get deprecation warnings */ +MM_DEPRECATED +typedef int MMModemCapabilityDeprecated; + +/** + * MM_MODEM_CAPABILITY_LTE_ADVANCED: + * + * Modem has LTE Advanced data capability. + * + * This value is deprecated because it is not used anywhere. LTE Advanced + * capable devices are reported as LTE capable. + * + * Since: 1.0 + * Deprecated: 1.14.0. + */ +#define MM_MODEM_CAPABILITY_LTE_ADVANCED ((MMModemCapabilityDeprecated)(1 << 4)) + #endif /* MM_DISABLE_DEPRECATED */ #endif /* _MODEMMANAGER_COMPAT_H_ */ diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index bf068bdc..6d99aa50 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -36,7 +36,6 @@ * @MM_MODEM_CAPABILITY_CDMA_EVDO: Modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO revision A, or EVDO revision B. * @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_LTE_ADVANCED: Modem has LTE Advanced data capability. * @MM_MODEM_CAPABILITY_IRIDIUM: Modem has Iridium capabilities. * @MM_MODEM_CAPABILITY_ANY: Mask specifying all capabilities. * @@ -51,7 +50,7 @@ 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 = 1 << 4 */ MM_MODEM_CAPABILITY_IRIDIUM = 1 << 5, MM_MODEM_CAPABILITY_ANY = 0xFFFFFFFF } MMModemCapability; |