summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-07-23 21:24:37 (GMT)
committercodeworkx <codeworkx@cyanogenmod.org>2013-07-23 21:24:37 (GMT)
commit433b5f796388eea81300dc1556df13eb877ef982 (patch)
tree3757c935794b9e162375dcaa2cdee838472a74a3
parent8661616a084bbc18892e0afb07517b27e1cd9f68 (diff)
downloaddevice_samsung_smdk4412-qcom-common-433b5f796388eea81300dc1556df13eb877ef982.zip
device_samsung_smdk4412-qcom-common-433b5f796388eea81300dc1556df13eb877ef982.tar.gz
device_samsung_smdk4412-qcom-common-433b5f796388eea81300dc1556df13eb877ef982.tar.bz2
exynos4412: qcom gps: use psc
Change-Id: I4c264ecddbefb6c76384263393d04fe53e5919c8
-rw-r--r--include/hardware/gps.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/hardware/gps.h b/include/hardware/gps.h
index 9e70070..92eba51 100644
--- a/include/hardware/gps.h
+++ b/include/hardware/gps.h
@@ -278,6 +278,12 @@ typedef uint16_t AGpsStatusValue;
* Name for the AGPS-RIL interface.
*/
#define AGPS_RIL_INTERFACE "agps_ril"
+
+/**
+ * The GPS chipset can use Psc for AGPS.
+ */
+#define AGPS_USE_PSC
+
/**
* Name for ULP Phone Context Interface
*/
@@ -471,9 +477,8 @@ typedef struct {
uint16_t mcc;
uint16_t mnc;
uint16_t lac;
-#if 1
- /** Placeholder for Samsung ABI compat */
- uint16_t unknown;
+#ifdef AGPS_USE_PSC
+ uint16_t psc;
#endif
uint32_t cid;
} AGpsRefLocationCellID;