aboutsummaryrefslogtreecommitdiffstats
path: root/pysim-testdata
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-06-03 15:19:40 +0200
committerlaforge <laforge@osmocom.org>2020-08-28 08:32:55 +0000
commitca6739458e8eb8f15c981aa7343b66c770b42025 (patch)
treeab2262954e66a35324945a6fd932dacf7e90a9f5 /pysim-testdata
parent3c0bd7a41e8b5d9ecb61e9eab5ea299966096d6d (diff)
Add support for ADF_USIM/EF_EHPLMN
If the EF.EHPLMN exists, it contains the "Equivalent Home PLMN List". The odd part of that list is that it is not just a list of additional PLMN identities, but if the first digits of the IMSI are *not* listed in EF.EHPLMN, then the MCC/MNC of the IMSI prefix is suddently no longer considered the home network, but the subscriber is roaming. See TS 23.122: "If the HPLMN code derived from the IMSI is not present in the EHPLMN list, then it shall be treated as a Visited PLMN for PLMN selection purposes." Change-Id: I22d96ab4a424ec5bc1fb02f5e80165c646a748d3
Diffstat (limited to 'pysim-testdata')
-rw-r--r--pysim-testdata/sysmoISIM-SJA2.ok6
1 files changed, 6 insertions, 0 deletions
diff --git a/pysim-testdata/sysmoISIM-SJA2.ok b/pysim-testdata/sysmoISIM-SJA2.ok
index fd3f252..6054840 100644
--- a/pysim-testdata/sysmoISIM-SJA2.ok
+++ b/pysim-testdata/sysmoISIM-SJA2.ok
@@ -100,6 +100,12 @@ SIM Service Table: ff33ffff3f003f0f300cf0c3f00000
Service 58 - Extension 8
Service 59 - MMS User Connectivity Parameters
+EHPLMN:
+ 00f110 # MCC: 001 MNC: 001
+ ffffff # unused
+ ffffff # unused
+ ffffff # unused
+
USIM Service Table: beff9f9de73e0408400170730000002e00000000
Service 2 - Fixed Dialling Numbers (FDN)
Service 3 - Extension 2