comparison cdg211/cdginc/p_mmgmm.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_mmgmm.h |
5 | SOURCE : "__out__\g23m_dfile\prim\mmgmm.pdf" |
6 | LastModified : "2002-08-09" |
7 | IdAndVersion : "8441.114.99.021" |
8 | SrcFileTime : "Wed Oct 6 09:31:36 2004" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 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_MMGMM_H
24 #define P_MMGMM_H
25
26
27 #define CDG_ENTER__P_MMGMM_H
28
29 #define CDG_ENTER__FILENAME _P_MMGMM_H
30 #define CDG_ENTER__P_MMGMM_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_MMGMM_H__LAST_MODIFIED _2002_08_09
32 #define CDG_ENTER__P_MMGMM_H__ID_AND_VERSION _8441_114_99_021
33
34 #define CDG_ENTER__P_MMGMM_H__SRC_FILE_TIME _Wed_Oct_6_09_31_36_2004
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_MMGMM_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_mmgmm.val"
44
45 #ifndef __T_plmn__
46 #define __T_plmn__
47 /*
48 * plmn identification
49 * CCDGEN:WriteStruct_Count==1370
50 */
51 typedef struct
52 {
53 U8 v_plmn; /*< 0: 1> valid flag */
54 U8 mcc[SIZE_MCC]; /*< 1: 3> Mobile country code. */
55 U8 mnc[SIZE_MNC]; /*< 4: 3> Mobile network code. */
56 U8 _align0; /*< 7: 1> alignment */
57 } T_plmn;
58 #endif
59
60 /*
61 * plmn identification
62 * CCDGEN:WriteStruct_Count==1371
63 */
64 #ifndef __T_new_forb_plmn__
65 #define __T_new_forb_plmn__
66 typedef T_plmn T_new_forb_plmn;
67 #endif
68 /*
69 * ahplmn identification
70 * CCDGEN:WriteStruct_Count==1372
71 */
72 #ifndef __T_ahplmn__
73 #define __T_ahplmn__
74 typedef T_plmn T_ahplmn;
75 #endif
76 #ifndef __T_full_name__
77 #define __T_full_name__
78 /*
79 * Network name, long format
80 * CCDGEN:WriteStruct_Count==1373
81 */
82 typedef struct
83 {
84 U8 v_name; /*< 0: 1> valid flag */
85 U8 dcs; /*< 1: 1> data coding scheme */
86 U8 add_ci; /*< 2: 1> add ci indicator */
87 U8 num_spare; /*< 3: 1> num spare bits */
88 U8 c_text; /*< 4: 1> counter */
89 U8 text[MMR_MAX_TEXT_LEN]; /*< 5: 40> name */
90 U8 _align0; /*< 45: 1> alignment */
91 U8 _align1; /*< 46: 1> alignment */
92 U8 _align2; /*< 47: 1> alignment */
93 } T_full_name;
94 #endif
95
96 /*
97 * Network name, short format
98 * CCDGEN:WriteStruct_Count==1374
99 */
100 #ifndef __T_short_name__
101 #define __T_short_name__
102 typedef T_full_name T_short_name;
103 #endif
104 #ifndef __T_ntz__
105 #define __T_ntz__
106 /*
107 * Network time zone
108 * CCDGEN:WriteStruct_Count==1375
109 */
110 typedef struct
111 {
112 U8 v_tz; /*< 0: 1> timezone valid */
113 U8 tz; /*< 1: 1> timezone */
114 U8 _align0; /*< 2: 1> alignment */
115 U8 _align1; /*< 3: 1> alignment */
116 } T_ntz;
117 #endif
118
119 #ifndef __T_time__
120 #define __T_time__
121 /*
122 * Network time
123 * CCDGEN:WriteStruct_Count==1376
124 */
125 typedef struct
126 {
127 U8 v_time; /*< 0: 1> time valid */
128 U8 year; /*< 1: 1> year */
129 U8 month; /*< 2: 1> month */
130 U8 day; /*< 3: 1> day */
131 U8 hour; /*< 4: 1> hour */
132 U8 minute; /*< 5: 1> minute */
133 U8 second; /*< 6: 1> second */
134 U8 _align0; /*< 7: 1> alignment */
135 } T_time;
136 #endif
137
138 #ifndef __T_equ_plmn__
139 #define __T_equ_plmn__
140 /*
141 * Equivalent plmn identification
142 * CCDGEN:WriteStruct_Count==1377
143 */
144 typedef struct
145 {
146 U8 mcc[SIZE_MCC]; /*< 0: 3> Mobile country code. */
147 U8 c_mnc; /*< 3: 1> counter */
148 U8 mnc[SIZE_MNC_MAX]; /*< 4: 3> Mobile network code. */
149 U8 _align0; /*< 7: 1> alignment */
150 } T_equ_plmn;
151 #endif
152
153 #ifndef __T_equ_plmn_list__
154 #define __T_equ_plmn_list__
155 /*
156 * Equivalent plmn List
157 * CCDGEN:WriteStruct_Count==1378
158 */
159 typedef struct
160 {
161 U8 _align0; /*< 0: 1> alignment */
162 U8 _align1; /*< 1: 1> alignment */
163 U8 _align2; /*< 2: 1> alignment */
164 U8 c_equ_plmn; /*< 3: 1> counter */
165 T_equ_plmn equ_plmn[MAX_EQ_PLMN_ID]; /*< 4: 40> Equivalent plmn identification */
166 } T_equ_plmn_list;
167 #endif
168
169
170 /*
171 * End of substructure section, begin of primitive definition section
172 */
173
174 #ifndef __T_MMGMM_REG_REQ__
175 #define __T_MMGMM_REG_REQ__
176 /*
177 *
178 * CCDGEN:WriteStruct_Count==1379
179 */
180 typedef struct
181 {
182 U8 service_mode; /*< 0: 1> Required service mode */
183 U8 reg_type; /*< 1: 1> Reg type */
184 U8 mobile_class; /*< 2: 1> mobile class */
185 U8 _align0; /*< 3: 1> alignment */
186 } T_MMGMM_REG_REQ;
187 #endif
188
189 #ifndef __T_MMGMM_REG_CNF__
190 #define __T_MMGMM_REG_CNF__
191 /*
192 *
193 * CCDGEN:WriteStruct_Count==1380
194 */
195 typedef struct
196 {
197 T_plmn plmn; /*< 0: 8> plmn identification */
198 U16 lac; /*< 8: 2> location area code */
199 U16 cid; /*< 10: 2> cell id */
200 U8 resumption; /*< 12: 1> Resumption ok or not */
201 U8 gprs_indicator; /*< 13: 1> GPRS indicator */
202 U8 _align0; /*< 14: 1> alignment */
203 U8 _align1; /*< 15: 1> alignment */
204 } T_MMGMM_REG_CNF;
205 #endif
206
207 #ifndef __T_MMGMM_REG_REJ__
208 #define __T_MMGMM_REG_REJ__
209 /*
210 *
211 * CCDGEN:WriteStruct_Count==1381
212 */
213 typedef struct
214 {
215 U8 service; /*< 0: 1> service (either no or limited service) */
216 U8 search_running; /*< 1: 1> Search is still running */
217 U8 _align0; /*< 2: 1> alignment */
218 U8 _align1; /*< 3: 1> alignment */
219 T_new_forb_plmn new_forb_plmn; /*< 4: 8> plmn identification */
220 U16 cause; /*< 12: 2> MM or GMM error cause */
221 U8 resumption; /*< 14: 1> Resumption ok or not */
222 U8 _align2; /*< 15: 1> alignment */
223 } T_MMGMM_REG_REJ;
224 #endif
225
226 #ifndef __T_MMGMM_NREG_IND__
227 #define __T_MMGMM_NREG_IND__
228 /*
229 *
230 * CCDGEN:WriteStruct_Count==1382
231 */
232 typedef struct
233 {
234 U8 service; /*< 0: 1> service (either no or limited service) */
235 U8 search_running; /*< 1: 1> Search is still running */
236 U8 _align0; /*< 2: 1> alignment */
237 U8 _align1; /*< 3: 1> alignment */
238 T_new_forb_plmn new_forb_plmn; /*< 4: 8> plmn identification */
239 U16 cause; /*< 12: 2> MM or GMM error cause */
240 U8 _align2; /*< 14: 1> alignment */
241 U8 _align3; /*< 15: 1> alignment */
242 } T_MMGMM_NREG_IND;
243 #endif
244
245 #ifndef __T_MMGMM_NREG_REQ__
246 #define __T_MMGMM_NREG_REQ__
247 /*
248 *
249 * CCDGEN:WriteStruct_Count==1383
250 */
251 typedef struct
252 {
253 U8 detach_cause; /*< 0: 1> Detach cause */
254 U8 detach_done; /*< 1: 1> Detach done */
255 U16 cause; /*< 2: 2> MM or GMM error cause */
256 } T_MMGMM_NREG_REQ;
257 #endif
258
259 #ifndef __T_MMGMM_NREG_CNF__
260 #define __T_MMGMM_NREG_CNF__
261 /*
262 *
263 * CCDGEN:WriteStruct_Count==1384
264 */
265 typedef struct
266 {
267 U8 detach_cause; /*< 0: 1> Detach cause */
268 U8 _align0; /*< 1: 1> alignment */
269 U8 _align1; /*< 2: 1> alignment */
270 U8 _align2; /*< 3: 1> alignment */
271 } T_MMGMM_NREG_CNF;
272 #endif
273
274 #ifndef __T_MMGMM_NET_REQ__
275 #define __T_MMGMM_NET_REQ__
276 /*
277 *
278 * CCDGEN:WriteStruct_Count==1385
279 */
280 typedef struct
281 {
282 U8 dummy; /*< 0: 1> no parameters */
283 } T_MMGMM_NET_REQ;
284 #endif
285
286 #ifndef __T_MMGMM_PLMN_IND__
287 #define __T_MMGMM_PLMN_IND__
288 /*
289 *
290 * CCDGEN:WriteStruct_Count==1386
291 */
292 typedef struct
293 {
294 U16 cause; /*< 0: 2> MM or GMM error cause */
295 U8 _align0; /*< 2: 1> alignment */
296 U8 _align1; /*< 3: 1> alignment */
297 T_plmn plmn[MAX_PLMN_ID]; /*< 4: 96> plmn identification */
298 U8 forb_ind[MAX_PLMN_ID]; /*<100: 12> Forbidden PLMN indicator */
299 U16 lac_list[MAX_PLMN_ID]; /*<112: 24> LACs of found PLMNs */
300 U8 rxlevel[MAX_PLMN_ID]; /*<136: 12> Fieldstrength */
301 U8 gprs_status[MAX_PLMN_ID]; /*<148: 12> GPRS Status */
302 } T_MMGMM_PLMN_IND;
303 #endif
304
305 #ifndef __T_MMGMM_PLMN_RES__
306 #define __T_MMGMM_PLMN_RES__
307 /*
308 *
309 * CCDGEN:WriteStruct_Count==1387
310 */
311 typedef struct
312 {
313 T_plmn plmn; /*< 0: 8> plmn identification */
314 U8 reg_type; /*< 8: 1> Reg type */
315 U8 mobile_class; /*< 9: 1> mobile class */
316 U8 _align0; /*< 10: 1> alignment */
317 U8 _align1; /*< 11: 1> alignment */
318 } T_MMGMM_PLMN_RES;
319 #endif
320
321 #ifndef __T_MMGMM_PLMN_MODE_REQ__
322 #define __T_MMGMM_PLMN_MODE_REQ__
323 /*
324 *
325 * CCDGEN:WriteStruct_Count==1388
326 */
327 typedef struct
328 {
329 U8 mode; /*< 0: 1> network selction mode */
330 U8 _align0; /*< 1: 1> alignment */
331 U8 _align1; /*< 2: 1> alignment */
332 U8 _align2; /*< 3: 1> alignment */
333 } T_MMGMM_PLMN_MODE_REQ;
334 #endif
335
336 #ifndef __T_MMGMM_AUTH_REJ_REQ__
337 #define __T_MMGMM_AUTH_REJ_REQ__
338 /*
339 *
340 * CCDGEN:WriteStruct_Count==1389
341 */
342 typedef struct
343 {
344 U8 dummy; /*< 0: 1> no parameters */
345 } T_MMGMM_AUTH_REJ_REQ;
346 #endif
347
348 #ifndef __T_MMGMM_AUTH_REJ_IND__
349 #define __T_MMGMM_AUTH_REJ_IND__
350 /*
351 *
352 * CCDGEN:WriteStruct_Count==1390
353 */
354 typedef struct
355 {
356 U8 dummy; /*< 0: 1> no parameters */
357 } T_MMGMM_AUTH_REJ_IND;
358 #endif
359
360 #ifndef __T_MMGMM_CM_ESTABLISH_IND__
361 #define __T_MMGMM_CM_ESTABLISH_IND__
362 /*
363 *
364 * CCDGEN:WriteStruct_Count==1391
365 */
366 typedef struct
367 {
368 U8 dummy; /*< 0: 1> no parameters */
369 } T_MMGMM_CM_ESTABLISH_IND;
370 #endif
371
372 #ifndef __T_MMGMM_CM_ESTABLISH_RES__
373 #define __T_MMGMM_CM_ESTABLISH_RES__
374 /*
375 *
376 * CCDGEN:WriteStruct_Count==1392
377 */
378 typedef struct
379 {
380 U8 cm_establish_res; /*< 0: 1> cm establish response */
381 U8 _align0; /*< 1: 1> alignment */
382 U8 _align1; /*< 2: 1> alignment */
383 U8 _align2; /*< 3: 1> alignment */
384 } T_MMGMM_CM_ESTABLISH_RES;
385 #endif
386
387 #ifndef __T_MMGMM_CM_RELEASE_IND__
388 #define __T_MMGMM_CM_RELEASE_IND__
389 /*
390 *
391 * CCDGEN:WriteStruct_Count==1393
392 */
393 typedef struct
394 {
395 U8 resumption; /*< 0: 1> Resumption ok or not */
396 U8 _align0; /*< 1: 1> alignment */
397 U8 _align1; /*< 2: 1> alignment */
398 U8 _align2; /*< 3: 1> alignment */
399 } T_MMGMM_CM_RELEASE_IND;
400 #endif
401
402 #ifndef __T_MMGMM_ACTIVATE_IND__
403 #define __T_MMGMM_ACTIVATE_IND__
404 /*
405 *
406 * CCDGEN:WriteStruct_Count==1394
407 */
408 typedef struct
409 {
410 T_plmn plmn; /*< 0: 8> plmn identification */
411 U16 lac; /*< 8: 2> location area code */
412 U16 cid; /*< 10: 2> cell id */
413 U32 t3212_val; /*< 12: 4> value of T3212 */
414 U8 status; /*< 16: 1> Activation status */
415 U8 gprs_indicator; /*< 17: 1> GPRS indicator */
416 U8 _align0; /*< 18: 1> alignment */
417 U8 _align1; /*< 19: 1> alignment */
418 } T_MMGMM_ACTIVATE_IND;
419 #endif
420
421 #ifndef __T_MMGMM_ATTACH_STARTED_REQ__
422 #define __T_MMGMM_ATTACH_STARTED_REQ__
423 /*
424 *
425 * CCDGEN:WriteStruct_Count==1395
426 */
427 typedef struct
428 {
429 U8 dummy; /*< 0: 1> no parameters */
430 } T_MMGMM_ATTACH_STARTED_REQ;
431 #endif
432
433 #ifndef __T_MMGMM_ATTACH_ACC_REQ__
434 #define __T_MMGMM_ATTACH_ACC_REQ__
435 /*
436 *
437 * CCDGEN:WriteStruct_Count==1396
438 */
439 typedef struct
440 {
441 T_plmn plmn; /*< 0: 8> plmn identification */
442 U16 lac; /*< 8: 2> location area code */
443 U8 v_tmsi; /*< 10: 1> TMSI available or not */
444 U8 _align0; /*< 11: 1> alignment */
445 U32 tmsi; /*< 12: 4> TMSI */
446 U8 v_equ_plmn_list; /*< 16: 1> Validity of equivalent plmn list */
447 U8 _align1; /*< 17: 1> alignment */
448 U8 _align2; /*< 18: 1> alignment */
449 U8 _align3; /*< 19: 1> alignment */
450 T_equ_plmn_list equ_plmn_list; /*< 20: 44> Equivalent plmn List */
451 } T_MMGMM_ATTACH_ACC_REQ;
452 #endif
453
454 #ifndef __T_MMGMM_ATTACH_REJ_REQ__
455 #define __T_MMGMM_ATTACH_REJ_REQ__
456 /*
457 *
458 * CCDGEN:WriteStruct_Count==1397
459 */
460 typedef struct
461 {
462 U16 cause; /*< 0: 2> MM or GMM error cause */
463 U8 _align0; /*< 2: 1> alignment */
464 U8 _align1; /*< 3: 1> alignment */
465 } T_MMGMM_ATTACH_REJ_REQ;
466 #endif
467
468 #ifndef __T_MMGMM_DETACH_STARTED_REQ__
469 #define __T_MMGMM_DETACH_STARTED_REQ__
470 /*
471 *
472 * CCDGEN:WriteStruct_Count==1398
473 */
474 typedef struct
475 {
476 U8 dummy; /*< 0: 1> no parameters */
477 } T_MMGMM_DETACH_STARTED_REQ;
478 #endif
479
480 #ifndef __T_MMGMM_START_T3212_REQ__
481 #define __T_MMGMM_START_T3212_REQ__
482 /*
483 *
484 * CCDGEN:WriteStruct_Count==1399
485 */
486 typedef struct
487 {
488 U8 dummy; /*< 0: 1> no parameters */
489 } T_MMGMM_START_T3212_REQ;
490 #endif
491
492 #ifndef __T_MMGMM_T3212_VAL_IND__
493 #define __T_MMGMM_T3212_VAL_IND__
494 /*
495 *
496 * CCDGEN:WriteStruct_Count==1400
497 */
498 typedef struct
499 {
500 U32 t3212_val; /*< 0: 4> value of T3212 */
501 } T_MMGMM_T3212_VAL_IND;
502 #endif
503
504 #ifndef __T_MMGMM_INFO_IND__
505 #define __T_MMGMM_INFO_IND__
506 /*
507 *
508 * CCDGEN:WriteStruct_Count==1401
509 */
510 typedef struct
511 {
512 T_plmn plmn; /*< 0: 8> plmn identification */
513 T_full_name full_name; /*< 8: 48> Network name, long format */
514 T_short_name short_name; /*< 56: 48> Network name, short format */
515 T_ntz ntz; /*<104: 4> Network time zone */
516 T_time time; /*<108: 8> Network time */
517 } T_MMGMM_INFO_IND;
518 #endif
519
520 #ifndef __T_MMGMM_CM_EMERGENCY_IND__
521 #define __T_MMGMM_CM_EMERGENCY_IND__
522 /*
523 *
524 * CCDGEN:WriteStruct_Count==1402
525 */
526 typedef struct
527 {
528 U8 dummy; /*< 0: 1> no parameters */
529 } T_MMGMM_CM_EMERGENCY_IND;
530 #endif
531
532 #ifndef __T_MMGMM_CM_EMERGENCY_RES__
533 #define __T_MMGMM_CM_EMERGENCY_RES__
534 /*
535 *
536 * CCDGEN:WriteStruct_Count==1403
537 */
538 typedef struct
539 {
540 U8 cm_establish_res; /*< 0: 1> cm establish response */
541 U8 _align0; /*< 1: 1> alignment */
542 U8 _align1; /*< 2: 1> alignment */
543 U8 _align2; /*< 3: 1> alignment */
544 } T_MMGMM_CM_EMERGENCY_RES;
545 #endif
546
547 #ifndef __T_MMGMM_LUP_ACCEPT_IND__
548 #define __T_MMGMM_LUP_ACCEPT_IND__
549 /*
550 *
551 * CCDGEN:WriteStruct_Count==1404
552 */
553 typedef struct
554 {
555 T_plmn plmn; /*< 0: 8> plmn identification */
556 U16 lac; /*< 8: 2> location area code */
557 U16 cid; /*< 10: 2> cell id */
558 } T_MMGMM_LUP_ACCEPT_IND;
559 #endif
560
561 #ifndef __T_MMGMM_LUP_NEEDED_IND__
562 #define __T_MMGMM_LUP_NEEDED_IND__
563 /*
564 *
565 * CCDGEN:WriteStruct_Count==1405
566 */
567 typedef struct
568 {
569 U8 reason; /*< 0: 1> Location updating needed reason */
570 U8 _align0; /*< 1: 1> alignment */
571 U8 _align1; /*< 2: 1> alignment */
572 U8 _align2; /*< 3: 1> alignment */
573 } T_MMGMM_LUP_NEEDED_IND;
574 #endif
575
576 #ifndef __T_MMGMM_CIPHERING_IND__
577 #define __T_MMGMM_CIPHERING_IND__
578 /*
579 *
580 * CCDGEN:WriteStruct_Count==1406
581 */
582 typedef struct
583 {
584 U8 ciph; /*< 0: 1> cipher mode */
585 U8 _align0; /*< 1: 1> alignment */
586 U8 _align1; /*< 2: 1> alignment */
587 U8 _align2; /*< 3: 1> alignment */
588 } T_MMGMM_CIPHERING_IND;
589 #endif
590
591 #ifndef __T_MMGMM_ALLOWED_REQ__
592 #define __T_MMGMM_ALLOWED_REQ__
593 /*
594 *
595 * CCDGEN:WriteStruct_Count==1407
596 */
597 typedef struct
598 {
599 T_plmn plmn; /*< 0: 8> plmn identification */
600 U16 lac; /*< 8: 2> location area code */
601 U8 v_equ_plmn_list; /*< 10: 1> Validity of equivalent plmn list */
602 U8 _align0; /*< 11: 1> alignment */
603 T_equ_plmn_list equ_plmn_list; /*< 12: 44> Equivalent plmn List */
604 } T_MMGMM_ALLOWED_REQ;
605 #endif
606
607 #ifndef __T_MMGMM_TMSI_IND__
608 #define __T_MMGMM_TMSI_IND__
609 /*
610 *
611 * CCDGEN:WriteStruct_Count==1408
612 */
613 typedef struct
614 {
615 U32 tmsi; /*< 0: 4> TMSI */
616 } T_MMGMM_TMSI_IND;
617 #endif
618
619 #ifndef __T_MMGMM_TRIGGER_REQ__
620 #define __T_MMGMM_TRIGGER_REQ__
621 /*
622 *
623 * CCDGEN:WriteStruct_Count==1409
624 */
625 typedef struct
626 {
627 U8 dummy; /*< 0: 1> no parameters */
628 } T_MMGMM_TRIGGER_REQ;
629 #endif
630
631 #ifndef __T_MMGMM_AHPLMN_IND__
632 #define __T_MMGMM_AHPLMN_IND__
633 /*
634 *
635 * CCDGEN:WriteStruct_Count==1410
636 */
637 typedef struct
638 {
639 T_ahplmn ahplmn; /*< 0: 8> ahplmn identification */
640 } T_MMGMM_AHPLMN_IND;
641 #endif
642
643
644 #include "CDG_LEAVE.h"
645
646
647 #endif