comparison cdg-hybrid/sap/gsim.pdf @ 212:e7a67accfad9

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