Commit Graph

10 Commits

Author SHA1 Message Date
Gareth Kitchen
0a4075d4d5 sanders: gps: Localise NTP to improve GPS TTFF
Testing response times to time.android.com from around the globe reveals
in ms:-

Europe			 <30
Middle East		 <68
North America		<150
Johannesburg		 183
Buenos Aires		 220
Tokyo			 226
Sydney			 276
Hong Kong		 285
Brisbane		 295
Mumbai			 349
Beijing			4691
Shanghai		4906
Russia			 n/a

Whilst time.android.com is NOT used for GPS NTP, North American time servers
are, by specifying north-america.pool.ntp.org as default in the framework,
to align with pixel devices.  I am assuming similar response times to these
servers from around the world.

Great for North America and it appears Europe but it does not address the
global issue. Also, the pool.ntp.org project forbids both hardware and
software vendors from using these default zone names.
http://www.pool.ntp.org/en/vendors.html

It makes sense, therefore, to leverage the ntp.org's existing 'android' vendor
name to make the default ntp server for GPS purposes:
1.android.pool.ntp.org this will return a random but accurate NTP server in
close geopraphic proximity to the device.

Testing on my own build in the UK seems to improve hot and cold TTFF
considerably.

Change-Id: I144af45757efa35b32daf034eece6e046d2bde79
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2020-03-25 03:48:56 +05:30
ronaxdevil
f5cd3ba0ca Revert "sanders: gps: add missing config file from deen"
This reverts commit e744e394e9.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:22:42 +05:30
ronaxdevil
9b76f1dc94 Revert "sanders: gps: Increase batch size to max"
This reverts commit 693fe3eed4.

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-08-28 10:22:38 +05:30
Pranav Vashi
693fe3eed4 sanders: gps: Increase batch size to max
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
2019-07-04 16:20:53 +05:30
therootlord
e744e394e9 sanders: gps: add missing config file from deen 2019-07-04 16:20:53 +05:30
therootlord
72012a5b4b sanders: update GPS configs from deen PPK29.68-16-8 2018-12-16 15:13:11 -02:00
therootlord
0a41b9dc1a sanders: gps: update to LA.UM.7.6.r1-02000-89xx.0 tag 2018-09-23 21:06:04 -03:00
Vachounet
efba297b2a sanders: update location configs 2017-12-09 16:53:02 -02:00
LuK1337
552aa26a6c sanders: replace QCOMs groups with oem_2950-oem_2952 2017-11-23 11:14:19 -02:00
Vachounet
c46546dcca potter: fix gps configs 2017-04-11 10:32:49 +02:00