aboutsummaryrefslogtreecommitdiffstats
path: root/pySim/utils.py
diff options
context:
space:
mode:
authorBjoern Riemer <bjoern.c3@nixda.biz>2022-01-20 22:05:22 +0100
committerlaforge <laforge@osmocom.org>2022-01-22 12:58:00 +0000
commitffee89a031076b4a75b458443763757c29f554df (patch)
treeebe0b08cee676dfd65ead2885844c4a2d8e45ccc /pySim/utils.py
parentda57ef15290a359ee40d71b9de3024af8bd20658 (diff)
add missing bit definition for NG-RAN in xAcT
when encoding the AcT value bit 11 is correctly set when NG-RAN is present in the string representation, however the decoding of bit 11 was missing. Adds tests for the decoder as well. Change-Id: I910df28c4c59ec94cce9603377786325f6d8c1a3
Diffstat (limited to 'pySim/utils.py')
-rw-r--r--pySim/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pySim/utils.py b/pySim/utils.py
index e30c970..1806d0d 100644
--- a/pySim/utils.py
+++ b/pySim/utils.py
@@ -464,6 +464,7 @@ def dec_act(twohexbytes:Hexstr) -> List[str]:
act_list = [
{'bit': 15, 'name': "UTRAN"},
{'bit': 14, 'name': "E-UTRAN"},
+ {'bit': 11, 'name': "NG-RAN"},
{'bit': 7, 'name': "GSM"},
{'bit': 6, 'name': "GSM COMPACT"},
{'bit': 5, 'name': "cdma2000 HRPD"},