diff options
author | haohuang <haohuang@codeaurora.org> | 2019-08-15 22:09:11 +0800 |
---|---|---|
committer | haohuang <haohuang@codeaurora.org> | 2019-08-20 21:38:51 +0800 |
commit | 39e34de194c0b1d4dc23e5eed05a63ad3b791393 (patch) | |
tree | 45f85ecba60d48f723b9ad7d3da7546bbe077324 /utils | |
parent | e549c9be3b4719dfa2aa5fbc64684c2b358e4213 (diff) | |
download | gps-39e34de194c0b1d4dc23e5eed05a63ad3b791393.tar.gz |
AgpsManager supports two clients
AgpsManager supports two clients, QCOM AGPS
Stack is to handle ATL type WWAN, AFW AGPS
stack is used to handle ATL type SUPL and
SUPL emergency.
Change-Id: Id43c4919a1ae67d739e055c7fb5ba3abacc70b34
CRs-Fixed: 2509244
Diffstat (limited to 'utils')
-rw-r--r-- | utils/gps_extended_c.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index e49b088..2036032 100644 --- a/utils/gps_extended_c.h +++ b/utils/gps_extended_c.h @@ -194,15 +194,14 @@ typedef uint32_t LocApnTypeMask; /**< Denotes APN type for emergency */ #define LOC_APN_TYPE_MASK_EMERGENCY ((LocApnTypeMask)0x00000200) -typedef enum { - AGPS_CB_PRIORITY_LOW = 1, - AGPS_CB_PRIORITY_MED = 2, - AGPS_CB_PRIORITY_HIGH = 3 -} AgpsCbPriority; +typedef uint32_t AGpsTypeMask; +#define AGPS_ATL_TYPE_SUPL ((AGpsTypeMask)0x00000001) +#define AGPS_ATL_TYPE_SUPL_ES ((AGpsTypeMask)0x00000002) +#define AGPS_ATL_TYPE_WWAN ((AGpsTypeMask)0x00000004) typedef struct { void* statusV4Cb; - AgpsCbPriority cbPriority; + AGpsTypeMask atlType; } AgpsCbInfo; typedef struct { |