summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/gps.xml64
-rw-r--r--n7000.mk2
2 files changed, 66 insertions, 0 deletions
diff --git a/configs/gps.xml b/configs/gps.xml
new file mode 100644
index 0000000..d925054
--- /dev/null
+++ b/configs/gps.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/glconfig.xsd" >
+ <!--HAL Confguration -->
+ <hal
+ acPortName="/dev/ttySAC1"
+ lBaudRate="115200"
+ gpioNStdbyPath="/sys/class/sec/gps/GPS_PWR_EN/value"
+ gpioNResetPath="/sys/class/sec/gps/GPS_nRST/value"
+ gpioDelayMs="250"
+ acNvStoDir="/data/gps/"
+ FactoryTestFilePath="/data/data/com.sec.android.app.factorytest/files/"
+
+ acLogDirectory="/sdcard/gps/broadcom/"
+
+ TISEnabled="false"
+ LPmode="false"
+ cp-cold-start="false"
+ cp-guard-time-sec="1"
+
+ arp-supl-enable="true"
+ arp-supl-cap-msb="true"
+ arp-supl-cap-msa="true"
+ arp-supl-cap-ecid="false"
+ arp-supl-use-apn="false"
+ acSuplServer="supl.google.com"
+ SuplPort="7276"
+ tlsCertPath="/system/bin/gps.cer"
+ tlsEnable="false"
+ ReAidingIntervalSec="1200"
+ SuplUT1Seconds="20"
+ SuplUT2Seconds="20"
+ SuplUT3Seconds="20"
+ SuplVersion="1"
+
+ LbsEnable="true"
+ LbsLocal="false"
+ LbsServer="BCMLS2.glpals.com"
+ LbsPort="7275"
+ LbsSyncLto="false"
+ SyncLto="true"
+ ltoFileName="lto2.dat"
+ acLtoDir="/data/gps/"
+ LbsSyncLtoThresholdDays="3"
+ LbsTAC="10101222"
+ LbsWlanEnable="false"
+
+ IgnoreJniTime="true"
+ />
+
+ <gll
+ LogPriMask="LOG_INFO"
+ LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA"
+ FrqPlan="FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB"
+ RfType="GL_RF_47511_BRCM_EXT_LNA"
+ WarmStandbyTimeout1Seconds="10"
+ WarmStandbyTimeout2Seconds="15"
+ >
+ </gll>
+ <gll_features
+ EnableLowPowerEls="false"
+ EnableLowPowerPmm="true"
+ />
+
+</glgps>
diff --git a/n7000.mk b/n7000.mk
index f0ae2f7..a09492d 100644
--- a/n7000.mk
+++ b/n7000.mk
@@ -79,5 +79,7 @@ PRODUCT_COPY_FILES += \
# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.gps.rc:root/init.gps.rc \
+ $(LOCAL_PATH)/configs/gps.xml:system/etc/gps.xml
+
$(call inherit-product-if-exists, vendor/samsung/n7000/n7000-vendor.mk)