comparison gsm-fw/cdg/cdginc-locosto/p_mmgmm.h @ 654:95c433d8c274

gsm-fw/cdg: LoCosto version of cdginc regenerated
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 25 Sep 2014 09:46:42 +0000
parents
children
comparison
equal deleted inserted replaced
653:31d82d090499 654:95c433d8c274
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_mmgmm.h |
5 | SOURCE : "sap\mmgmm.pdf" |
6 | LastModified : "2002-08-09" |
7 | IdAndVersion : "8441.114.99.021" |
8 | SrcFileTime : "Thu Nov 29 09:46:12 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 |
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 _Thu_Nov_29_09_46_12_2007
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==1808
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==1809
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==1810
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==1811
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==1812
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==1813
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==1814
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==1815
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==1816
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==1817
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 bootup_act; /*< 3: 1> bootup action */
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==1818
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 bootup_cause; /*< 14: 1> bootup cause */
203 U8 _align0; /*< 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==1819
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==1820
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==1821
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==1822
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==1823
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==1824
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==1825
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==1826
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==1827
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==1828
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==1829
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==1830
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==1831
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==1832
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==1833
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==1834
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==1835
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==1836
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==1837
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==1838
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==1839
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 U8 daylight_save_time; /*<116: 1> network daylight saving time */
518 U8 _align0; /*<117: 1> alignment */
519 U8 _align1; /*<118: 1> alignment */
520 U8 _align2; /*<119: 1> alignment */
521 } T_MMGMM_INFO_IND;
522 #endif
523
524 #ifndef __T_MMGMM_CM_EMERGENCY_IND__
525 #define __T_MMGMM_CM_EMERGENCY_IND__
526 /*
527 *
528 * CCDGEN:WriteStruct_Count==1840
529 */
530 typedef struct
531 {
532 U8 dummy; /*< 0: 1> no parameters */
533 } T_MMGMM_CM_EMERGENCY_IND;
534 #endif
535
536 #ifndef __T_MMGMM_CM_EMERGENCY_RES__
537 #define __T_MMGMM_CM_EMERGENCY_RES__
538 /*
539 *
540 * CCDGEN:WriteStruct_Count==1841
541 */
542 typedef struct
543 {
544 U8 cm_establish_res; /*< 0: 1> cm establish response */
545 U8 _align0; /*< 1: 1> alignment */
546 U8 _align1; /*< 2: 1> alignment */
547 U8 _align2; /*< 3: 1> alignment */
548 } T_MMGMM_CM_EMERGENCY_RES;
549 #endif
550
551 #ifndef __T_MMGMM_LUP_ACCEPT_IND__
552 #define __T_MMGMM_LUP_ACCEPT_IND__
553 /*
554 *
555 * CCDGEN:WriteStruct_Count==1842
556 */
557 typedef struct
558 {
559 T_plmn plmn; /*< 0: 8> plmn identification */
560 U16 lac; /*< 8: 2> location area code */
561 U16 cid; /*< 10: 2> cell id */
562 } T_MMGMM_LUP_ACCEPT_IND;
563 #endif
564
565 #ifndef __T_MMGMM_LUP_NEEDED_IND__
566 #define __T_MMGMM_LUP_NEEDED_IND__
567 /*
568 *
569 * CCDGEN:WriteStruct_Count==1843
570 */
571 typedef struct
572 {
573 U8 reason; /*< 0: 1> Location updating needed reason */
574 U8 _align0; /*< 1: 1> alignment */
575 U8 _align1; /*< 2: 1> alignment */
576 U8 _align2; /*< 3: 1> alignment */
577 } T_MMGMM_LUP_NEEDED_IND;
578 #endif
579
580 #ifndef __T_MMGMM_CIPHERING_IND__
581 #define __T_MMGMM_CIPHERING_IND__
582 /*
583 *
584 * CCDGEN:WriteStruct_Count==1844
585 */
586 typedef struct
587 {
588 U8 ciph; /*< 0: 1> cipher mode */
589 U8 _align0; /*< 1: 1> alignment */
590 U8 _align1; /*< 2: 1> alignment */
591 U8 _align2; /*< 3: 1> alignment */
592 } T_MMGMM_CIPHERING_IND;
593 #endif
594
595 #ifndef __T_MMGMM_ALLOWED_REQ__
596 #define __T_MMGMM_ALLOWED_REQ__
597 /*
598 *
599 * CCDGEN:WriteStruct_Count==1845
600 */
601 typedef struct
602 {
603 T_plmn plmn; /*< 0: 8> plmn identification */
604 U16 lac; /*< 8: 2> location area code */
605 U8 v_equ_plmn_list; /*< 10: 1> Validity of equivalent plmn list */
606 U8 _align0; /*< 11: 1> alignment */
607 T_equ_plmn_list equ_plmn_list; /*< 12: 44> Equivalent plmn List */
608 } T_MMGMM_ALLOWED_REQ;
609 #endif
610
611 #ifndef __T_MMGMM_TMSI_IND__
612 #define __T_MMGMM_TMSI_IND__
613 /*
614 *
615 * CCDGEN:WriteStruct_Count==1846
616 */
617 typedef struct
618 {
619 U32 tmsi; /*< 0: 4> TMSI */
620 } T_MMGMM_TMSI_IND;
621 #endif
622
623 #ifndef __T_MMGMM_TRIGGER_REQ__
624 #define __T_MMGMM_TRIGGER_REQ__
625 /*
626 *
627 * CCDGEN:WriteStruct_Count==1847
628 */
629 typedef struct
630 {
631 U8 dummy; /*< 0: 1> no parameters */
632 } T_MMGMM_TRIGGER_REQ;
633 #endif
634
635 #ifndef __T_MMGMM_AHPLMN_IND__
636 #define __T_MMGMM_AHPLMN_IND__
637 /*
638 *
639 * CCDGEN:WriteStruct_Count==1848
640 */
641 typedef struct
642 {
643 T_ahplmn ahplmn; /*< 0: 8> ahplmn identification */
644 } T_MMGMM_AHPLMN_IND;
645 #endif
646
647
648 #include "CDG_LEAVE.h"
649
650
651 #endif