Commit graph

9 commits

Author SHA1 Message Date
Nilesh Gharde
1a74532ea6 sm8450-common: gps: Remove getCapablities impl from gnss adapter
getCapablities impl is moved to LocAdapterBase
class as for QWES unify. All the adapters should use the
same implementation.

CRs-fixed: 3609221
Change-Id: I0e9f7af1437af47f20e27a9bad94231c594753c7
2024-05-18 11:28:19 +02:00
haohuang
7def8dd105 sm8450-common: gps: Support WiFi RTT position injection for non ES case
Change-Id: I92248c5a95c042c90164308d0617d9197625e6dd
CRs-Fixed: 3432072
2024-05-18 11:26:31 +02:00
haohuang
58ea2a68e5 sm8450-common: gps: Add RSSI/RTT QWES and HW feature bits in ContextBase
Change-Id: I2b6a7d10c367862f8bb76b6a4a5c401e32a3c96e
CRs-Fixed: 3362481
2024-05-18 11:26:01 +02:00
Arian
f518e7ef8f sm8450-common: gps: Update to LA.VENDOR.1.0.r1-21900-WAIPIO.0
Change-Id: Ib431364a902ecd9b068e672978f5e24ecbf42160
2024-03-19 23:22:37 +01:00
Michael Bestas
3094f39138 sm8450-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2024-03-19 23:22:37 +01:00
Arian
946f3651cd sm8450-common: gps: Let qualityLevelAccepted use loc_sess_status enum
device/xiaomi/sm8450-common/gps/gnss/GnssAdapter.cpp:4111:49: error: comparison of different enumeration types ('FixQualityLevel' and 'enum loc_sess_status') [-Werror,-Wenum-compare]
                it->second.qualityLevelAccepted >= status) {
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~

Change-Id: I9decccb88a51760806eab080d5ad92d90d9b87cd
2024-03-19 23:22:37 +01:00
Bhavna Sharma
fdb5c2ae4e sm8450-common: gps: Move qualityLevelAccepted field into LocationOptions
CRs-Fixed: 3131344

Change-Id: Ifec0a57325ea8127f76b8e1896124a64666f41ce
2024-03-19 23:22:37 +01:00
Vamana Murthi
cd7a05c656 sm8450-common: gps: HAL: Location compilation bringup for wearables
Enable few more important compilation flags which will consider
warnings as errors. Most of these flags were configured to be
only warning for mobile SPs, but for wearable SPs some of them
are configured to be errors. So configure these as in common
GNSS flags so that same set of flags could be applied to mobile
SPs too.
Fix compilation errors which were showing up, when these flags
were enabled.

Change-Id: I62ef74419d4416252dfc8b25251ba3a51d522bfd
CRs-Fixed: 3292623
2024-03-19 23:22:37 +01:00
Arian
b9fdaff70a sm8450-common: Import gps from LA.VENDOR.1.0.r1-12800-WAIPIO.0
Change-Id: Ia76265a8c3326f2b5f9f260ce98807276af80ee3
2024-03-19 23:22:37 +01:00