summaryrefslogtreecommitdiff
path: root/utils/loc_gps.h
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2018-03-13 10:11:02 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-11 14:13:04 -0700
commit88688a85a365e716b369a7525dc810a66628b241 (patch)
tree9a3286f79f8e063a364873a4b10b65d1d15205ef /utils/loc_gps.h
parent17015dd790b13345c547709ef8b6144a3526d079 (diff)
downloadgps-88688a85a365e716b369a7525dc810a66628b241.tar.gz
SUPL connection enhancements
Adding enhancement to ATL messages to allow sending bearer type and apn type mask values. CRs-fixed: 2206014 Change-Id: I28f6583d842e82c9e26d40be55312f8aaf01193e
Diffstat (limited to 'utils/loc_gps.h')
-rw-r--r--utils/loc_gps.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/loc_gps.h b/utils/loc_gps.h
index aaeea23..95d0c21 100644
--- a/utils/loc_gps.h
+++ b/utils/loc_gps.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 The Android Open Source Project
+ * Copyright (C) 2010, 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -156,8 +156,12 @@ typedef uint16_t LocGpsAidingData;
/** AGPS type */
typedef uint16_t LocAGpsType;
+#define LOC_AGPS_TYPE_ANY 0
#define LOC_AGPS_TYPE_SUPL 1
#define LOC_AGPS_TYPE_C2K 2
+#define LOC_AGPS_TYPE_WWAN_ANY 3
+#define LOC_AGPS_TYPE_WIFI 4
+#define LOC_AGPS_TYPE_SUPL_ES 5
typedef uint16_t LocAGpsSetIDType;
#define LOC_AGPS_SETID_TYPE_NONE 0