diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-06-06 15:58:17 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-06-06 17:06:29 +0200 |
commit | c6b78ff2f99667f223158647437b071d2f6d4671 (patch) | |
tree | 2687d8074dacb2de93c5d71e4fb47eec0044fd62 /library/RAN_Emulation.ttcnpp | |
parent | 096d73dfc36f241485a41b38ffb45cc949b2a394 (diff) |
Add and set transport field for RanOps structure
This will allow RAN_Emulation to have better knowledge on the protocol
stack in use, and behave differently based on that information.
For intance, forthcoming commit will append OsmuxSupport IE only if
transport is BSSAP AoIP.
Change-Id: Ife62e328af2d3f2475ff93249f2138820c7ddabb
Diffstat (limited to 'library/RAN_Emulation.ttcnpp')
-rw-r--r-- | library/RAN_Emulation.ttcnpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/RAN_Emulation.ttcnpp b/library/RAN_Emulation.ttcnpp index 41aec478..85ae0840 100644 --- a/library/RAN_Emulation.ttcnpp +++ b/library/RAN_Emulation.ttcnpp @@ -75,6 +75,13 @@ type enumerated RAN_Conn_Prim { MSC_CONN_PRIM_CONF_IND } +type enumerated RAN_Transport { + BSSAP_TRANSPORT_AoIP, /* 3GPP AoIP: SCCP over M3UA over SCTP */ + BSSAP_TRANSPORT_SCCPlite_SERVER, /* SCCPlite: SCCP over IPA over TCP */ + BSSAP_TRANSPORT_SCCPlite_CLIENT, /* SCCPlite: SCCP over IPA over TCP */ + RANAP_TRANSPORT_IuCS /* 3GPP IuCS: SCCP over M3UA over SCTP */ +}; + /* similar to PDU_BSSAP with DTAP, but DTAP is already decoded! */ type record PDU_DTAP_MO { OCT1 dlci optional, @@ -650,6 +657,7 @@ type record RanOps { boolean decode_dtap, boolean role_ms, RanProtocol protocol, + RAN_Transport transport, boolean use_osmux, /* needed for performing BSSMAP RESET */ SCCP_PAR_Address sccp_addr_local optional, |