From d1cd22d75f1248868461d2dc8cc6032412998993 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 13 May 2022 17:07:18 +0300 Subject: [PATCH] pycrate_osmo.L1CTL: fix wrong bl in ARFCNFlags Fixes e3eecabc068194f3db3739b44da0f4fe9d9c61ea, in which I used wrong field length values. ARFCNFlags should be 16 bits total. --- pycrate_osmo/L1CTL.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycrate_osmo/L1CTL.py b/pycrate_osmo/L1CTL.py index 66c0618..4f42788 100644 --- a/pycrate_osmo/L1CTL.py +++ b/pycrate_osmo/L1CTL.py @@ -223,13 +223,13 @@ class ARFCNFlags(Envelope): _GEN = ( Uint('PCS', bl=1), Uint('Uplink', bl=1), - Uint('spare', bl=6), + Uint('spare', bl=4), ) class ARFCNBand(Envelope): _GEN = ( ARFCNFlags('Flags'), - Uint('ARFCN', bl=11), + Uint('ARFCN', bl=10), )