pycrate_osmo.L1CTL: fix wrong bl in ARFCNFlags

Fixes e3eecabc06, in which I used
wrong field length values.  ARFCNFlags should be 16 bits total.
This commit is contained in:
Vadim Yanitskiy 2022-05-13 17:07:18 +03:00
parent 95aac79206
commit d1cd22d75f
1 changed files with 2 additions and 2 deletions

View File

@ -223,13 +223,13 @@ class ARFCNFlags(Envelope):
_GEN = ( _GEN = (
Uint('PCS', bl=1), Uint('PCS', bl=1),
Uint('Uplink', bl=1), Uint('Uplink', bl=1),
Uint('spare', bl=6), Uint('spare', bl=4),
) )
class ARFCNBand(Envelope): class ARFCNBand(Envelope):
_GEN = ( _GEN = (
ARFCNFlags('Flags'), ARFCNFlags('Flags'),
Uint('ARFCN', bl=11), Uint('ARFCN', bl=10),
) )