Change in pysim[master]: sysmoISIM-SJA2: Disable Service 95, 99, 115 in EF.UST in case ISIM is...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

herlesupreeth gerrit-no-reply at lists.osmocom.org
Wed Dec 23 13:52:20 UTC 2020


herlesupreeth has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/21859 )


Change subject: sysmoISIM-SJA2: Disable Service 95, 99, 115 in EF.UST in case ISIM is present
......................................................................

sysmoISIM-SJA2: Disable Service 95, 99, 115 in EF.UST in case ISIM is present

As per TS 31.102 version 15.2.0 Release 15, section 4.2.8, EFUST (USIM Service Table),
Service n°95, n°99 and n°115 shall not be declared available if an ISIM application is present on the UICC.

Change-Id: Id9709746de99585ad31c4e9659323484fda87b14
---
M pySim/cards.py
M pysim-testdata/sysmoISIM-SJA2.ok
2 files changed, 10 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/59/21859/1

diff --git a/pySim/cards.py b/pySim/cards.py
index 31be141..9fcc748 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -1257,6 +1257,7 @@
 
 			# After successfully programming EF.ePDGId and EF.ePDGSelection,
 			# Set service 106 and 107 as available in EF.UST
+			# Disable service 95, 99, 115 if ISIM application is present
 			if self.file_exists(EF_USIM_ADF_map['UST']):
 				sw = self.update_ust(106, 1)
 				if sw != '9000':
@@ -1264,6 +1265,15 @@
 				sw = self.update_ust(107, 1)
 				if sw != '9000':
 					print("Programming UST failed with code %s"%sw)
+				sw = self.update_ust(95, 0)
+				if sw != '9000':
+					print("Programming UST failed with code %s"%sw)
+				sw = self.update_ust(99, 0)
+				if sw != '9000':
+					print("Programming UST failed with code %s"%sw)
+				sw = self.update_ust(115, 0)
+				if sw != '9000':
+					print("Programming UST failed with code %s"%sw)
 
 		return
 
diff --git a/pysim-testdata/sysmoISIM-SJA2.ok b/pysim-testdata/sysmoISIM-SJA2.ok
index f925473..c3e6509 100644
--- a/pysim-testdata/sysmoISIM-SJA2.ok
+++ b/pysim-testdata/sysmoISIM-SJA2.ok
@@ -156,7 +156,6 @@
 	Service 90 - Operator CSG Lists and corresponding indications
 	Service 93 - Communication Control for IMS by USIM
 	Service 94 - Extended Terminal Applications
-	Service 95 - Support of UICC access to IMS
 	Service 106 - ePDG configuration Information support
 	Service 107 - ePDG configuration Information configured
 	Service 122 - 5GS Mobility Management Information

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/21859
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Id9709746de99585ad31c4e9659323484fda87b14
Gerrit-Change-Number: 21859
Gerrit-PatchSet: 1
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201223/ce7993c5/attachment.htm>


More information about the gerrit-log mailing list