diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-07-24 10:56:46 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-07-24 12:01:39 +0200 |
commit | 05ad55ccf5a55485a89ea62b2f3a1f1703fcecf0 (patch) | |
tree | aeb830d748e785a6d03c4f2294d70d67f96d4ada /library | |
parent | 1c0c726aa5dc3267dcdf16cec5f1ab543f4e9c31 (diff) |
GTP_Templates: Add RIM_RoutingAddress to RANInfoRelay templates
The RIM_RoutingAddress tells a relaying RIM node (SGSN, MME) where to
route a RIM RANTransparentContainer. The RANTransparentContainer also
contains source and detination, but is not meant to be interpreted by a
relaying node. That is why a RIM_RoutingAddress exists.
Related: OS#5760
Change-Id: I4d497389226b12368cc0ed4e3d469cde8e812ba6
Diffstat (limited to 'library')
-rw-r--r-- | library/GTP_Templates.ttcn | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/library/GTP_Templates.ttcn b/library/GTP_Templates.ttcn index 9782a3a3..0d833a5e 100644 --- a/library/GTP_Templates.ttcn +++ b/library/GTP_Templates.ttcn @@ -1226,11 +1226,13 @@ module GTP_Templates { private_extension_gtpc := * } } - template (value) GTPC_PDUs ts_RANInfoRelay(template (value) RANTransparentContainer transparentContainer) := { + template (value) GTPC_PDUs ts_RANInfoRelay(template (value) RANTransparentContainer transparentContainer, + template (omit) RIM_RoutingAddress ra := omit, + template (omit) RIM_RoutingAddress_Discriminator ra_discr := omit) := { ranInformationRelay := { transparentContainer := transparentContainer, - rIM_RoutingAddress := omit, - rIM_RoutingAddress_Discriminator := omit, + rIM_RoutingAddress := ra, + rIM_RoutingAddress_Discriminator := ra_discr, private_extension_gtpc := omit } } @@ -1242,9 +1244,11 @@ module GTP_Templates { } template (value) Gtp1cUnitdata ts_GTPC_RANInfoRelay(template (value) GtpPeer peer, - template (value) RANTransparentContainer transparentContainer) := { + template (value) RANTransparentContainer transparentContainer, + template (omit) RIM_RoutingAddress ra := omit, + template (omit) RIM_RoutingAddress_Discriminator ra_discr := omit) := { peer := peer, - gtpc := ts_GTP1C_PDU(rANInformationRelay, '00000000'O, valueof(ts_RANInfoRelay(transparentContainer)), 0) + gtpc := ts_GTP1C_PDU(rANInformationRelay, '00000000'O, valueof(ts_RANInfoRelay(transparentContainer, ra, ra_discr)), 0) } |