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
diff --git a/library/RAN_Adapter.ttcnpp b/library/RAN_Adapter.ttcnpp
index 30a1a9e..862921e 100644
--- a/library/RAN_Adapter.ttcnpp
+++ b/library/RAN_Adapter.ttcnpp
@@ -52,13 +52,6 @@
 	RAN_Emulation_CT vc_RAN
 }
 
-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 */
-};
-
 type record RAN_Configuration {
 	RAN_Transport transport,
 	charstring sccp_service_type,
@@ -153,6 +146,7 @@
 		timer T := 5.0;
 		T.start;
 		//T.timeout;
+		ops.transport := cfg.transport;
 		/* connect BSSNAP component to upper side of SCCP */
 		if (cfg.transport == RANAP_TRANSPORT_IuCS) {
 #ifdef RAN_EMULATION_RANAP