summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-07-23 23:22:36 +0200
committercodeworkx <codeworkx@cyanogenmod.org>2013-07-23 23:22:36 +0200
commit62152026ce5927ac6b128bf473ec11b9aba8ad09 (patch)
treedafc72f7cab3117e94e12c69bbfbceb232fa432d /include
parentc71cb3e36206b266ab5a32a01d9e847ed52b21d4 (diff)
downloaddevice_samsung_n7100-62152026ce5927ac6b128bf473ec11b9aba8ad09.tar.gz
device_samsung_n7100-62152026ce5927ac6b128bf473ec11b9aba8ad09.tar.bz2
device_samsung_n7100-62152026ce5927ac6b128bf473ec11b9aba8ad09.zip
n7100: gps: use psc
Change-Id: Ia7651f52755eb5c4e921b691fa00e4ecf9d04677
Diffstat (limited to 'include')
-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;