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/ModemManager-compat.h | |
parent | 78266ac4895e34a02f4f66893d7ae867b38864b0 (diff) |
api: deprecate MM_MODEM_CAPABILITY_LTE_ADVANCED
It's not used anywhere.
Diffstat (limited to 'include/ModemManager-compat.h')
-rw-r--r-- | include/ModemManager-compat.h | 17 |
1 files changed, 17 insertions, 0 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_ */ |