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
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 {