Refactor NG UE Context Release Request
1) Remove UE Context Release Response code: there is no such thing in the specs, it is either UE Context Release Request (NG-RAN node initiated) or UE Context Release (AMF initiated) (3GPP TS 38.413). The former message has only the request, no response is defined by the specs. The code in the stack had no purpose at all and was removed. 2) The UE Context Release Request message only contains a PDU Session Resource List (optional) of PDU Session IDs, therefore the use of pdusession_release_t was wrong and was refactored
This commit is contained in:
@@ -191,7 +191,7 @@ int ngap_ue_context_release_req(instance_t instance,
|
||||
for (int i = 0; i < ue_release_req_p->nb_of_pdusessions; i++) {
|
||||
NGAP_PDUSessionResourceItemCxtRelReq_t *item;
|
||||
item = (NGAP_PDUSessionResourceItemCxtRelReq_t *)calloc(1,sizeof(NGAP_PDUSessionResourceItemCxtRelReq_t));
|
||||
item->pDUSessionID = ue_release_req_p->pdusessions[i].pdusession_id;
|
||||
item->pDUSessionID = ue_release_req_p->pdusession_ids[i];
|
||||
asn1cSeqAdd(&ie->value.choice.PDUSessionResourceListCxtRelReq.list, item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user