ts_51_011: Fix bit-order in EF.VGCSS and EF.VBSS

Those files contain a bit-mask of active group IDs stored at the
respective positions in EV.VGCS and EF.VBS.  However, the bit-order
of each byte is reversed.

Change-Id: I77674c23823aae71c9504b1a85cd75266edadc6f
Related: OS#5784
This commit is contained in:
Harald Welte 2023-01-24 17:26:59 +01:00
parent 73a7fea357
commit 5b9472db7a
1 changed files with 2 additions and 2 deletions

View File

@ -714,8 +714,8 @@ class EF_VGCSS(TransparentEF):
def __init__(self, fid='6fb2', sfid=None, name='EF.VGCSS', size=(7, 7),
desc='Voice Group Call Service Status', **kwargs):
super().__init__(fid, sfid=sfid, name=name, desc=desc, size=size, **kwargs)
self._construct = BitStruct(
'flags'/Bit[50], Padding(6, pattern=b'\xff'))
self._construct = BitsSwapped(BitStruct(
'flags'/Bit[50], Padding(6, pattern=b'\xff')))
# TS 51.011 Section 10.3.24
class EF_eMLPP(TransparentEF):