summaryrefslogtreecommitdiffstats
path: root/src/sim.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-08-23 13:20:24 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-08-23 14:29:22 -0500
commitf78eaf94cfc9e89e5d5bab143febe908f9b45cab (patch)
tree6b9f60d0afaf857b5f6647425b205c46c5b6dec5 /src/sim.c
parentfc70af8ea1c85d4e6369602e7ddfb709e9ce4eda (diff)
downloadofono-f78eaf94cfc9e89e5d5bab143febe908f9b45cab.tar.bz2
sim: Update the SIM initialization comment
Diffstat (limited to 'src/sim.c')
-rw-r--r--src/sim.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/sim.c b/src/sim.c
index 511a0682..dba1e150 100644
--- a/src/sim.c
+++ b/src/sim.c
@@ -1443,18 +1443,26 @@ static void sim_initialize(struct ofono_sim *sim)
* responsible for checking the PIN, reading the IMSI and signaling
* SIM ready condition.
*
- * The procedure according to 31.102 is roughly:
+ * The procedure according to 31.102, 51.011, 11.11 and CPHS 4.2 is
+ * roughly:
+ *
* Read EFecc
* Read EFli and EFpl
* SIM Pin check
* Request SIM phase (only in 51.011)
- * Read EFust
- * Read EFest
+ * Administrative information request (read EFad)
+ * Request CPHS Information (only in CPHS 4.2)
+ * Read EFsst (only in 11.11 & 51.011)
+ * Read EFust (only in 31.102)
+ * Read EFest (only in 31.102)
* Read IMSI
*
* At this point we signal the SIM ready condition and allow
* arbitrary files to be written or read, assuming their presence
* in the EFust
+ *
+ * We utilize the fact that EFphase is always readable and grab it
+ * early. We also grab the card ICCID if available.
*/
sim_determine_phase(sim);
}