From 74a8bde27c0f2246372f1f8b5f7b67037c1c6b5d Mon Sep 17 00:00:00 2001 From: codeworkx Date: Tue, 23 Jul 2013 23:20:45 +0200 Subject: samsung: omap4: gps: use psc Change-Id: I7a7b6440a2551d915120d40c245752d529d15b2d --- include/hardware/gps.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; -- cgit v1.1