aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-06-06 18:08:54 +0200
committerHarald Welte <laforge@osmocom.org>2023-06-07 11:14:07 +0200
commit1de62c41d7f98186deb346332ae08f56679bf6b8 (patch)
tree1cce18ca557a76e88ef49d4425a05535028ed026
parentb0e0dce80adb61aa45221a6ac45ba0e258fc4275 (diff)
pySim/apdu/ts_31_102.py: Add Rel17 5G NSWO context for GET IDENTITY
-rw-r--r--pySim/apdu/ts_31_102.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim/apdu/ts_31_102.py b/pySim/apdu/ts_31_102.py
index 7602e50..2200388 100644
--- a/pySim/apdu/ts_31_102.py
+++ b/pySim/apdu/ts_31_102.py
@@ -108,7 +108,7 @@ class UsimAuthenticateOdd(ApduCommand, n='AUTHENTICATE', ins=0x89, cla=['0X', '4
class UsimGetIdentity(ApduCommand, n='GET IDENTITY', ins=0x78, cla=['8X', 'CX', 'EX']):
_apdu_case = 4
_construct_p2 = BitStruct('scope'/Enum(Flag, mf=0, df_adf_specific=1),
- 'identity_context'/Enum(BitsInteger(7), suci=1))
+ 'identity_context'/Enum(BitsInteger(7), suci=1, suci_5g_nswo=2))
_tlv_rsp = SUCI_TlvDataObject
ApduCommands = ApduCommandSet('TS 31.102', cmds=[UsimAuthenticateEven, UsimAuthenticateOdd,