Change in osmo-ttcn3-hacks[master]: library/GSM_RR_Types: add IAR Rest Octets definition

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
Fri May 22 13:51:14 UTC 2020


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


Change subject: library/GSM_RR_Types: add IAR Rest Octets definition
......................................................................

library/GSM_RR_Types: add IAR Rest Octets definition

See 3GPP TS 44.018, section 10.5.2.17 "IAR Rest Octets".

Change-Id: Ib1f16b310d6ca94f19a1700c78cb37e8b35ac570
---
M library/GSM_RR_Types.ttcn
1 file changed, 30 insertions(+), 1 deletion(-)



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

diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 0fa6ec6..4bd65d1 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -652,9 +652,38 @@
 	type record ImmediateAssignmentReject {
 		FeatureIndicator		feature_ind,
 		PageMode			page_mode,
-		ReqRefWaitInd4			payload
+		ReqRefWaitInd4			payload,
+		IARRestOctets			rest_octets
 	} with { variant "" };
 
+	/* 10.5.2.17 IAR (Immediate Assignment Reject) Rest Octets */
+	type record IARRestOctets {
+		ExtRAList		ext_ra_list,
+		BIT1			rel13_ind, // L/H
+		uint3_t			rcc optional
+		/* Addition in Rel-15: PEO IMM Cell Group Details struct */
+	} with {
+		variant (rel13_ind) "CSN.1 L/H"
+		variant (rcc) "PRESENCE(rel13_ind = '1'B)"
+
+		/* The TITAN's RAW encoder generates an octet-aligned octetstring,
+		 * so we should make sure that unused bits contain proper padding. */
+		variant "PADDING(yes), PADDING_PATTERN('00101011'B)"
+	};
+
+	/* Optional extended RA: 0 | 1 < Extended RA 1 : bit (5) > */
+	type record ExtRAOpt {
+		BIT1			presence, // L/H
+		BIT5			ext_ra optional
+	} with {
+		variant (presence) "CSN.1 L/H"
+		variant (ext_ra) "PRESENCE(presence = '1'B)"
+		/* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=562488 */
+		variant (ext_ra) "BYTEORDER(last)"
+	};
+
+	type record length(4) of ExtRAOpt ExtRAList;
+
 	/* 9.1.21 */
 	type record MeasurementReport {
 		MeasurementResults		meas_res

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18421
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: Ib1f16b310d6ca94f19a1700c78cb37e8b35ac570
Gerrit-Change-Number: 18421
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200522/358698dc/attachment.htm>


More information about the gerrit-log mailing list