daniel has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27119 )
Change subject: ranap: Add templates for RAB Assignment ReleaseRequest
......................................................................
ranap: Add templates for RAB Assignment ReleaseRequest
Change-Id: Ie22253c84651119c4da91053eb4d79ad8f4abe7d
---
M library/ranap/RANAP_Templates.ttcn
1 file changed, 76 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/19/27119/1
diff --git a/library/ranap/RANAP_Templates.ttcn b/library/ranap/RANAP_Templates.ttcn
index db4145f..7316d49 100644
--- a/library/ranap/RANAP_Templates.ttcn
+++ b/library/ranap/RANAP_Templates.ttcn
@@ -1430,6 +1430,82 @@
}
}
+template (value) RAB_ReleaseList ts_RAB_RL(template (value) RAB_ID rab_id,
+ template (value) Cause cause) := { {
+ {
+ id := id_RAB_ReleaseItem,
+ criticality := ignore,
+ value_ := {
+ rAB_ReleaseItem := {
+ rAB_ID := rab_id,
+ cause := cause,
+ iE_Extensions := omit
+ }
+ }
+ }
+} }
+
+template RAB_ReleaseList tr_RAB_RL(template RAB_ID rab_id,
+ template Cause cause := ?) := { {
+ {
+ id := id_RAB_ReleaseItem,
+ criticality := ignore,
+ value_ := {
+ rAB_ReleaseItem := {
+ rAB_ID := rab_id,
+ cause := cause,
+ iE_Extensions := *
+ }
+ }
+ }
+} }
+
+template (value) RANAP_PDU
+ts_RANAP_RabReleaseReq(template (value) RAB_ReleaseList rab_rl,
+ template (omit) RAB_ReleaseRequest.protocolExtensions exts := omit) := {
+ initiatingMessage := {
+ procedureCode := id_RAB_Assignment,
+ criticality := reject,
+ value_ := {
+ rAB_ReleaseRequest := {
+ protocolIEs := {
+ {
+ id := id_RAB_ReleaseList,
+ criticality := ignore,
+ value_ := {
+ rAB_ReleaseList := rab_rl
+ }
+ }
+ },
+ protocolExtensions := exts
+ }
+ }
+ }
+}
+
+template RANAP_PDU
+tr_RANAP_RabReleaseReq(template RAB_ReleaseList rab_rl,
+ template RAB_ReleaseRequest.protocolExtensions exts := *) := {
+ initiatingMessage := {
+ procedureCode := id_RAB_Assignment,
+ criticality := reject,
+ value_ := {
+ rAB_ReleaseRequest := {
+ protocolIEs := {
+ {
+ id := id_RAB_ReleaseList,
+ criticality := ignore,
+ value_ := {
+ rAB_ReleaseList := rab_rl
+ }
+ }
+ },
+ protocolExtensions := exts
+ }
+ }
+ }
+}
+
/*****************************************************************************************************
*
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27119
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie22253c84651119c4da91053eb4d79ad8f4abe7d
Gerrit-Change-Number: 27119
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: newchange