comparison cdg211/cdginc/p_sim.h @ 4:56abf6cf8a0b

cdg211: cdginc/mdf/pdf files from TCS211-20070608
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 01:11:35 +0000
parents
children
comparison
equal deleted inserted replaced
3:93999a60b835 4:56abf6cf8a0b
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_sim.h |
5 | SOURCE : "__out__\g23m_dfile\prim\sim.pdf" |
6 | LastModified : "2003-01-24" |
7 | IdAndVersion : "6147.108.99.113" |
8 | SrcFileTime : "Thu Feb 2 12:06:02 2006" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 2007 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_SIM_H
24 #define P_SIM_H
25
26
27 #define CDG_ENTER__P_SIM_H
28
29 #define CDG_ENTER__FILENAME _P_SIM_H
30 #define CDG_ENTER__P_SIM_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_SIM_H__LAST_MODIFIED _2003_01_24
32 #define CDG_ENTER__P_SIM_H__ID_AND_VERSION _6147_108_99_113
33
34 #define CDG_ENTER__P_SIM_H__SRC_FILE_TIME _Thu_Feb_2_12_06_02_2006
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_SIM_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_sim.val"
44
45 #ifndef __T_imsi_field__
46 #define __T_imsi_field__
47 /*
48 * international mobile subscriber identity
49 * CCDGEN:WriteStruct_Count==2069
50 */
51 typedef struct
52 {
53 U8 c_field; /*< 0: 1> length of imsi */
54 U8 field[MAX_IMSI]; /*< 1: 9> imsi */
55 U8 _align0; /*< 10: 1> alignment */
56 U8 _align1; /*< 11: 1> alignment */
57 } T_imsi_field;
58 #endif
59
60 #ifndef __T_loc_info__
61 #define __T_loc_info__
62 /*
63 * location information
64 * CCDGEN:WriteStruct_Count==2070
65 */
66 typedef struct
67 {
68 U8 c_loc; /*< 0: 1> Length of Location Information */
69 U8 loc[MAX_LOCIGSM]; /*< 1: 11> Location Information */
70 } T_loc_info;
71 #endif
72
73 #ifndef __T_acc_ctrl__
74 #define __T_acc_ctrl__
75 /*
76 * access control classes
77 * CCDGEN:WriteStruct_Count==2071
78 */
79 typedef struct
80 {
81 U8 c_acc; /*< 0: 1> length of access control classes */
82 U8 acc[2]; /*< 1: 2> access control classes */
83 U8 _align0; /*< 3: 1> alignment */
84 } T_acc_ctrl;
85 #endif
86
87 #ifndef __T_bcch_inf__
88 #define __T_bcch_inf__
89 /*
90 * BCCH information
91 * CCDGEN:WriteStruct_Count==2072
92 */
93 typedef struct
94 {
95 U8 c_bcch; /*< 0: 1> Length of bcch information */
96 U8 bcch[16]; /*< 1: 16> bcch information */
97 U8 _align0; /*< 17: 1> alignment */
98 U8 _align1; /*< 18: 1> alignment */
99 U8 _align2; /*< 19: 1> alignment */
100 } T_bcch_inf;
101 #endif
102
103 #ifndef __T_kc_n__
104 #define __T_kc_n__
105 /*
106 * Kc and cipher key sequence number
107 * CCDGEN:WriteStruct_Count==2073
108 */
109 typedef struct
110 {
111 U8 c_kc; /*< 0: 1> Length of data field */
112 U8 kc[MAX_KC + 1]; /*< 1: 9> authentication parameter Kc */
113 U8 _align0; /*< 10: 1> alignment */
114 U8 _align1; /*< 11: 1> alignment */
115 } T_kc_n;
116 #endif
117
118 #ifndef __T_pref_plmn__
119 #define __T_pref_plmn__
120 /*
121 * Preferred PLMN list
122 * CCDGEN:WriteStruct_Count==2074
123 */
124 typedef struct
125 {
126 U8 c_pref; /*< 0: 1> Length of preferred PLMN list */
127 U8 pref[MAX_PREF_PLMN]; /*< 1:240> Preferred PLMN list */
128 U8 _align0; /*<241: 1> alignment */
129 U8 _align1; /*<242: 1> alignment */
130 U8 _align2; /*<243: 1> alignment */
131 } T_pref_plmn;
132 #endif
133
134 #ifndef __T_forb_plmn__
135 #define __T_forb_plmn__
136 /*
137 * Forbidden PLMN list
138 * CCDGEN:WriteStruct_Count==2075
139 */
140 typedef struct
141 {
142 U8 c_forb; /*< 0: 1> length of forbidden PLMN list */
143 U8 forb[12]; /*< 1: 12> Forbidden PLMN list */
144 U8 _align0; /*< 13: 1> alignment */
145 U8 _align1; /*< 14: 1> alignment */
146 U8 _align2; /*< 15: 1> alignment */
147 } T_forb_plmn;
148 #endif
149
150 #ifndef __T_stk_cmd__
151 #define __T_stk_cmd__
152 /*
153 * SIM toolkit command
154 * CCDGEN:WriteStruct_Count==2076
155 */
156 typedef struct
157 {
158 U16 l_cmd; /*< 0: 2> command length */
159 U16 o_cmd; /*< 2: 2> command offset */
160 U8 cmd[MAX_STK_CMD]; /*< 4:256> command data */
161 } T_stk_cmd;
162 #endif
163
164 #ifndef __T_gprs_loc_info__
165 #define __T_gprs_loc_info__
166 /*
167 * location information
168 * CCDGEN:WriteStruct_Count==2077
169 */
170 typedef struct
171 {
172 U8 c_loc; /*< 0: 1> Length of Location Information */
173 U8 loc[MAX_LOCIGPRS]; /*< 1: 14> Location Information */
174 U8 _align0; /*< 15: 1> alignment */
175 } T_gprs_loc_info;
176 #endif
177
178 #ifndef __T_cbmid_rec__
179 #define __T_cbmid_rec__
180 /*
181 * This structure contains the CBMID records
182 * CCDGEN:WriteStruct_Count==2078
183 */
184 typedef struct
185 {
186 U8 c_rec; /*< 0: 1> counter */
187 U8 rec[MAX_CBMID_REC]; /*< 1:255> Records in the EF(CBMID) */
188 } T_cbmid_rec;
189 #endif
190
191
192 /*
193 * End of substructure section, begin of primitive definition section
194 */
195
196 #ifndef __T_SIM_READ_REQ__
197 #define __T_SIM_READ_REQ__
198 /*
199 *
200 * CCDGEN:WriteStruct_Count==2079
201 */
202 typedef struct
203 {
204 U16 source; /*< 0: 2> source process */
205 U16 offset; /*< 2: 2> offset of data field */
206 U16 datafield; /*< 4: 2> data field identification */
207 U8 length; /*< 6: 1> length of data field */
208 U8 max_length; /*< 7: 1> Maximum of length */
209 } T_SIM_READ_REQ;
210 #endif
211
212 #ifndef __T_SIM_READ_CNF__
213 #define __T_SIM_READ_CNF__
214 /*
215 *
216 * CCDGEN:WriteStruct_Count==2080
217 */
218 typedef struct
219 {
220 U16 datafield; /*< 0: 2> data field identification */
221 U16 cause; /*< 2: 2> error code */
222 U8 length; /*< 4: 1> length of data field */
223 U8 trans_data[MAX_SIM_CMD]; /*< 5:256> Transparent data content */
224 U8 _align0; /*<261: 1> alignment */
225 U8 _align1; /*<262: 1> alignment */
226 U8 _align2; /*<263: 1> alignment */
227 } T_SIM_READ_CNF;
228 #endif
229
230 #ifndef __T_SIM_UPDATE_REQ__
231 #define __T_SIM_UPDATE_REQ__
232 /*
233 *
234 * CCDGEN:WriteStruct_Count==2081
235 */
236 typedef struct
237 {
238 U16 source; /*< 0: 2> source process */
239 U16 offset; /*< 2: 2> offset of data field */
240 U16 datafield; /*< 4: 2> data field identification */
241 U8 length; /*< 6: 1> length of data field */
242 U8 trans_data[MAX_SIM_CMD]; /*< 7:256> Transparent data content */
243 U8 _align0; /*<263: 1> alignment */
244 } T_SIM_UPDATE_REQ;
245 #endif
246
247 #ifndef __T_SIM_UPDATE_CNF__
248 #define __T_SIM_UPDATE_CNF__
249 /*
250 *
251 * CCDGEN:WriteStruct_Count==2082
252 */
253 typedef struct
254 {
255 U16 datafield; /*< 0: 2> data field identification */
256 U16 cause; /*< 2: 2> error code */
257 } T_SIM_UPDATE_CNF;
258 #endif
259
260 #ifndef __T_SIM_READ_RECORD_REQ__
261 #define __T_SIM_READ_RECORD_REQ__
262 /*
263 *
264 * CCDGEN:WriteStruct_Count==2083
265 */
266 typedef struct
267 {
268 U16 source; /*< 0: 2> source process */
269 U16 datafield; /*< 2: 2> data field identification */
270 U8 record; /*< 4: 1> record number */
271 U8 length; /*< 5: 1> length of data field */
272 U8 _align0; /*< 6: 1> alignment */
273 U8 _align1; /*< 7: 1> alignment */
274 } T_SIM_READ_RECORD_REQ;
275 #endif
276
277 #ifndef __T_SIM_READ_RECORD_CNF__
278 #define __T_SIM_READ_RECORD_CNF__
279 /*
280 *
281 * CCDGEN:WriteStruct_Count==2084
282 */
283 typedef struct
284 {
285 U16 datafield; /*< 0: 2> data field identification */
286 U16 cause; /*< 2: 2> error code */
287 U8 record; /*< 4: 1> record number */
288 U8 max_record; /*< 5: 1> Maximum record number */
289 U8 length; /*< 6: 1> length of data field */
290 U8 linear_data[MAX_SIM_CMD]; /*< 7:256> Linear fixed data content */
291 U8 _align0; /*<263: 1> alignment */
292 } T_SIM_READ_RECORD_CNF;
293 #endif
294
295 #ifndef __T_SIM_UPDATE_RECORD_REQ__
296 #define __T_SIM_UPDATE_RECORD_REQ__
297 /*
298 *
299 * CCDGEN:WriteStruct_Count==2085
300 */
301 typedef struct
302 {
303 U16 source; /*< 0: 2> source process */
304 U16 datafield; /*< 2: 2> data field identification */
305 U8 record; /*< 4: 1> record number */
306 U8 length; /*< 5: 1> length of data field */
307 U8 linear_data[MAX_SIM_CMD]; /*< 6:256> Linear fixed data content */
308 U8 _align0; /*<262: 1> alignment */
309 U8 _align1; /*<263: 1> alignment */
310 } T_SIM_UPDATE_RECORD_REQ;
311 #endif
312
313 #ifndef __T_SIM_UPDATE_RECORD_CNF__
314 #define __T_SIM_UPDATE_RECORD_CNF__
315 /*
316 *
317 * CCDGEN:WriteStruct_Count==2086
318 */
319 typedef struct
320 {
321 U16 datafield; /*< 0: 2> data field identification */
322 U8 record; /*< 2: 1> record number */
323 U8 _align0; /*< 3: 1> alignment */
324 U16 cause; /*< 4: 2> error code */
325 U8 _align1; /*< 6: 1> alignment */
326 U8 _align2; /*< 7: 1> alignment */
327 } T_SIM_UPDATE_RECORD_CNF;
328 #endif
329
330 #ifndef __T_SIM_INCREMENT_REQ__
331 #define __T_SIM_INCREMENT_REQ__
332 /*
333 *
334 * CCDGEN:WriteStruct_Count==2087
335 */
336 typedef struct
337 {
338 U16 source; /*< 0: 2> source process */
339 U16 datafield; /*< 2: 2> data field identification */
340 U8 length; /*< 4: 1> length of data field */
341 U8 linear_data[MAX_SIM_CMD]; /*< 5:256> Linear fixed data content */
342 U8 _align0; /*<261: 1> alignment */
343 U8 _align1; /*<262: 1> alignment */
344 U8 _align2; /*<263: 1> alignment */
345 } T_SIM_INCREMENT_REQ;
346 #endif
347
348 #ifndef __T_SIM_INCREMENT_CNF__
349 #define __T_SIM_INCREMENT_CNF__
350 /*
351 *
352 * CCDGEN:WriteStruct_Count==2088
353 */
354 typedef struct
355 {
356 U16 datafield; /*< 0: 2> data field identification */
357 U16 cause; /*< 2: 2> error code */
358 U8 length; /*< 4: 1> length of data field */
359 U8 linear_data[MAX_SIM_CMD]; /*< 5:256> Linear fixed data content */
360 U8 _align0; /*<261: 1> alignment */
361 U8 _align1; /*<262: 1> alignment */
362 U8 _align2; /*<263: 1> alignment */
363 } T_SIM_INCREMENT_CNF;
364 #endif
365
366 #ifndef __T_SIM_VERIFY_PIN_REQ__
367 #define __T_SIM_VERIFY_PIN_REQ__
368 /*
369 *
370 * CCDGEN:WriteStruct_Count==2089
371 */
372 typedef struct
373 {
374 U16 source; /*< 0: 2> source process */
375 U8 pin[MAX_PIN_LEN]; /*< 2: 8> personal identification number */
376 U8 pin_id; /*< 10: 1> PIN identification */
377 U8 _align0; /*< 11: 1> alignment */
378 } T_SIM_VERIFY_PIN_REQ;
379 #endif
380
381 #ifndef __T_SIM_VERIFY_PIN_CNF__
382 #define __T_SIM_VERIFY_PIN_CNF__
383 /*
384 *
385 * CCDGEN:WriteStruct_Count==2090
386 */
387 typedef struct
388 {
389 U16 cause; /*< 0: 2> error code */
390 U8 pin_id; /*< 2: 1> PIN identification */
391 U8 pin_cnt; /*< 3: 1> PIN counter */
392 U8 puk_cnt; /*< 4: 1> PUK counter */
393 U8 pin2_cnt; /*< 5: 1> PIN 2 counter */
394 U8 puk2_cnt; /*< 6: 1> PUK 2 counter */
395 U8 _align0; /*< 7: 1> alignment */
396 } T_SIM_VERIFY_PIN_CNF;
397 #endif
398
399 #ifndef __T_SIM_CHANGE_PIN_REQ__
400 #define __T_SIM_CHANGE_PIN_REQ__
401 /*
402 *
403 * CCDGEN:WriteStruct_Count==2091
404 */
405 typedef struct
406 {
407 U16 source; /*< 0: 2> source process */
408 U8 old_pin[MAX_PIN_LEN]; /*< 2: 8> personal identification number */
409 U8 new_pin[MAX_PIN_LEN]; /*< 10: 8> personal identification number */
410 U8 pin_id; /*< 18: 1> PIN identification */
411 U8 _align0; /*< 19: 1> alignment */
412 } T_SIM_CHANGE_PIN_REQ;
413 #endif
414
415 #ifndef __T_SIM_CHANGE_PIN_CNF__
416 #define __T_SIM_CHANGE_PIN_CNF__
417 /*
418 *
419 * CCDGEN:WriteStruct_Count==2092
420 */
421 typedef struct
422 {
423 U16 cause; /*< 0: 2> error code */
424 U8 pin_id; /*< 2: 1> PIN identification */
425 U8 pin_cnt; /*< 3: 1> PIN counter */
426 U8 puk_cnt; /*< 4: 1> PUK counter */
427 U8 pin2_cnt; /*< 5: 1> PIN 2 counter */
428 U8 puk2_cnt; /*< 6: 1> PUK 2 counter */
429 U8 _align0; /*< 7: 1> alignment */
430 } T_SIM_CHANGE_PIN_CNF;
431 #endif
432
433 #ifndef __T_SIM_DISABLE_PIN_REQ__
434 #define __T_SIM_DISABLE_PIN_REQ__
435 /*
436 *
437 * CCDGEN:WriteStruct_Count==2093
438 */
439 typedef struct
440 {
441 U16 source; /*< 0: 2> source process */
442 U8 pin[MAX_PIN_LEN]; /*< 2: 8> personal identification number */
443 U8 _align0; /*< 10: 1> alignment */
444 U8 _align1; /*< 11: 1> alignment */
445 } T_SIM_DISABLE_PIN_REQ;
446 #endif
447
448 #ifndef __T_SIM_DISABLE_PIN_CNF__
449 #define __T_SIM_DISABLE_PIN_CNF__
450 /*
451 *
452 * CCDGEN:WriteStruct_Count==2094
453 */
454 typedef struct
455 {
456 U16 cause; /*< 0: 2> error code */
457 U8 pin_cnt; /*< 2: 1> PIN counter */
458 U8 puk_cnt; /*< 3: 1> PUK counter */
459 U8 pin2_cnt; /*< 4: 1> PIN 2 counter */
460 U8 puk2_cnt; /*< 5: 1> PUK 2 counter */
461 U8 _align0; /*< 6: 1> alignment */
462 U8 _align1; /*< 7: 1> alignment */
463 } T_SIM_DISABLE_PIN_CNF;
464 #endif
465
466 #ifndef __T_SIM_ENABLE_PIN_REQ__
467 #define __T_SIM_ENABLE_PIN_REQ__
468 /*
469 *
470 * CCDGEN:WriteStruct_Count==2095
471 */
472 typedef struct
473 {
474 U16 source; /*< 0: 2> source process */
475 U8 pin[MAX_PIN_LEN]; /*< 2: 8> personal identification number */
476 U8 _align0; /*< 10: 1> alignment */
477 U8 _align1; /*< 11: 1> alignment */
478 } T_SIM_ENABLE_PIN_REQ;
479 #endif
480
481 #ifndef __T_SIM_ENABLE_PIN_CNF__
482 #define __T_SIM_ENABLE_PIN_CNF__
483 /*
484 *
485 * CCDGEN:WriteStruct_Count==2096
486 */
487 typedef struct
488 {
489 U16 cause; /*< 0: 2> error code */
490 U8 pin_cnt; /*< 2: 1> PIN counter */
491 U8 puk_cnt; /*< 3: 1> PUK counter */
492 U8 pin2_cnt; /*< 4: 1> PIN 2 counter */
493 U8 puk2_cnt; /*< 5: 1> PUK 2 counter */
494 U8 _align0; /*< 6: 1> alignment */
495 U8 _align1; /*< 7: 1> alignment */
496 } T_SIM_ENABLE_PIN_CNF;
497 #endif
498
499 #ifndef __T_SIM_UNBLOCK_REQ__
500 #define __T_SIM_UNBLOCK_REQ__
501 /*
502 *
503 * CCDGEN:WriteStruct_Count==2097
504 */
505 typedef struct
506 {
507 U16 source; /*< 0: 2> source process */
508 U8 unblock_key[MAX_PIN_LEN]; /*< 2: 8> unblocking key */
509 U8 pin[MAX_PIN_LEN]; /*< 10: 8> personal identification number */
510 U8 pin_id; /*< 18: 1> PIN identification */
511 U8 _align0; /*< 19: 1> alignment */
512 } T_SIM_UNBLOCK_REQ;
513 #endif
514
515 #ifndef __T_SIM_UNBLOCK_CNF__
516 #define __T_SIM_UNBLOCK_CNF__
517 /*
518 *
519 * CCDGEN:WriteStruct_Count==2098
520 */
521 typedef struct
522 {
523 U16 cause; /*< 0: 2> error code */
524 U8 pin_id; /*< 2: 1> PIN identification */
525 U8 pin_cnt; /*< 3: 1> PIN counter */
526 U8 puk_cnt; /*< 4: 1> PUK counter */
527 U8 pin2_cnt; /*< 5: 1> PIN 2 counter */
528 U8 puk2_cnt; /*< 6: 1> PUK 2 counter */
529 U8 _align0; /*< 7: 1> alignment */
530 } T_SIM_UNBLOCK_CNF;
531 #endif
532
533 #ifndef __T_SIM_AUTHENTICATION_REQ__
534 #define __T_SIM_AUTHENTICATION_REQ__
535 /*
536 *
537 * CCDGEN:WriteStruct_Count==2099
538 */
539 typedef struct
540 {
541 U16 source; /*< 0: 2> source process */
542 U8 rand[MAX_RAND]; /*< 2: 16> authentication parameter rand */
543 U8 cksn; /*< 18: 1> ciphering key sequence number */
544 U8 _align0; /*< 19: 1> alignment */
545 } T_SIM_AUTHENTICATION_REQ;
546 #endif
547
548 #ifndef __T_SIM_AUTHENTICATION_CNF__
549 #define __T_SIM_AUTHENTICATION_CNF__
550 /*
551 *
552 * CCDGEN:WriteStruct_Count==2100
553 */
554 typedef struct
555 {
556 U8 sres[MAX_SRES]; /*< 0: 4> authentication parameter Sres */
557 U8 kc[MAX_KC]; /*< 4: 8> authentication parameter Kc */
558 } T_SIM_AUTHENTICATION_CNF;
559 #endif
560
561 #ifndef __T_SIM_MMI_INSERT_IND__
562 #define __T_SIM_MMI_INSERT_IND__
563 /*
564 *
565 * CCDGEN:WriteStruct_Count==2101
566 */
567 typedef struct
568 {
569 U8 func; /*< 0: 1> SIM card functionality */
570 U8 sim_serv[MAX_SRV_TBL]; /*< 1: 16> SIM service table */
571 U8 _align0; /*< 17: 1> alignment */
572 U8 _align1; /*< 18: 1> alignment */
573 U8 _align2; /*< 19: 1> alignment */
574 T_imsi_field imsi_field; /*< 20: 12> international mobile subscriber identity */
575 T_pref_plmn pref_plmn; /*< 32:244> Preferred PLMN list */
576 U8 phase; /*<276: 1> phase of SIM card */
577 U8 access_acm; /*<277: 1> Access ACM */
578 U8 access_acmmax; /*<278: 1> Access ACMMAX */
579 U8 access_puct; /*<279: 1> Access PUCT */
580 T_cbmid_rec cbmid_rec; /*<280:256> This structure contains the CBMID records */
581 } T_SIM_MMI_INSERT_IND;
582 #endif
583
584 #ifndef __T_SIM_MM_INSERT_IND__
585 #define __T_SIM_MM_INSERT_IND__
586 /*
587 *
588 * CCDGEN:WriteStruct_Count==2102
589 */
590 typedef struct
591 {
592 U8 c_ad; /*< 0: 1> counter */
593 U8 ad[MAX_AD]; /*< 1: 4> Contents of Administrative Data file */
594 U8 _align0; /*< 5: 1> alignment */
595 U8 _align1; /*< 6: 1> alignment */
596 U8 _align2; /*< 7: 1> alignment */
597 T_imsi_field imsi_field; /*< 8: 12> international mobile subscriber identity */
598 T_loc_info loc_info; /*< 20: 12> location information */
599 T_acc_ctrl acc_ctrl; /*< 32: 4> access control classes */
600 T_bcch_inf bcch_inf; /*< 36: 20> BCCH information */
601 T_kc_n kc_n; /*< 56: 12> Kc and cipher key sequence number */
602 T_pref_plmn pref_plmn; /*< 68:244> Preferred PLMN list */
603 T_forb_plmn forb_plmn; /*<312: 16> Forbidden PLMN list */
604 U8 phase; /*<328: 1> phase of SIM card */
605 U8 hplmn; /*<329: 1> HPLMN search period */
606 U8 v_act_hplmn; /*<330: 1> valid-flag */
607 U8 act_hplmn[MAX_SIM_PLMN_SIZE]; /*<331: 3> Acting HPLMN */
608 U8 _align3; /*<334: 1> alignment */
609 U8 _align4; /*<335: 1> alignment */
610 } T_SIM_MM_INSERT_IND;
611 #endif
612
613 #ifndef __T_SIM_REMOVE_IND__
614 #define __T_SIM_REMOVE_IND__
615 /*
616 *
617 * CCDGEN:WriteStruct_Count==2103
618 */
619 typedef struct
620 {
621 U16 cause; /*< 0: 2> error code */
622 U8 _align0; /*< 2: 1> alignment */
623 U8 _align1; /*< 3: 1> alignment */
624 } T_SIM_REMOVE_IND;
625 #endif
626
627 #ifndef __T_SIM_MM_UPDATE_REQ__
628 #define __T_SIM_MM_UPDATE_REQ__
629 /*
630 *
631 * CCDGEN:WriteStruct_Count==2104
632 */
633 typedef struct
634 {
635 T_loc_info loc_info; /*< 0: 12> location information */
636 T_bcch_inf bcch_inf; /*< 12: 20> BCCH information */
637 T_forb_plmn forb_plmn; /*< 32: 16> Forbidden PLMN list */
638 U8 cksn; /*< 48: 1> ciphering key sequence number */
639 U8 kc[MAX_KC]; /*< 49: 8> authentication parameter Kc */
640 U8 _align0; /*< 57: 1> alignment */
641 U16 cell_identity; /*< 58: 2> cell identity */
642 } T_SIM_MM_UPDATE_REQ;
643 #endif
644
645 #ifndef __T_SIM_SYNC_REQ__
646 #define __T_SIM_SYNC_REQ__
647 /*
648 *
649 * CCDGEN:WriteStruct_Count==2105
650 */
651 typedef struct
652 {
653 U8 synccs; /*< 0: 1> Synchronisation Cause */
654 U8 _align0; /*< 1: 1> alignment */
655 U8 _align1; /*< 2: 1> alignment */
656 U8 _align2; /*< 3: 1> alignment */
657 } T_SIM_SYNC_REQ;
658 #endif
659
660 #ifndef __T_SIM_SYNC_CNF__
661 #define __T_SIM_SYNC_CNF__
662 /*
663 *
664 * CCDGEN:WriteStruct_Count==2106
665 */
666 typedef struct
667 {
668 U16 cause; /*< 0: 2> error code */
669 U8 _align0; /*< 2: 1> alignment */
670 U8 _align1; /*< 3: 1> alignment */
671 } T_SIM_SYNC_CNF;
672 #endif
673
674 #ifndef __T_SIM_ACTIVATE_REQ__
675 #define __T_SIM_ACTIVATE_REQ__
676 /*
677 *
678 * CCDGEN:WriteStruct_Count==2107
679 */
680 typedef struct
681 {
682 U8 proc; /*< 0: 1> procedure type */
683 U8 mmi_pro_file; /*< 1: 1> MMI profile */
684 U8 stk_pro_file[MAX_STK_PRF]; /*< 2: 20> SIM toolkit profile */
685 U8 cust_mode; /*< 22: 1> Customisation Mode */
686 U8 sim_num; /*< 23: 1> SIM Interface Identifier */
687 U8 v_trmst_file; /*< 24: 1> valid-flag */
688 U8 trmst_file[MAX_TRMST]; /*< 25: 8> Terminal Support Table EF */
689 U8 _align0; /*< 33: 1> alignment */
690 U8 _align1; /*< 34: 1> alignment */
691 U8 _align2; /*< 35: 1> alignment */
692 } T_SIM_ACTIVATE_REQ;
693 #endif
694
695 #ifndef __T_SIM_ACTIVATE_CNF__
696 #define __T_SIM_ACTIVATE_CNF__
697 /*
698 *
699 * CCDGEN:WriteStruct_Count==2108
700 */
701 typedef struct
702 {
703 U16 cause; /*< 0: 2> error code */
704 U8 pin_cnt; /*< 2: 1> PIN counter */
705 U8 puk_cnt; /*< 3: 1> PUK counter */
706 U8 pin2_cnt; /*< 4: 1> PIN 2 counter */
707 U8 puk2_cnt; /*< 5: 1> PUK 2 counter */
708 U8 ec_code[MAX_ECC]; /*< 6: 15> Emergency call codes */
709 U8 pref_lang[MAX_LNG_PREF]; /*< 21: 5> preferred languages */
710 U8 sim_num; /*< 26: 1> SIM Interface Identifier */
711 U8 c_atr; /*< 27: 1> counter */
712 U8 atr[MAX_SIM_ATR]; /*< 28: 33> Answer to Reset */
713 U8 _align0; /*< 61: 1> alignment */
714 U8 _align1; /*< 62: 1> alignment */
715 U8 _align2; /*< 63: 1> alignment */
716 } T_SIM_ACTIVATE_CNF;
717 #endif
718
719 #ifndef __T_SIM_SMS_INSERT_IND__
720 #define __T_SIM_SMS_INSERT_IND__
721 /*
722 *
723 * CCDGEN:WriteStruct_Count==2109
724 */
725 typedef struct
726 {
727 U8 phase; /*< 0: 1> phase of SIM card */
728 U8 tp_mr; /*< 1: 1> message reference */
729 U8 mem_cap_avail; /*< 2: 1> memory capacity available flag */
730 U8 download_sms; /*< 3: 1> Download SMS Flag */
731 U8 smsr_mem_cap; /*< 4: 1> Indicator for short message status report storage */
732 U8 _align0; /*< 5: 1> alignment */
733 U8 _align1; /*< 6: 1> alignment */
734 U8 _align2; /*< 7: 1> alignment */
735 } T_SIM_SMS_INSERT_IND;
736 #endif
737
738 #ifndef __T_SIM_TOOLKIT_REQ__
739 #define __T_SIM_TOOLKIT_REQ__
740 /*
741 *
742 * CCDGEN:WriteStruct_Count==2110
743 */
744 typedef struct
745 {
746 U16 source; /*< 0: 2> source process */
747 U8 req_id; /*< 2: 1> identifies a certain SIM toolkit procedure */
748 U8 _align0; /*< 3: 1> alignment */
749 T_stk_cmd stk_cmd; /*< 4:260> SIM toolkit command */
750 } T_SIM_TOOLKIT_REQ;
751 #endif
752
753 #ifndef __T_SIM_TOOLKIT_RES__
754 #define __T_SIM_TOOLKIT_RES__
755 /*
756 *
757 * CCDGEN:WriteStruct_Count==2111
758 */
759 typedef struct
760 {
761 T_stk_cmd stk_cmd; /*< 0:260> SIM toolkit command */
762 } T_SIM_TOOLKIT_RES;
763 #endif
764
765 #ifndef __T_SIM_TOOLKIT_IND__
766 #define __T_SIM_TOOLKIT_IND__
767 /*
768 *
769 * CCDGEN:WriteStruct_Count==2112
770 */
771 typedef struct
772 {
773 T_stk_cmd stk_cmd; /*< 0:260> SIM toolkit command */
774 } T_SIM_TOOLKIT_IND;
775 #endif
776
777 #ifndef __T_SIM_TOOLKIT_CNF__
778 #define __T_SIM_TOOLKIT_CNF__
779 /*
780 *
781 * CCDGEN:WriteStruct_Count==2113
782 */
783 typedef struct
784 {
785 U16 cause; /*< 0: 2> error code */
786 U8 req_id; /*< 2: 1> identifies a certain SIM toolkit procedure */
787 U8 _align0; /*< 3: 1> alignment */
788 T_stk_cmd stk_cmd; /*< 4:260> SIM toolkit command */
789 } T_SIM_TOOLKIT_CNF;
790 #endif
791
792 #ifndef __T_SIM_ACTIVATE_IND__
793 #define __T_SIM_ACTIVATE_IND__
794 /*
795 *
796 * CCDGEN:WriteStruct_Count==2114
797 */
798 typedef struct
799 {
800 U16 cause; /*< 0: 2> error code */
801 U8 pin_cnt; /*< 2: 1> PIN counter */
802 U8 puk_cnt; /*< 3: 1> PUK counter */
803 U8 pin2_cnt; /*< 4: 1> PIN 2 counter */
804 U8 puk2_cnt; /*< 5: 1> PUK 2 counter */
805 U8 ec_code[MAX_ECC]; /*< 6: 15> Emergency call codes */
806 U8 pref_lang[MAX_LNG_PREF]; /*< 21: 5> preferred languages */
807 U8 c_atr; /*< 26: 1> counter */
808 U8 atr[MAX_SIM_ATR]; /*< 27: 33> Answer to Reset */
809 } T_SIM_ACTIVATE_IND;
810 #endif
811
812 #ifndef __T_SIM_MM_INFO_IND__
813 #define __T_SIM_MM_INFO_IND__
814 /*
815 *
816 * CCDGEN:WriteStruct_Count==2115
817 */
818 typedef struct
819 {
820 T_pref_plmn pref_plmn; /*< 0:244> Preferred PLMN list */
821 } T_SIM_MM_INFO_IND;
822 #endif
823
824 #ifndef __T_SIM_ACCESS_REQ__
825 #define __T_SIM_ACCESS_REQ__
826 /*
827 *
828 * CCDGEN:WriteStruct_Count==2116
829 */
830 typedef struct
831 {
832 U16 source; /*< 0: 2> source process */
833 U16 datafield; /*< 2: 2> data field identification */
834 U8 sim_command; /*< 4: 1> SIM Command */
835 U8 p1; /*< 5: 1> P1 Parameter */
836 U8 p2; /*< 6: 1> P2 Parameter */
837 U8 p3; /*< 7: 1> P3 Parameter */
838 U16 c_trans_data; /*< 8: 2> counter */
839 U8 trans_data[MAX_SIM_TRANSP]; /*< 10:262> Transparent data content */
840 } T_SIM_ACCESS_REQ;
841 #endif
842
843 #ifndef __T_SIM_ACCESS_CNF__
844 #define __T_SIM_ACCESS_CNF__
845 /*
846 *
847 * CCDGEN:WriteStruct_Count==2117
848 */
849 typedef struct
850 {
851 U16 cause; /*< 0: 2> error code */
852 U8 sw1; /*< 2: 1> SW1 Parameter */
853 U8 sw2; /*< 3: 1> SW2 Parameter */
854 U16 c_trans_data; /*< 4: 2> counter */
855 U8 trans_data[MAX_SIM_CMD]; /*< 6:256> Transparent data content */
856 U8 _align0; /*<262: 1> alignment */
857 U8 _align1; /*<263: 1> alignment */
858 } T_SIM_ACCESS_CNF;
859 #endif
860
861 #ifndef __T_SIM_FILE_UPDATE_IND__
862 #define __T_SIM_FILE_UPDATE_IND__
863 /*
864 *
865 * CCDGEN:WriteStruct_Count==2118
866 */
867 typedef struct
868 {
869 U16 val_nr; /*< 0: 2> valid entries of a file ID list */
870 U16 file_id[MAX_FILE_ID]; /*< 2:128> Identifier of an EF */
871 U8 _align0; /*<130: 1> alignment */
872 U8 _align1; /*<131: 1> alignment */
873 } T_SIM_FILE_UPDATE_IND;
874 #endif
875
876 #ifndef __T_SIM_FILE_UPDATE_RES__
877 #define __T_SIM_FILE_UPDATE_RES__
878 /*
879 *
880 * CCDGEN:WriteStruct_Count==2119
881 */
882 typedef struct
883 {
884 U16 source; /*< 0: 2> source process */
885 U16 fu_rsc; /*< 2: 2> result code for SIM_FILE_UPDATE_IND */
886 } T_SIM_FILE_UPDATE_RES;
887 #endif
888
889 #ifndef __T_SIM_GMM_INSERT_IND__
890 #define __T_SIM_GMM_INSERT_IND__
891 /*
892 *
893 * CCDGEN:WriteStruct_Count==2120
894 */
895 typedef struct
896 {
897 U8 op_mode; /*< 0: 1> operation mode */
898 U8 _align0; /*< 1: 1> alignment */
899 U8 _align1; /*< 2: 1> alignment */
900 U8 _align2; /*< 3: 1> alignment */
901 T_imsi_field imsi_field; /*< 4: 12> international mobile subscriber identity */
902 T_loc_info loc_info; /*< 16: 12> location information */
903 T_gprs_loc_info gprs_loc_info; /*< 28: 16> location information */
904 T_acc_ctrl acc_ctrl; /*< 44: 4> access control classes */
905 T_kc_n kc_n; /*< 48: 12> Kc and cipher key sequence number */
906 U8 phase; /*< 60: 1> phase of SIM card */
907 U8 _align3; /*< 61: 1> alignment */
908 U8 _align4; /*< 62: 1> alignment */
909 U8 _align5; /*< 63: 1> alignment */
910 } T_SIM_GMM_INSERT_IND;
911 #endif
912
913 #ifndef __T_SIM_GMM_UPDATE_REQ__
914 #define __T_SIM_GMM_UPDATE_REQ__
915 /*
916 *
917 * CCDGEN:WriteStruct_Count==2121
918 */
919 typedef struct
920 {
921 T_gprs_loc_info gprs_loc_info; /*< 0: 16> location information */
922 U8 cksn; /*< 16: 1> ciphering key sequence number */
923 U8 kc[MAX_KC]; /*< 17: 8> authentication parameter Kc */
924 U8 att_status; /*< 25: 1> GPRS IMSI attach status */
925 U8 _align0; /*< 26: 1> alignment */
926 U8 _align1; /*< 27: 1> alignment */
927 } T_SIM_GMM_UPDATE_REQ;
928 #endif
929
930 #ifndef __T_SIM_DTI_REQ__
931 #define __T_SIM_DTI_REQ__
932 /*
933 *
934 * CCDGEN:WriteStruct_Count==2122
935 */
936 typedef struct
937 {
938 U32 link_id; /*< 0: 4> DTI link identifier */
939 U8 dti_conn; /*< 4: 1> connection qualifier */
940 U8 dti_direction; /*< 5: 1> DTI direction */
941 U8 _align0; /*< 6: 1> alignment */
942 U8 _align1; /*< 7: 1> alignment */
943 U32 entity_name; /*< 8: 4> DTI entity name */
944 } T_SIM_DTI_REQ;
945 #endif
946
947 #ifndef __T_SIM_DTI_CNF__
948 #define __T_SIM_DTI_CNF__
949 /*
950 *
951 * CCDGEN:WriteStruct_Count==2123
952 */
953 typedef struct
954 {
955 U32 link_id; /*< 0: 4> DTI link identifier */
956 U8 dti_conn; /*< 4: 1> connection qualifier */
957 U8 _align0; /*< 5: 1> alignment */
958 U8 _align1; /*< 6: 1> alignment */
959 U8 _align2; /*< 7: 1> alignment */
960 } T_SIM_DTI_CNF;
961 #endif
962
963 #ifndef __T_SIM_BIP_REQ__
964 #define __T_SIM_BIP_REQ__
965 /*
966 *
967 * CCDGEN:WriteStruct_Count==2124
968 */
969 typedef struct
970 {
971 U8 bip_ch_id; /*< 0: 1> BIP channel identifier */
972 U8 bip_conn; /*< 1: 1> bip connection qualifier */
973 U8 _align0; /*< 2: 1> alignment */
974 U8 _align1; /*< 3: 1> alignment */
975 U32 release_time; /*< 4: 4> link release timeout */
976 U8 add_info_result; /*< 8: 1> additional information on result code */
977 U8 general_result; /*< 9: 1> general result code */
978 U8 _align2; /*< 10: 1> alignment */
979 U8 _align3; /*< 11: 1> alignment */
980 } T_SIM_BIP_REQ;
981 #endif
982
983 #ifndef __T_SIM_BIP_CNF__
984 #define __T_SIM_BIP_CNF__
985 /*
986 *
987 * CCDGEN:WriteStruct_Count==2125
988 */
989 typedef struct
990 {
991 U8 bip_ch_id; /*< 0: 1> BIP channel identifier */
992 U8 bip_conn; /*< 1: 1> bip connection qualifier */
993 U8 _align0; /*< 2: 1> alignment */
994 U8 _align1; /*< 3: 1> alignment */
995 } T_SIM_BIP_CNF;
996 #endif
997
998 #ifndef __T_SIM_BIP_CONFIG_REQ__
999 #define __T_SIM_BIP_CONFIG_REQ__
1000 /*
1001 *
1002 * CCDGEN:WriteStruct_Count==2126
1003 */
1004 typedef struct
1005 {
1006 U32 local_ip; /*< 0: 4> local IP address */
1007 U32 destination_ip; /*< 4: 4> destination IP address */
1008 U16 destination_port; /*< 8: 2> destination port number */
1009 U8 con_type; /*< 10: 1> connection type */
1010 U8 _align0; /*< 11: 1> alignment */
1011 } T_SIM_BIP_CONFIG_REQ;
1012 #endif
1013
1014 #ifndef __T_SIM_BIP_CONFIG_CNF__
1015 #define __T_SIM_BIP_CONFIG_CNF__
1016 /*
1017 *
1018 * CCDGEN:WriteStruct_Count==2127
1019 */
1020 typedef struct
1021 {
1022 U8 dummy; /*< 0: 1> no parameters */
1023 } T_SIM_BIP_CONFIG_CNF;
1024 #endif
1025
1026 #ifndef __T_SIM_DTI_BIP_IND__
1027 #define __T_SIM_DTI_BIP_IND__
1028 /*
1029 *
1030 * CCDGEN:WriteStruct_Count==2128
1031 */
1032 typedef struct
1033 {
1034 U32 link_id; /*< 0: 4> DTI link identifier */
1035 U8 dti_conn; /*< 4: 1> connection qualifier */
1036 U8 bip_ch_id; /*< 5: 1> BIP channel identifier */
1037 U8 bip_conn; /*< 6: 1> bip connection qualifier */
1038 U8 _align0; /*< 7: 1> alignment */
1039 } T_SIM_DTI_BIP_IND;
1040 #endif
1041
1042 #ifndef __T_SIM_EVENTLIST_REQ__
1043 #define __T_SIM_EVENTLIST_REQ__
1044 /*
1045 *
1046 * CCDGEN:WriteStruct_Count==2129
1047 */
1048 typedef struct
1049 {
1050 U8 event_data_avail; /*< 0: 1> data available event */
1051 U8 _align0; /*< 1: 1> alignment */
1052 U8 _align1; /*< 2: 1> alignment */
1053 U8 _align2; /*< 3: 1> alignment */
1054 } T_SIM_EVENTLIST_REQ;
1055 #endif
1056
1057 #ifndef __T_SIM_EVENTLIST_CNF__
1058 #define __T_SIM_EVENTLIST_CNF__
1059 /*
1060 *
1061 * CCDGEN:WriteStruct_Count==2130
1062 */
1063 typedef struct
1064 {
1065 U8 event_data_avail; /*< 0: 1> data available event */
1066 U8 _align0; /*< 1: 1> alignment */
1067 U8 _align1; /*< 2: 1> alignment */
1068 U8 _align2; /*< 3: 1> alignment */
1069 } T_SIM_EVENTLIST_CNF;
1070 #endif
1071
1072 #ifndef __T_SIM_TEST_REQ__
1073 #define __T_SIM_TEST_REQ__
1074 /*
1075 *
1076 * CCDGEN:WriteStruct_Count==2131
1077 */
1078 typedef struct
1079 {
1080 U8 cla; /*< 0: 1> class of instruction */
1081 U8 ins_code; /*< 1: 1> instruction code */
1082 U8 p1; /*< 2: 1> P1 Parameter */
1083 U8 p2; /*< 3: 1> P2 Parameter */
1084 U8 le; /*< 4: 1> length of response */
1085 U8 _align0; /*< 5: 1> alignment */
1086 U8 _align1; /*< 6: 1> alignment */
1087 U8 _align2; /*< 7: 1> alignment */
1088 T_stk_cmd stk_cmd; /*< 8:260> SIM toolkit command */
1089 } T_SIM_TEST_REQ;
1090 #endif
1091
1092 #ifndef __T_SIM_TEST_CNF__
1093 #define __T_SIM_TEST_CNF__
1094 /*
1095 *
1096 * CCDGEN:WriteStruct_Count==2132
1097 */
1098 typedef struct
1099 {
1100 U8 sw1; /*< 0: 1> SW1 Parameter */
1101 U8 sw2; /*< 1: 1> SW2 Parameter */
1102 U8 _align0; /*< 2: 1> alignment */
1103 U8 _align1; /*< 3: 1> alignment */
1104 T_stk_cmd stk_cmd; /*< 4:260> SIM toolkit command */
1105 } T_SIM_TEST_CNF;
1106 #endif
1107
1108 #ifndef __T_SIM_REFRESH_USER_RES__
1109 #define __T_SIM_REFRESH_USER_RES__
1110 /*
1111 *
1112 * CCDGEN:WriteStruct_Count==2133
1113 */
1114 typedef struct
1115 {
1116 U8 user_accepts; /*< 0: 1> User Response */
1117 U8 _align0; /*< 1: 1> alignment */
1118 U8 _align1; /*< 2: 1> alignment */
1119 U8 _align2; /*< 3: 1> alignment */
1120 T_stk_cmd stk_cmd; /*< 4:260> SIM toolkit command */
1121 } T_SIM_REFRESH_USER_RES;
1122 #endif
1123
1124
1125 #include "CDG_LEAVE.h"
1126
1127
1128 #endif