gsm_r: EF_IC: Network String Table Index is 16bit, not 8bit

As per EIRENE GSM-R SIM-Card FFFIS, EF_IC conatains records of 1+2+2+2
bytes, the network string table index is 16bit and not 8bit as we
implemented so far.

Change-Id: I9e3d4a48b3cb6fb0ecf887b04c308e903a99f547
This commit is contained in:
Harald Welte 2023-01-31 16:32:28 +01:00 committed by laforge
parent 5924ec4d97
commit 9181a69a55
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class EF_IC(LinFixedEF):
self._construct = Struct('next_table_type'/NextTableType,
'id_of_next_table'/HexAdapter(Bytes(2)),
'ic_decision_value'/BcdAdapter(Bytes(2)),
'network_string_table_index'/Int8ub)
'network_string_table_index'/Int16ub)
class EF_NW(LinFixedEF):