library/rua: Add missing templates (ts_/tr_)

Change-Id: Iad6525f4a337ac2399bec71d2e16f8540f78b247
This commit is contained in:
Daniel Willmann 2022-01-05 08:52:48 +01:00
parent 6cc90ebcac
commit 645b888db5
1 changed files with 92 additions and 0 deletions

View File

@ -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
}
}
}
}
};