diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-02 14:25:10 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-11-03 10:36:27 +0100 |
commit | dc000ec5b4b3b9c02cc03fc8f8b7f19d5d1e3c76 (patch) | |
tree | e61e370a4ce3c767eaf5dfb44cb66ff192cf7f38 /include | |
parent | f9343692e30e9fff7b85eaedb23796ccfeb9a5f0 (diff) |
api,enums: new APN type definitions
Mostly based on the Microsoft extensions for MBIM. They'll need to be
mapped to other protocols (e.g. QMI) somehow.
Diffstat (limited to 'include')
-rw-r--r-- | include/ModemManager-enums.h | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 13b78f76..a5dd4a9c 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -1561,6 +1561,12 @@ typedef enum { /*< underscore_name=mm_bearer_multiplex_support >*/ * @MM_BEARER_APN_TYPE_VOICE: APN providing access to voice-over-IP services. * @MM_BEARER_APN_TYPE_EMERGENCY: APN providing access to emergency services. * @MM_BEARER_APN_TYPE_PRIVATE: APN providing access to private networks. + * @MM_BEARER_APN_TYPE_PURCHASE: APN providing access to over-the-air activation sites. Since 1.20. + * @MM_BEARER_APN_TYPE_VIDEO_SHARE: APN providing access to video sharing service. Since 1.20. + * @MM_BEARER_APN_TYPE_LOCAL: APN providing access to a local connection with the device. Since 1.20. + * @MM_BEARER_APN_TYPE_APP: APN providing access to certain applications allowed by mobile operators. Since 1.20. + * @MM_BEARER_APN_TYPE_XCAP: APN providing access to XCAP provisioning on IMS services. Since 1.20. + * @MM_BEARER_APN_TYPE_TETHERING: APN providing access to mobile hotspot tethering. Since 1.20. * * Purpose of the APN used in a given Bearer. * @@ -1590,15 +1596,21 @@ typedef enum { /*< underscore_name=mm_bearer_multiplex_support >*/ * Since: 1.18 */ typedef enum { /*< underscore_name=mm_bearer_apn_type >*/ - MM_BEARER_APN_TYPE_NONE = 0, - MM_BEARER_APN_TYPE_INITIAL = 1 << 0, - MM_BEARER_APN_TYPE_DEFAULT = 1 << 1, - MM_BEARER_APN_TYPE_IMS = 1 << 2, - MM_BEARER_APN_TYPE_MMS = 1 << 3, - MM_BEARER_APN_TYPE_MANAGEMENT = 1 << 4, - MM_BEARER_APN_TYPE_VOICE = 1 << 5, - MM_BEARER_APN_TYPE_EMERGENCY = 1 << 6, - MM_BEARER_APN_TYPE_PRIVATE = 1 << 7, + MM_BEARER_APN_TYPE_NONE = 0, + MM_BEARER_APN_TYPE_INITIAL = 1 << 0, + MM_BEARER_APN_TYPE_DEFAULT = 1 << 1, + MM_BEARER_APN_TYPE_IMS = 1 << 2, + MM_BEARER_APN_TYPE_MMS = 1 << 3, + MM_BEARER_APN_TYPE_MANAGEMENT = 1 << 4, + MM_BEARER_APN_TYPE_VOICE = 1 << 5, + MM_BEARER_APN_TYPE_EMERGENCY = 1 << 6, + MM_BEARER_APN_TYPE_PRIVATE = 1 << 7, + MM_BEARER_APN_TYPE_PURCHASE = 1 << 8, + MM_BEARER_APN_TYPE_VIDEO_SHARE = 1 << 9, + MM_BEARER_APN_TYPE_LOCAL = 1 << 10, + MM_BEARER_APN_TYPE_APP = 1 << 11, + MM_BEARER_APN_TYPE_XCAP = 1 << 12, + MM_BEARER_APN_TYPE_TETHERING = 1 << 13, } MMBearerApnType; /** |