From 645b888db579361ccb76b6e75510de5d3dd81676 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Wed, 5 Jan 2022 08:52:48 +0100 Subject: [PATCH] library/rua: Add missing templates (ts_/tr_) Change-Id: Iad6525f4a337ac2399bec71d2e16f8540f78b247 --- library/rua/RUA_Templates.ttcn | 92 ++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/library/rua/RUA_Templates.ttcn b/library/rua/RUA_Templates.ttcn index d4e4a0c5f..ee65412f5 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 + } + } + } +} };