summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-07-23 23:21:50 +0200
committercodeworkx <codeworkx@cyanogenmod.org>2013-07-23 23:21:50 +0200
commit23d5fdee99f40be22caf31c6925caedbca83a5c0 (patch)
treec08c4f1a314259b2f8d95521cc40fcce9d9d8e4c
parentfe485495f3d4b40ff10096a3a9fc1fd5a27e2df3 (diff)
downloaddevice_samsung_i9300-23d5fdee99f40be22caf31c6925caedbca83a5c0.zip
device_samsung_i9300-23d5fdee99f40be22caf31c6925caedbca83a5c0.tar.gz
device_samsung_i9300-23d5fdee99f40be22caf31c6925caedbca83a5c0.tar.bz2
i9300: gps: use psc
Change-Id: I219694b61320009a200ea60bceb17bb5ce7aecc3
-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;