diff options
author | Saurabh Srivastava <ssrivast@codeaurora.org> | 2018-05-18 00:05:32 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-29 04:28:47 -0700 |
commit | d462c0add34dacbdfe3e5e90c5aaeea7e5dc6952 (patch) | |
tree | 4ac09c8ec40f48076cf15031800313d85c3cd954 /utils/gps_extended_c.h | |
parent | 365919e004080bcce98968ddffcd61b2bc078a53 (diff) | |
download | gps-d462c0add34dacbdfe3e5e90c5aaeea7e5dc6952.tar.gz |
FR 46082 - SUPL Network Setup Improvements
Adding enhancement to ATL messages to allow
sending bearer type and apn type mask values.
CRs-Fixed: 2209227
Change-Id: I09a294946610f26de4760a0fba6f13083f8752f3
Diffstat (limited to 'utils/gps_extended_c.h')
-rw-r--r-- | utils/gps_extended_c.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index 21eb5d5..6028668 100644 --- a/utils/gps_extended_c.h +++ b/utils/gps_extended_c.h @@ -158,6 +158,18 @@ typedef int16_t AGpsBearerType; #define AGPS_APN_BEARER_IPV6 2 #define AGPS_APN_BEARER_IPV4V6 3 +typedef uint64_t LocApnTypeMask; +#define LOC_APN_TYPE_MASK_DEFAULT ((LocApnTypeMask)0x0000000000000001ull) /**< Denotes APN type for Default/Internet traffic */ +#define LOC_APN_TYPE_MASK_IMS ((LocApnTypeMask)0x0000000000000002ull) /**< Denotes APN type for IP Multimedia Subsystem */ +#define LOC_APN_TYPE_MASK_MMS ((LocApnTypeMask)0x0000000000000004ull) /**< Denotes APN type for Multimedia Messaging Service */ +#define LOC_APN_TYPE_MASK_DUN ((LocApnTypeMask)0x0000000000000008ull) /**< Denotes APN type for Dial Up Network */ +#define LOC_APN_TYPE_MASK_SUPL ((LocApnTypeMask)0x0000000000000010ull) /**< Denotes APN type for Secure User Plane Location */ +#define LOC_APN_TYPE_MASK_HIPRI ((LocApnTypeMask)0x0000000000000020ull) /**< Denotes APN type for High Priority Mobile Data */ +#define LOC_APN_TYPE_MASK_FOTA ((LocApnTypeMask)0x0000000000000040ull) /**< Denotes APN type for over the air administration */ +#define LOC_APN_TYPE_MASK_CBS ((LocApnTypeMask)0x0000000000000080ull) /**< Denotes APN type for Carrier Branded Services */ +#define LOC_APN_TYPE_MASK_IA ((LocApnTypeMask)0x0000000000000100ull) /**< Denotes APN type for Initial Attach */ +#define LOC_APN_TYPE_MASK_EMERGENCY ((LocApnTypeMask)0x0000000000000200ull) /**< Denotes APN type for emergency */ + typedef enum { AGPS_CB_PRIORITY_LOW = 1, AGPS_CB_PRIORITY_MED = 2, |