fixup library/GSM_RR_Types: fix BYTEORDER in MobileAllocation

The following bitstring in TITAN:

   0                 N    // N = NF - 1
  -------------------->
   0001 1011 1110 0100    // '0001101111100100'B

needs to be be encoded as follows 'on the wire':

   N                 0    // N = NF - 1
  <--------------------
   0010 0111 1101 1000    // '0010011111011000'B

so it basically gets inversed => we need to use BYTEORDER(first).

Change-Id: Iea2e3a9a7a0557d1ab5d935877d2161ee0988077
Fixes: I70b1baf01859d0cf3b8cec1aed04d73fc097a9b1
Related: SYS#4868, OS#4547
This commit is contained in:
Vadim Yanitskiy 2020-07-23 04:53:02 +07:00
parent 06c416125e
commit e2a6fdf304
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ module GSM_RR_Types {
bitstring ma
} with {
variant (len) "LENGTHTO(ma)"
variant (ma) "BYTEORDER(last), BITORDER(msb)"
variant (ma) "BYTEORDER(first), BITORDER(msb)"
};
/* 10.5.2.25a */