dexter has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34075 )
Change subject: GTP_Templates: Add templates for RIM ROUTING ADDRESS
......................................................................
GTP_Templates: Add templates for RIM ROUTING ADDRESS
The IE types RIM_RoutingAddress and RIM_RoutingAddress_Discriminator
have not coresponding templates yet.
Related: OS#6095
Change-Id: If79f94ac3b7ec9a76763141ee2d8cac50c69d60b
---
M library/GTP_Templates.ttcn
1 file changed, 39 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/75/34075/1
diff --git a/library/GTP_Templates.ttcn b/library/GTP_Templates.ttcn
index f6fda36..adae38f 100644
--- a/library/GTP_Templates.ttcn
+++ b/library/GTP_Templates.ttcn
@@ -1433,4 +1433,30 @@
peer := peer,
gtpu := ts_GTP1U_PDU('FF'O, seq, teid, { g_PDU_IEs := { data := data }})
}
+
+ /* 3GPP TS 29.060, section 7.7.57 */
+ template (value) RIM_RoutingAddress ts_RIM_RoutingAddress(octetstring addr_value) := {
+ type_gtpc := '9F'O,
+ lengthf := 0, /* we assume encoder overwrites this */
+ rIM_RoutingAddressValue := addr_value
+ }
+ template RIM_RoutingAddress tr_RIM_RoutingAddress(template octetstring addr_value := ?)
:= {
+ type_gtpc := '9F'O,
+ lengthf := ?,
+ rIM_RoutingAddressValue := addr_value
+ }
+
+ /* 3GPP TS 29.060, section 7.7.77 */
+ template (value) RIM_RoutingAddress_Discriminator
ts_RIM_RoutingAddress_Discriminator(bitstring addr_discr) := {
+ type_gtpc := 'B2'O,
+ lengthf := 0, /* we assume encoder overwrites this */
+ rra_discriminator := addr_discr,
+ spare := '0000'B
+ }
+ template RIM_RoutingAddress_Discriminator tr_RIM_RoutingAddress_Discriminator(template
bitstring addr_discr := ?) := {
+ type_gtpc := 'B2'O,
+ lengthf := ?,
+ rra_discriminator := addr_discr,
+ spare := '0000'B
+ }
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34075
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: If79f94ac3b7ec9a76763141ee2d8cac50c69d60b
Gerrit-Change-Number: 34075
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-MessageType: newchange