Change in osmo-ttcn3-hacks[master]: library/RSL_Types: add missing Channel Identification IE

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Aug 30 20:18:41 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19909 )


Change subject: library/RSL_Types: add missing Channel Identification IE
......................................................................

library/RSL_Types: add missing Channel Identification IE

Change-Id: I4698fd15a14ee55aa4004d80e65912531f78cf06
---
M library/RSL_Types.ttcn
1 file changed, 44 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/09/19909/1

diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index af01c5d..05effa2 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -15,6 +15,7 @@
 
 	import from General_Types all;
 	import from Osmocom_Types all;
+	import from GSM_RR_Types all;
 	import from GSM_Types all;
 	import from MobileL3_CommonIE_Types all;
 	import from L3_Templates all;
@@ -319,6 +320,47 @@
 		a_bits := ACT_REL_TO_OSMO_PDCH
 	}
 
+	/* 9.3.5 */
+	type record RSL_IE_ChannelIdent {
+		uint8_t			len,
+		/* 3GPP TS 44.018 Channel Description IE (TV) */
+		ChannelDescriptionTV	ch_desc,
+		/* 3GPP TS 44.018 Mobile Allocation IE (shall be empty) */
+		MobileAllocationTLV	ma
+	} with { variant (len) "LENGTHTO(ch_desc,ma)" };
+
+	template (value) RSL_IE_ChannelIdent
+	ts_RSL_ChannelIdent(template (value) ChannelDescription ch_desc) := {
+		len := 0, /* overwritten */
+		ch_desc := {
+			iei := '64'O,
+			v := ch_desc
+		},
+		/* Shall be included but empty */
+		ma := {
+			iei := '72'O,
+			v := {
+				len := 0,
+				ma := ''B
+			}
+		}
+	};
+
+	template RSL_IE_ChannelIdent
+	tr_RSL_ChannelIdent(template (present) ChannelDescription ch_desc := ?,
+			    template (present) MobileAllocationLV ma := ?) := {
+		len := ?,
+		ch_desc := {
+			iei := '64'O,
+			v := ch_desc
+		},
+		/* Shall be included but empty */
+		ma := {
+			iei := '72'O,
+			v := ma
+		}
+	};
+
 	/* 9.3.6 */
 	type enumerated RSL_SpeechDataInd {
 		RSL_SPDI_SPEECH		('00000001'B),
@@ -791,6 +833,7 @@
 		RSL_LV			rlm_cause,
 		RSL_IE_ReleaseMode	release_mode,
 		RSL_IE_ActivationType	act_type,
+		RSL_IE_ChannelIdent	chan_ident,
 		RSL_IE_ChannelMode	chan_mode,
 		uint8_t			handover_ref,
 		RSL_IE_BS_Power		bs_power,
@@ -846,6 +889,7 @@
 					rlm_cause, iei = RSL_IE_RLM_CAUSE;
 					release_mode, iei = RSL_IE_RELEASE_MODE;
 					act_type, iei = RSL_IE_ACT_TYPE;
+					chan_ident, iei = RSL_IE_CHAN_IDENT;
 					chan_mode, iei = RSL_IE_CHAN_MODE;
 					handover_ref, iei = RSL_IE_HANDO_REF;
 					bs_power, iei = RSL_IE_BS_POWER;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19909
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: I4698fd15a14ee55aa4004d80e65912531f78cf06
Gerrit-Change-Number: 19909
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200830/579b5017/attachment.htm>


More information about the gerrit-log mailing list