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

fixeria gerrit-no-reply at lists.osmocom.org
Sun Jul 19 21:34:50 UTC 2020


fixeria has uploaded this change for review. ( 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(-)



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

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200719/1a79c153/attachment.htm>


More information about the gerrit-log mailing list