pySim.ts_31_102: Add support for EF.EARFCNList

This adds a construct + pyosmocore.tlv based declarative encoder/decoder
for the EF.EARFCNList file used in the context of NB-IoT in later
release USIMs.

Change-Id: I16797ca58c3ad6ebaf588d04fec011a0cbcfcef3
This commit is contained in:
Harald Welte
2024-10-20 10:12:03 +02:00
committed by Philipp Maier
parent ba22e238f3
commit 12328c090d
4 changed files with 103 additions and 4 deletions

View File

@@ -3604,6 +3604,17 @@ update_binary ff
# bad file: MF/ADF.USIM/EF.XCAPConfigData/EF.XCAPConfigData, SW match failed! Expected 9000 and got 6a82: Wrong parameters - File not found
#
################################################################################
# MF/ADF.USIM/EF.EARFCNList #
################################################################################
# directory: MF/ADF.USIM/EF.EARFCNList (3f00/a0000000871002/6ffd)
# file: EF.EARFCNList (6ffd)
# structure: transparent
# RAW FCP Template: 621e8202412183026ffda506d00120d2010f8a01058b036f0606800200808800
# Decoded FCP Template: {'file_descriptor': {'file_descriptor_byte': {'shareable': True, 'file_type': 'working_ef', 'structure': 'transparent'}, 'record_len': None, 'num_of_rec': None}, 'file_identifier': '6ffd', 'proprietary_information': {'unknown_ber_tlv_ie_d0': {'raw': '20'}, 'toolkit_access_conditions': {'rfm_create': True, 'rfm_delete_terminate': True, 'other_applet_create': True, 'other_applet_delete_terminate': True}}, 'life_cycle_status_integer': 'operational_activated', 'security_attrib_referenced': {'ef_arr_file_id': '6f06', 'ef_arr_record_nr': 6}, 'file_size': 128, 'short_file_identifier': None}
select MF/ADF.USIM/EF.EARFCNList
update_binary ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
#
################################################################################
# MF/ADF.USIM/EF.MuDMiDConfigData #
################################################################################
# directory: MF/ADF.USIM/EF.MuDMiDConfigData (3f00/a0000000871002/6ffe)
@@ -4873,7 +4884,7 @@ aram_delete_all
################################################################################
# Export summary #
################################################################################
# total files visited: 345
# total files visited: 346
# bad files: 63
# MF/DF.GSM/EF.SUME/EF.SUME, SW match failed! Expected 9000 and got 6982: Command not allowed - Security status not satisfied
# MF/DF.GSM/EF.CPBCCH/EF.CPBCCH, SW match failed! Expected 9000 and got 6a82: Wrong parameters - File not found