Change in osmo-ttcn3-hacks[master]: library/GSM_RR_Types: fix bit/byte order in MobileAllocation

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/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Jul 20 06:54:54 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19325 )

Change subject: library/GSM_RR_Types: fix bit/byte order in MobileAllocation
......................................................................

library/GSM_RR_Types: fix bit/byte order in MobileAllocation

For more details, see 3GPP TS 44.018, figure 10.5.2.21.1.

Change-Id: I70b1baf01859d0cf3b8cec1aed04d73fc097a9b1
Related: SYS#4868, OS#4547
---
M library/GSM_RR_Types.ttcn
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 66e49fa..a0d8349 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -277,7 +277,10 @@
 	type record MobileAllocation {
 		uint8_t 	len,
 		bitstring	ma
-	} with { variant (len) "LENGTHTO(ma)" };
+	} with {
+		variant (len) "LENGTHTO(ma)"
+		variant (ma) "BYTEORDER(last), BITORDER(msb)"
+	};
 
 	/* 10.5.2.25a */
 	type record PktChDesc0Ind {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19325
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: I70b1baf01859d0cf3b8cec1aed04d73fc097a9b1
Gerrit-Change-Number: 19325
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200720/9b101367/attachment.htm>


More information about the gerrit-log mailing list