sanders: GPS: Update from LA.UM.7.6.2.r1-04200-89xx.0 and update GPS packages
Change-Id: I3111254674e24f8deb511a7de32f57ee5abe8911
This commit is contained in:
committed by
Jorge Lucas
parent
d95e6a0094
commit
575fbce42c
@@ -766,8 +766,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = mApi.setGpsLock(mConfig.gpsLock);
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) {
|
||||
uint32_t newSuplVersion = mAdapter.convertSuplVersion(mConfig.suplVersion);
|
||||
@@ -779,8 +780,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) {
|
||||
if (GNSS_ASSISTANCE_TYPE_SUPL == mConfig.assistanceServer.type) {
|
||||
@@ -808,8 +810,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = LOCATION_ERROR_INVALID_PARAMETER;
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) {
|
||||
uint32_t newLppProfile = mAdapter.convertLppProfile(mConfig.lppProfile);
|
||||
@@ -821,8 +824,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) {
|
||||
uint32_t newLppeControlPlaneMask =
|
||||
@@ -834,8 +838,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT) {
|
||||
uint32_t newLppeUserPlaneMask =
|
||||
@@ -847,8 +852,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT) {
|
||||
uint32_t newAGloProtMask =
|
||||
@@ -861,8 +867,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
}
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT) {
|
||||
uint32_t newEP4ES = mAdapter.convertEP4ES(mConfig.emergencyPdnForEmergencySupl);
|
||||
@@ -871,8 +878,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
}
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT) {
|
||||
uint32_t newSuplEs = mAdapter.convertSuplEs(mConfig.suplEmergencyServices);
|
||||
@@ -881,8 +889,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
}
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
if (mConfig.flags & GNSS_CONFIG_FLAGS_SUPL_MODE_BIT) {
|
||||
uint32_t newSuplMode = mAdapter.convertSuplMode(mConfig.suplModeMask);
|
||||
@@ -894,8 +903,9 @@ GnssAdapter::gnssUpdateConfigCommand(GnssConfig config)
|
||||
}
|
||||
err = LOCATION_ERROR_SUCCESS;
|
||||
if (index < mCount) {
|
||||
errs[index++] = err;
|
||||
errs[index] = err;
|
||||
}
|
||||
index++;
|
||||
}
|
||||
|
||||
mAdapter.reportResponse(index, errs, mIds);
|
||||
|
||||
Reference in New Issue
Block a user