pespin has uploaded this change for review.

View Change

ngap: Add template for UEContextReleaseReq without PDU Session List

That's the only optional IE in the message. Add a separate template to
be able to transmit with that IE set, similar to what's already done in
m_n2_InitialContextSetupRequest_withPDUSessionList().

Change-Id: I0f1a549103b70bcd373dcd4c688761d3eeef10a6
---
M library/ngap/NGAP_Templates.ttcn
1 file changed, 31 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/90/40890/1
diff --git a/library/ngap/NGAP_Templates.ttcn b/library/ngap/NGAP_Templates.ttcn
index d6e0bd8..9729823 100644
--- a/library/ngap/NGAP_Templates.ttcn
+++ b/library/ngap/NGAP_Templates.ttcn
@@ -1772,6 +1772,36 @@
template (value) InitiatingMessage m_n2_UEContextReleaseRequest(
in template (value) AMF_UE_NGAP_ID p_amfUeNgapID := PX_AMF_UE_NGAP_ID,
in template (value) RAN_UE_NGAP_ID p_ranUeNgapID := PX_RAN_UE_NGAP_ID,
+ in template (value) Cause p_cause
+ ) := {
+ procedureCode := id_UEContextReleaseRequest,
+ criticality := ignore,
+ value_ := {
+ UEContextReleaseRequest := {
+ protocolIEs := {
+ {
+ id := id_AMF_UE_NGAP_ID,
+ criticality := reject,
+ value_ := { AMF_UE_NGAP_ID := p_amfUeNgapID }
+ },
+ {
+ id := id_RAN_UE_NGAP_ID,
+ criticality := reject,
+ value_ := { RAN_UE_NGAP_ID := p_ranUeNgapID }
+ },
+ {
+ id := id_Cause,
+ criticality := ignore,
+ value_ := { Cause := p_cause }
+ }
+ }
+ }
+ }
+ } // End of template m_n2_UEContextReleaseRequest
+
+ template (value) InitiatingMessage m_n2_UEContextReleaseRequest_withPDUSessionList(
+ in template (value) AMF_UE_NGAP_ID p_amfUeNgapID := PX_AMF_UE_NGAP_ID,
+ in template (value) RAN_UE_NGAP_ID p_ranUeNgapID := PX_RAN_UE_NGAP_ID,
in template (value) PDUSessionResourceListCxtRelReq p_pDUSessionResourceListCxtRelReq,
in template (value) Cause p_cause
) := {
@@ -1803,7 +1833,7 @@
}
}
}
- } // End of template m_n2_UEContextReleaseRequest
+ } // End of template m_n2_UEContextReleaseRequest_withPDUSessionList

} // End of group Send


To view, visit change 40890. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0f1a549103b70bcd373dcd4c688761d3eeef10a6
Gerrit-Change-Number: 40890
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>