summaryrefslogtreecommitdiffstats
path: root/include/hardware
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-07-23 23:20:45 +0200
committercodeworkx <codeworkx@cyanogenmod.org>2013-07-23 23:20:45 +0200
commit74a8bde27c0f2246372f1f8b5f7b67037c1c6b5d (patch)
treeb99d9533a8a9633a4d8f045984b74596a1e522f4 /include/hardware
parent09b00a27cd42b4ee2d550ca303575086a2be1f94 (diff)
downloaddevice_samsung_omap4-common-74a8bde27c0f2246372f1f8b5f7b67037c1c6b5d.zip
device_samsung_omap4-common-74a8bde27c0f2246372f1f8b5f7b67037c1c6b5d.tar.gz
device_samsung_omap4-common-74a8bde27c0f2246372f1f8b5f7b67037c1c6b5d.tar.bz2
samsung: omap4: gps: use psc
Change-Id: I7a7b6440a2551d915120d40c245752d529d15b2d
Diffstat (limited to 'include/hardware')
-rw-r--r--include/hardware/gps.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/hardware/gps.h b/include/hardware/gps.h
index f6c1452..4f91ffb 100644
--- a/include/hardware/gps.h
+++ b/include/hardware/gps.h
@@ -228,6 +228,11 @@ typedef uint16_t AGpsStatusValue;
*/
#define AGPS_RIL_INTERFACE "agps_ril"
+/**
+ * The GPS chipset can use Psc for AGPS.
+ */
+#define AGPS_USE_PSC
+
/** Represents a location. */
typedef struct {
/** set to sizeof(GpsLocation) */
@@ -314,7 +319,9 @@ typedef struct {
uint16_t mcc;
uint16_t mnc;
uint16_t lac;
- uint16_t foo; // Samsung magic
+#ifdef AGPS_USE_PSC
+ uint16_t psc;
+#endif
uint32_t cid;
} AGpsRefLocationCellID;