annotate gsm-fw/cdg/sap/gsim.pdf @ 923:10b4bed10192

gsm-fw/L1: fix for the DSP patch corruption bug The L1 code we got from the LoCosto fw contains a feature for DSP CPU load measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the code dealing with that feature is conditionalized as #if (DSP >= 38), but one spot was missed, and the MCU code was writing into an API word dealing with this feature. In TCS211 this DSP API word happens to be used by the DSP code patch, hence that write was corrupting the patched DSP code.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 19 Oct 2015 17:13:56 +0000
parents a39ec5bb5549
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
652
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 ;********************************************************************************
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 ;*** File : gsim.pdf
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 ;*** Creation : Wed Mar 11 09:58:11 CST 2009
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 ;********************************************************************************
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 ;*** Document Type : Service Access Point Specification
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 ;*** Document Name : gsim
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 ;*** Document No. : 8441.113.99.004
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 ;*** Document Date : 2003-02-04
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 ;*** Document Status: BEING_PROCESSED
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 ;*** Document Author: LG
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 ;********************************************************************************
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:43:12 2007"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 PRAGMA LAST_MODIFIED "2003-02-04"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 PRAGMA ID_AND_VERSION "8441.113.99.004"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 CONST GSIM_PTMSI_NA 0xFFFFFFFF ; P-TMSI not applicable (i.e. this parameter shall be ignored)
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 CONST SIZE_SRES 4 ; size of sres
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 CONST SIZE_KC 8 ; size of kc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 CONST SIZE_RAND 16 ; size of rand
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 CONST MAX_IMSI 9 ; Number of bytes to be read from EF(IMSI)
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 VALTAB VAL_gu
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 VAL 0 GSIM_GU_NA "GPRS update status not applicable (i.e. this parameter shall be ignored)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 VAL 1 GSIM_GU1_UPDATED "last GPRS attach or RAU attempt successful"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 VAL 2 GSIM_GU2_NOT_UPDATED "last GPRS attach or RAU attempt failed procedurally"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 VAL 3 GSIM_GU3_ROAMING_NOT_ALLOWED "last GPRS attach or RAU attempt correctly performed, but negative answer from network received"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 VALTAB VAL_tmsi
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 VAL 0xFFFFFFFF GSIM_TMSI_INVALID "P-TMSI invalid (see GSM 3.03)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 VALTAB VAL_ptmsi_signature_flag
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 VAL 0 GSIM_PTMSI_SIG_DEL "P-TMSI Dignature shall be deleted"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 VAL 1 GSIM_PTMSI_SIG_VALID "P-TMSI Signature is valid"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 VAL 2 GSIM_PTMSI_SIG_NA "P-TMSI Signature not applicable (i.e. this parameter shall be ignored)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 VALTAB VAL_gsim_cksn
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 VAL 0 GSIM_CKSN_NA "GPRS ciphering key sequence number not applicable (i.e. this parameter shall be ignored)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 VALTAB VAL_sim_gprs_invalid
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 VAL 0 GSIM_SIM_GPRS_NA "not applicable (i.e. this parameter shall be ignored)"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 VAL 1 GSIM_SIM_GPRS_VALID "SIM is considered as valid for GPRS"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 VAL 2 GSIM_SIM_GPRS_INVALID "SIM is considered as invalid for GPRS"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 VAR gu "GPRS update status" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 VAL @p_gsim - VAL_gu@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 VAR rai "routing_area information" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 VAR tmsi "temporary mobile subscriber identity" L
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 VAL @p_gsim - VAL_tmsi@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 VAR ptmsi "packet temporary mobile subscriber identity" L
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 VAL @p_gsim - VAL_tmsi@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 VAR c_field "length of imsi" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 VAR field "imsi" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 VAR ptmsi_signature_flag "P-TMSI Signature flag" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 VAL @p_gsim - VAL_ptmsi_signature_flag@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 VAR gsim_kc "GPRS ciphering key" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 VAR gsim_cksn "GPRS ciphering key sequence number" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 VAL @p_gsim - VAL_gsim_cksn@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 VAR sres "authentication parameter Sres" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 VAR rand "authentication parameter rand" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 VAR sim_gprs_invalid "SIM invalid for GPRS service" B
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 VAL @p_gsim - VAL_sim_gprs_invalid@
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 VAR acc_contr_class "Access Control Class" S
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 COMP imsi_field "international mobile subscriber identity"
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 c_field ; length of imsi
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 field [MAX_IMSI] ; imsi
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 ; GSIM_UPDATE_REQ 0x2900
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 ; GSIM_STORE_KC_REQ 0x2901
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 ; GSIM_INSERTED_IND 0x6900
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 ; GSIM_REMOVED_IND 0x6901
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 ; GSIM_AUTHENTICATION_REQ 0x2902
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 ; GSIM_AUTHENTICATION_CNF 0x6902
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 PRIM GSIM_UPDATE_REQ 0x2900
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 sim_gprs_invalid ; SIM invalid for GPRS service
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 gu ; GPRS update status
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 ptmsi ; packet temporary mobile subscriber identity
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 ptmsi_signature_flag ; P-TMSI Signature flag
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 rai [7] ; routing area identification
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 PRIM GSIM_STORE_KC_REQ 0x2901
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 gsim_kc [8] ; GPRS ciphering key
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 gsim_cksn ; GPRS ciphering key sequence number
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 PRIM GSIM_INSERTED_IND 0x6900
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 sim_gprs_invalid ; SIM invalid for GPRS service
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 gu ; GPRS update status
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 rai [7] ; routing area identification
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 ptmsi ; packet temporary mobile subscriber identity
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 tmsi ; temporary mobile subscriber identity
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 imsi_field ; international mobile subscriber identity
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 gsim_kc [8] ; GPRS ciphering key
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 gsim_cksn ; GPRS ciphering key sequence number
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 acc_contr_class ; Access control class
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 PRIM GSIM_REMOVED_IND 0x6901
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 PRIM GSIM_AUTHENTICATION_REQ 0x2902
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 rand [SIZE_RAND] ; rand
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 gsim_cksn ; ciphering key sequence number
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 PRIM GSIM_AUTHENTICATION_CNF 0x6902
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 {
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 sres [SIZE_SRES] ; Sres
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 gsim_kc [SIZE_KC] ; Kc
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 }
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199
a39ec5bb5549 gsm-fw/cdg: imported MDF and PDF files from LoCosto, along with XML sources
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200