diff options
author | Dante Russo <drusso@codeaurora.org> | 2020-06-22 10:44:25 -0700 |
---|---|---|
committer | Dante Russo <drusso@codeaurora.org> | 2020-06-22 11:21:25 -0700 |
commit | 8dc2ec8ff30f1d58d99782932ed2f9593ec06a0b (patch) | |
tree | cd29fdcfe4a704310d09b8a57dd05d080c229cbd /core | |
parent | 9737855755e522666d6dcb4a7091b3620b9027e7 (diff) |
Enable new LPP Profile options for 5G
Change LPP Profile options from enum to bitmask
to allow for more bit options to be added.
Added two new bits for LPP Profile, User Plane 5G
and Control Plan 5G.
Change-Id: I058738e50f4bfb69f4966082890ec8b8ed8f1abc
CRs-fixed: 2605663
Diffstat (limited to 'core')
-rw-r--r-- | core/LocApiBase.cpp | 5 | ||||
-rw-r--r-- | core/LocApiBase.h | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 6af2ca9..144e975 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -670,7 +670,7 @@ enum loc_api_adapter_err LocApiBase:: DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) LocationError LocApiBase:: - setLPPConfigSync(GnssConfigLppProfile /*profile*/) + setLPPConfigSync(GnssConfigLppProfileMask /*profileMask*/) DEFAULT_IMPL(LOCATION_ERROR_SUCCESS) @@ -715,9 +715,6 @@ DEFAULT_IMPL(LOCATION_ERROR_SUCCESS) GnssConfigSuplVersion LocApiBase::convertSuplVersion(const uint32_t /*suplVersion*/) DEFAULT_IMPL(GNSS_CONFIG_SUPL_VERSION_1_0_0) -GnssConfigLppProfile LocApiBase::convertLppProfile(const uint32_t /*lppProfile*/) -DEFAULT_IMPL(GNSS_CONFIG_LPP_PROFILE_RRLP_ON_LTE) - GnssConfigLppeControlPlaneMask LocApiBase::convertLppeCp(const uint32_t /*lppeControlPlaneMask*/) DEFAULT_IMPL(0) diff --git a/core/LocApiBase.h b/core/LocApiBase.h index ab99d90..035c078 100644 --- a/core/LocApiBase.h +++ b/core/LocApiBase.h @@ -223,7 +223,7 @@ public: virtual void informNiResponse(GnssNiResponse userResponse, const void* passThroughData); virtual LocationError setSUPLVersionSync(GnssConfigSuplVersion version); virtual enum loc_api_adapter_err setNMEATypesSync(uint32_t typesMask); - virtual LocationError setLPPConfigSync(GnssConfigLppProfile profile); + virtual LocationError setLPPConfigSync(GnssConfigLppProfileMask profileMask); virtual enum loc_api_adapter_err setSensorPropertiesSync( bool gyroBiasVarianceRandomWalk_valid, float gyroBiasVarianceRandomWalk, bool accelBiasVarianceRandomWalk_valid, float accelBiasVarianceRandomWalk, @@ -239,7 +239,6 @@ public: virtual LocationError setLPPeProtocolCpSync(GnssConfigLppeControlPlaneMask lppeCP); virtual LocationError setLPPeProtocolUpSync(GnssConfigLppeUserPlaneMask lppeUP); virtual GnssConfigSuplVersion convertSuplVersion(const uint32_t suplVersion); - virtual GnssConfigLppProfile convertLppProfile(const uint32_t lppProfile); virtual GnssConfigLppeControlPlaneMask convertLppeCp(const uint32_t lppeControlPlaneMask); virtual GnssConfigLppeUserPlaneMask convertLppeUp(const uint32_t lppeUserPlaneMask); virtual LocationError setEmergencyExtensionWindowSync(const uint32_t emergencyExtensionSeconds); |