summaryrefslogtreecommitdiff
path: root/gnss/GnssAdapter.h
AgeCommit message (Collapse)Author
2019-12-19Use AGPS_CONFIG_INJECT to disable setting of few AGPS configsHarikrishnan Hariharan
If AGPS_CONFIG_INJECT is 0, few AGPS config items like SUPL version, Assistance data, LPP profile, AGlonass Position profile should not be set to modem. Change-Id: Ib4ce9e893f2a912fb86069f6d8dcb6704bed9782 CRs-Fixed: 2587988
2019-11-22FR 57252: GPS hal changes to allow configuration for LE targetWei Chen
(1) runtime enable/disable TUNC (2) runtime enable/disable PACE (3) runtime enable/disable constellations (4) delete all aiding data (5) config lever arm Change-Id: I6cffd08e4c6fa45ff8d62bfef2da1156f3b61956 CRs-fixed: 2497326
2019-11-13Merge "GPS HAL: send platform power state event to modem"qctecmdr
2019-11-11Concurrent position report: report out SPE fix promptlyWei Chen
For concurrent position report, we need to report SPE fix promptly Change-Id: Iba7807ccb158dc4092abd9bbf540cbf0a6c7345b CRs-fixed: 2546089
2019-11-06Handle SPE session TBF and nHz subscription for automotiveBhavna Sharma
1. Requirement is to run SPE session only at 100ms TBF if any nHz capable engine subscribes for nHz measurement or nHz position reports. 2. Second requirement is to subscribe for nHz measurement only if an an actual nHz engine subscribes for nHz measurement CRs-Fixed: 2540001 Change-Id: I5a2c93a9d880967ab59ce6cd12cd415c98f29e6c
2019-11-06GPS HAL: send platform power state event to modemWei Chen
Send platform power state event, suspend/resume/shutdown to modem Change-Id: I19960f5fb4935de9e4f5513abd95aed6241a2fd9 CRs-fixed: 2527622
2019-08-30Merge "GPS hw: report ppe/spe report with combined report"qctecmdr
2019-08-23GPS hw: report ppe/spe report with combined reportWei Chen
When DRE/PPE are also running in the system, in addition to reporitng the combined final output, add the support to report the unmodified SPE/PPE report received from the engine Change-Id: Icb636824da32b175030dfcd2b270ac8b500ff75b CRs-fixed: 2487580
2019-08-20AgpsManager supports two clientshaohuang
AgpsManager supports two clients, QCOM AGPS Stack is to handle ATL type WWAN, AFW AGPS stack is used to handle ATL type SUPL and SUPL emergency. Change-Id: Id43c4919a1ae67d739e055c7fb5ba3abacc70b34 CRs-Fixed: 2509244
2019-07-29Allow NFW enable/disable as in 'P'Mike Cailean
Make changes in HAL coupled with a few recommended changes in JAVA/JNI layer to allow 'P' behavior for setting NFW GPS LOCK Change-Id: I6580eaeffefe0c10bc226660439701057e09e4a4 CRs-fixed: 2488332
2019-07-24Fix potential NMEA event registration issueDante Russo
The NMEA event may not be registered because of a race condition. Change-Id: Icc04039f0b3a3bc34101b667778881323edf9131 CRs-fixed: 2493919
2019-07-18Merge "Drop SUPL URL dup check in set and update command"qctecmdr
2019-07-16Drop SUPL URL dup check in set and update commandYingjie Wang
Get rid of Supl url duplication check both in setConfig and updateConfig commands. Also clean gnssUpdateConfig() params Change-Id: I432995a44c08192955bd50630649120933006ff9 CRs-fixed: 2487784
2019-07-15SUPL-2.0-con-034-1/2 test case failsMike Cailean
SUPL-2.0-con-034-1/2 Fail because Emergency-NI did not check inprogress session Change-Id: I377955c455830bf3bb7cb7fe05d45c4536dabfbc CRs-fixed: 2483780
2019-06-18Fix SV in use mask isn't correct for multiband SVshaohuang
Fix the issue that SV in use mask isn't set correct in reportSv function in GnssAdapter.cpp. Change-Id: Ie90fc4b938875817b105745cf531ee8dc31e74bc CRs-Fixed: 2473868
2019-05-09Merge "GPS: add numSVUsedInFix in location api"qctecmdr
2019-05-01SV "in-use" flags are not being set correctly forMike Cailean
multiband enabled devices Change-Id: I875b535063c6aa6ecb713c7b6abff123d8402d62 CRs-fixed: 2443087
2019-05-01Merge "Send SUPL notification to the framework for E911 sessions only (older ↵qctecmdr
modems)"
2019-05-01Gnss interface: add position injection for extended infoWei Chen
Add position injection interface with extended info, e.g.: GnssLocationInfoNotification Change-Id: I6ba8f1111d1511c7071fe358687a478b26e8f9a4 CRs-fixed: 2417450
2019-04-30GPS: add numSVUsedInFix in location apiWei Chen
Add a count in location API for number of SV used in fix Change-Id: I3b396170948fa6c93a88d0fdcf17e28eff5ed5dc CRs-fixed: 2425599
2019-04-30Send SUPL notification to the framework forMike Cailean
E911 sessions only (older modems) Change-Id: Icd317f6e4b042c31afc63011596689d5fb35135f CRs-fixed: 2441292
2019-04-08Streamline measurements processingMike Cailean
Consolidate the translation from QMI LOC into one place in order to minimize traffic Change-Id: I73c2f25e94544a2b69d4227c63548ef11b6a4d91 CRs-fixed: 2430668
2019-03-27Batching and Geofence moved to GNSS HALDante Russo
Addition of BatchingAdapter and GeofenceAdapter. Deprecated Background LOC QMI Client and renamed LocDualContext renamed to LocContext. Moved some common Adapter functions into LocAdapterBase. Added Distance Based Tracking logic into GnssAdapter. Addition of flp.conf Deprecated GEOFENCE capabilities configuration in gps.conf CRs-fixed: 2342200 Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
2019-03-21Improved Location NI PrivacyMike Cailean
Changes to be made starting in Android Q in the way that Location requests made by Location clients other than the Android FrameWork (e.g. Network Initiated AGNSS clients, modem-based clients such as MDT) are handled CRs-fixed: 2397454 Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
2019-03-18clear magic number for GPS_LOCKHoss Zhou
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e CRs-fixed: 2370451
2019-03-08Combine updateConfig in GnssAdapterYingjie Wang
Adjust setConfigCommand and gnssUpdateConfigCommand to use one gnssUpdateConfig method. CRs-fixed: 2402752 Change-Id: I6a9ec474bd9ffed52edd2422574af0f6d41493c4
2019-02-06New structures and handling of new data in the pipeBhavna Sharma
1. KlobucharIonoModel 2. Additional parameters for Glonass 3. Add gps system time to ephemeris reports. CRs-Fixed: 2388931 Change-Id: Ibd08496c8eda2ce7571cbdd71ff0c179f7376aa7
2018-11-27GPS location API: support destroy with callback for completionWei Chen
Support Location API destroy function with callback. Location API client that passes callback to Location API need to wait for the destroy complete callback to be invoked before releasing the memory that holds the callback Change-Id: I29b1c6d46feb79c789e6f1ec1500c941b022a3ac CRs-fixed: 2349398
2018-10-08FR48381: Support leap second change eventWei Chen
Support leap second change event (1) Info will be available in location api and location client api (2) Engine hub aggregator will use the info to calculate UTC timestamp Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6 CRs-fixed: 2289457
2018-10-02New additions for Ephemeris and Poly handlingBhavna Sharma
1. Add new data structures to hold the Ephemeris reports. 2. Modifications to SV Poly structure to include delete flags. 3. Add SV_POLY bit to GnssAidingDataSvMask to support delete commands from modem for poly and ephemeris per constellation. 4. Define LocApiBase and LocAdapter functions to report the ephemeris content, request for complete valid ephemeris and Poly content at any time and report delete commands from modem on Ephemeris and Poly content. CRs-Fixed: 2301149 Change-Id: If36e87c410c3204c94a6ed7db30f297edba95508
2018-09-26FR47184: tunc constrained and position assisted time estimatorDante Russo
(1) Configure tunc constrained module on modem via gps.conf (2) Configure position assisted time estimator and inject DRE position with additional info to modem (3) Support get total energy consumption API by GNSS engine since device first bootup Change-Id: I1e73057df090c1d356c55a498f06eed45839ca8f CRs-fixed: 2276355
2018-08-29Accept enabled list for constellation controlSaurabh Srivastava
Accept both enabled and disabled constellation lists for IZAT Constellation Control API CRs-Fixed: 2302898 Change-Id: Ia271efef619fc91a1457d1af7aeebcb8a8a0686d
2018-08-17Add jammer indicationMike Cailean
Add AGC and jammer indication Change-Id: I93641864338beec368e7a56b3a20b158ea892202 CRs-fixed: 2239155
2018-07-25Modify ODCPI timer from 30s to 10sDante Russo
ODCPI timer is modified to match location request duration that was changed from 30s to 10s in frameworks. Change-Id: If1380635b0b87d55bf9a00197b806b3de48b6f4f CRs-fixed: 2282588
2018-07-24Merge "Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into ↵Linux Build Service Account
location.lnx.4.0"
2018-07-23Merge remote-tracking branch 'quic/location.lnx.3.0.c5' intoBhavna Sharma
location.lnx.4.0 CRs-Fixed: 2282734 Change-Id: I5911f47d796591474eb19be527499daf758bff03
2018-07-19Add a timer for better handling of ODCPI/DBHDante Russo
Prevent more than one ODCPI request into frameworks each 30 seconds. Request ODCPI every 30 seconds while modem is actively requesting it Allow location injections for ODCPI even outside ODCPI session. Emergency ODCPI requests override normal ODCPI requests Change-Id: Ie2de6a5d42e749fce2e45cd672fc1d667b3f3347 CRs-fixed: 2246658
2018-07-03Merge "GPS: block CPI injection for those fixes orginate from modem"Linux Build Service Account
2018-07-03GPS: block CPI injection for those fixes orginate from modemKevin Tang
GNSS adapter to block CPI injection for CPI originates from modem. One source of the fix is QNP fix from modem. Only fixes that comes within time threshold and with latitude and longitude falls within the same proximity will be blocked. Change-Id: If67a164d1e1c75735979f048a9f8dc93f0b0a41f CRs-fixed: 2260721
2018-07-01Returning failure on GPS blacklistingSaurabh Srivastava
Returning false for HIDL Set Blacklist API when a GPS constellation SV is passed in for blacklisting. Change-Id: I4fdaf226111d9db365af11c0e5bb6fa043c0b6fb CRs-Fixed: 2234230
2018-06-26Added optional MO SUPL SLPMike Cailean
Change-Id: I89c3e697b92dfe04d403c073e779906d21cefd69 CRs-fixed: 2259090
2018-06-11SUPL connection enhancementsMike Cailean
Adding enhancement to ATL messages to allow sending bearer type and apn type mask values. CRs-fixed: 2206014 Change-Id: I28f6583d842e82c9e26d40be55312f8aaf01193e
2018-06-07changes to work without ULP moduleKevin Tang
Rework the module with ULP module being removed Change-Id: I5ac81e8c1c734352b3087545b83f4812fa3e8aff CRs-fixed: 2235309
2018-06-03FR 48850 - Device based hybrid ODCPISaurabh Srivastava
Adding support for sending ODCPI request to framework via IGnss interface. Change-Id: I97ab4f00505705fedc266998602499fd344baf31 CRs-Fixed: 2217664
2018-06-02FR 45623 - AGPM 1.0Saurabh Srivastava
Adding AGPM FR changes to add power modes support. CRs-Fixed: 2195518 Change-Id: Ifd1da6194b58ad5590ea755e3f6b237c4b4db2ad
2018-06-03FR 45651 - GNSS SV/Constellation ControlSaurabh Srivastava
Adding support for configuring GNSS SVs and constellations to be used. Change-Id: I47d5cd9d08ac9aaf633be2fe3b1bd152a2f4293b CRs-Fixed: 2184871
2018-05-29FR 46082 - SUPL Network Setup ImprovementsSaurabh Srivastava
Adding enhancement to ATL messages to allow sending bearer type and apn type mask values. CRs-Fixed: 2209227 Change-Id: I09a294946610f26de4760a0fba6f13083f8752f3
2018-05-04Merge "GPS Adapter: GNSS adapter change to go with engine hub aggregator"Linux Build Service Account
2018-04-27Addition of new LocApi threadBhavna Sharma
1. LocApiBase to create its own MsgTask thread to allow QMI calls to be made asynchronously. It shall no longer share the adapter's thread. 2. Implementation of new LocApiResponse classes for generic response type from LocApi layer to Adapter layers 3. GnssAdapter modified to handle the asynchronous nature of LocApi calls. CRs-Fixed: 2218658 Change-Id: I6e401a89f16791ec144763ac5f070b7ee1dad931
2018-04-16GPS Adapter: GNSS adapter change to go with engine hub aggregatorBhavna Sharma
1: GNSS adapter change to block out position and SV report from ULP when engine hub aggregator is used 2: Support unpropagated position report Change-Id: Id0cacd87d3f3f8eec893d751b9f7a55a736a4023 CRs-fixed: 2210253