aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2022-01-05 08:52:48 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2022-01-05 09:10:08 +0100
commit645b888db579361ccb76b6e75510de5d3dd81676 (patch)
tree5f2f85f19f1e7272a3e257e2d9d986e379d1b8bc
parent6cc90ebcaca2b467b2d39f856cd0797254e2383b (diff)
library/rua: Add missing templates (ts_/tr_)
-rw-r--r--library/rua/RUA_Templates.ttcn92
1 files changed, 92 insertions, 0 deletions
diff --git a/library/rua/RUA_Templates.ttcn b/library/rua/RUA_Templates.ttcn
index d4e4a0c5..ee65412f 100644
--- a/library/rua/RUA_Templates.ttcn
+++ b/library/rua/RUA_Templates.ttcn
@@ -26,6 +26,43 @@ template (value) Cause ts_RUA_Cause(template (value) CauseRadioNetwork c) := {
}
/* 9.1.3 CONNECT */
+template (value) RUA_PDU
+ts_RUA_Connect(template (value) CN_DomainIndicator domain,
+ template (value) bitstring context_id,
+ template (value) Establishment_Cause est_cause,
+ template (value) octetstring ranap_msg) := {
+ initiatingMessage := {
+ procedureCode := id_Connect,
+ criticality := reject,
+ value_ := {
+ connect_ := {
+ protocolIEs := {
+ {
+ id := 7,
+ criticality := reject,
+ value_ := { cN_DomainIndicator := domain }
+ }, {
+ id := 3,
+ criticality := reject,
+ value_ := { context_ID := context_id }
+ }, {
+ id := 6,
+ criticality := reject,
+ value_ := { establishment_Cause := est_cause }
+ }, {
+ id := 4,
+ criticality := reject,
+ value_ := {
+ rANAP_Message := ranap_msg
+ }
+ }
+ },
+ protocolExtensions := omit
+ }
+ }
+ }
+}
+
template (present) RUA_PDU
tr_RUA_Connect(template (present) CN_DomainIndicator domain := ?,
template (present) bitstring context_id := ?,
@@ -124,6 +161,41 @@ tr_RUA_DirectTransfer(template (present) CN_DomainIndicator domain := ?,
}
/* 9.1.5 DISCONNECT */
+template (value) RUA_PDU
+ts_RUA_Disconnect(template (value) CN_DomainIndicator domain,
+ template (value) bitstring context_id,
+ template (value) Cause cause,
+ template (value) octetstring ranap_msg) := {
+ initiatingMessage := {
+ procedureCode := 3,
+ criticality := reject,
+ value_ := {
+ disconnect_ := {
+ protocolIEs := {
+ {
+ id := 7,
+ criticality := reject,
+ value_ := { cN_DomainIndicator := domain }
+ }, {
+ id := 3,
+ criticality := reject,
+ value_ := { context_ID := context_id }
+ }, {
+ id := 1,
+ criticality := reject,
+ value_ := { cause := cause }
+ }, {
+ id := 4,
+ criticality := reject,
+ value_ := { rANAP_Message := ranap_msg }
+ }
+ },
+ protocolExtensions := omit
+ }
+ }
+ }
+}
+
template (present) RUA_PDU
tr_RUA_Disconnect(template (present) CN_DomainIndicator domain := ?,
template (present) bitstring context_id := ?,
@@ -179,4 +251,24 @@ ts_RUA_ConnectionlessTransfer(template (value) octetstring ranap_msg) := {
}
}
}
+
+template (present) RUA_PDU
+tr_RUA_ConnectionlessTransfer(template (present) octetstring ranap_msg := ?) := {
+ initiatingMessage := {
+ procedureCode := id_ConnectionlessTransfer,
+ criticality := reject,
+ value_ := {
+ connectionlessTransfer := {
+ protocolIEs := {
+ {
+ id := 4,
+ criticality := reject,
+ value_ := { rANAP_Message := ranap_msg }
+ }
+ },
+ protocolExtensions := omit
+ }
+ }
+ }
+}
};