copy back supl es data to sm
SUPL ES added additional optional fields in the NI indiation. We need to copy back these info as then came when we send back the notification to modem. This change is to add that. CRs-Fixed: 443946 Change-Id: Ib4a99441a03b2cb41b66d4c97253acbf118e4f05
This commit is contained in:
parent
87e24ecf53
commit
356036e9f6
1 changed files with 18 additions and 0 deletions
|
@ -804,6 +804,24 @@ enum loc_api_adapter_err LocApiV02Adapter ::
|
|||
sizeof(qmiLocNiVxServiceInteractionStructT_v02));
|
||||
}
|
||||
|
||||
// copy Network Initiated SUPL Version 2 Extension
|
||||
if (request_pass_back->NiSuplVer2ExtInd_valid == 1)
|
||||
{
|
||||
ni_resp.NiSuplVer2ExtPayload_valid = 1;
|
||||
memcpy(&(ni_resp.NiSuplVer2ExtPayload),
|
||||
&(request_pass_back->NiSuplVer2ExtInd),
|
||||
sizeof(qmiLocNiSuplVer2ExtStructT_v02));
|
||||
}
|
||||
|
||||
// copy SUPL Emergency Notification
|
||||
if(request_pass_back->suplEmergencyNotification_valid)
|
||||
{
|
||||
ni_resp.suplEmergencyNotification_valid = 1;
|
||||
memcpy(&(ni_resp.suplEmergencyNotification),
|
||||
&(request_pass_back->suplEmergencyNotification),
|
||||
sizeof(qmiLocEmergencyNotificationStructT_v02));
|
||||
}
|
||||
|
||||
req_union.pNiUserRespReq = &ni_resp;
|
||||
|
||||
status = loc_sync_send_req (
|
||||
|
|
Loading…
Reference in a new issue