comparison cdg211/cdginc/p_mmreg.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_mmreg.h |
5 | SOURCE : "__out__\g23m_dfile\prim\mmreg.pdf" |
6 | LastModified : "2002-11-20" |
7 | IdAndVersion : "6147.100.96.109" |
8 | SrcFileTime : "Wed Sep 15 19:34:26 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_MMREG_H
24 #define P_MMREG_H
25
26
27 #define CDG_ENTER__P_MMREG_H
28
29 #define CDG_ENTER__FILENAME _P_MMREG_H
30 #define CDG_ENTER__P_MMREG_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_MMREG_H__LAST_MODIFIED _2002_11_20
32 #define CDG_ENTER__P_MMREG_H__ID_AND_VERSION _6147_100_96_109
33
34 #define CDG_ENTER__P_MMREG_H__SRC_FILE_TIME _Wed_Sep_15_19_34_26_2004
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_MMREG_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_mmreg.val"
44
45 #ifndef __T_plmn__
46 #define __T_plmn__
47 /*
48 * plmn identification
49 * CCDGEN:WriteStruct_Count==1437
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==1438
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==1439
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==1440
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==1441
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==1442
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==1443
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
139 /*
140 * End of substructure section, begin of primitive definition section
141 */
142
143 #ifndef __T_MMR_REG_REQ__
144 #define __T_MMR_REG_REQ__
145 /*
146 *
147 * CCDGEN:WriteStruct_Count==1444
148 */
149 typedef struct
150 {
151 U8 service_mode; /*< 0: 1> Required service mode */
152 U8 _align0; /*< 1: 1> alignment */
153 U8 _align1; /*< 2: 1> alignment */
154 U8 _align2; /*< 3: 1> alignment */
155 } T_MMR_REG_REQ;
156 #endif
157
158 #ifndef __T_MMR_REG_CNF__
159 #define __T_MMR_REG_CNF__
160 /*
161 *
162 * CCDGEN:WriteStruct_Count==1445
163 */
164 typedef struct
165 {
166 T_plmn plmn; /*< 0: 8> plmn identification */
167 U16 lac; /*< 8: 2> location area code */
168 U16 cid; /*< 10: 2> cell id */
169 } T_MMR_REG_CNF;
170 #endif
171
172 #ifndef __T_MMR_NREG_IND__
173 #define __T_MMR_NREG_IND__
174 /*
175 *
176 * CCDGEN:WriteStruct_Count==1446
177 */
178 typedef struct
179 {
180 U8 service; /*< 0: 1> service (either no or limited service) */
181 U8 search_running; /*< 1: 1> Search is still running */
182 U8 _align0; /*< 2: 1> alignment */
183 U8 _align1; /*< 3: 1> alignment */
184 T_new_forb_plmn new_forb_plmn; /*< 4: 8> plmn identification */
185 U16 cause; /*< 12: 2> Cause for loss of full service, release or error */
186 U8 _align2; /*< 14: 1> alignment */
187 U8 _align3; /*< 15: 1> alignment */
188 } T_MMR_NREG_IND;
189 #endif
190
191 #ifndef __T_MMR_NREG_REQ__
192 #define __T_MMR_NREG_REQ__
193 /*
194 *
195 * CCDGEN:WriteStruct_Count==1447
196 */
197 typedef struct
198 {
199 U8 detach_cause; /*< 0: 1> cause */
200 U8 _align0; /*< 1: 1> alignment */
201 U8 _align1; /*< 2: 1> alignment */
202 U8 _align2; /*< 3: 1> alignment */
203 } T_MMR_NREG_REQ;
204 #endif
205
206 #ifndef __T_MMR_NREG_CNF__
207 #define __T_MMR_NREG_CNF__
208 /*
209 *
210 * CCDGEN:WriteStruct_Count==1448
211 */
212 typedef struct
213 {
214 U8 detach_cause; /*< 0: 1> cause */
215 U8 _align0; /*< 1: 1> alignment */
216 U8 _align1; /*< 2: 1> alignment */
217 U8 _align2; /*< 3: 1> alignment */
218 } T_MMR_NREG_CNF;
219 #endif
220
221 #ifndef __T_MMR_NET_REQ__
222 #define __T_MMR_NET_REQ__
223 /*
224 *
225 * CCDGEN:WriteStruct_Count==1449
226 */
227 typedef struct
228 {
229 U8 dummy; /*< 0: 1> no parameters */
230 } T_MMR_NET_REQ;
231 #endif
232
233 #ifndef __T_MMR_PLMN_IND__
234 #define __T_MMR_PLMN_IND__
235 /*
236 *
237 * CCDGEN:WriteStruct_Count==1450
238 */
239 typedef struct
240 {
241 U16 cause; /*< 0: 2> Cause for loss of full service, release or error */
242 U8 _align0; /*< 2: 1> alignment */
243 U8 _align1; /*< 3: 1> alignment */
244 T_plmn plmn[MAX_PLMN_ID]; /*< 4: 96> plmn identification */
245 U16 lac_list[MAX_PLMN_ID]; /*<100: 24> LACs of found PLMNs */
246 U8 forb_ind[MAX_PLMN_ID]; /*<124: 12> Forbidden PLMN indicator */
247 U8 rxlevel[MAX_PLMN_ID]; /*<136: 12> Fieldstrength */
248 } T_MMR_PLMN_IND;
249 #endif
250
251 #ifndef __T_MMR_PLMN_RES__
252 #define __T_MMR_PLMN_RES__
253 /*
254 *
255 * CCDGEN:WriteStruct_Count==1451
256 */
257 typedef struct
258 {
259 T_plmn plmn; /*< 0: 8> plmn identification */
260 } T_MMR_PLMN_RES;
261 #endif
262
263 #ifndef __T_MMR_PLMN_MODE_REQ__
264 #define __T_MMR_PLMN_MODE_REQ__
265 /*
266 *
267 * CCDGEN:WriteStruct_Count==1452
268 */
269 typedef struct
270 {
271 U8 mode; /*< 0: 1> registration mode */
272 U8 _align0; /*< 1: 1> alignment */
273 U8 _align1; /*< 2: 1> alignment */
274 U8 _align2; /*< 3: 1> alignment */
275 } T_MMR_PLMN_MODE_REQ;
276 #endif
277
278 #ifndef __T_MMR_INFO_IND__
279 #define __T_MMR_INFO_IND__
280 /*
281 *
282 * CCDGEN:WriteStruct_Count==1453
283 */
284 typedef struct
285 {
286 T_plmn plmn; /*< 0: 8> plmn identification */
287 T_full_name full_name; /*< 8: 48> Network name, long format */
288 T_short_name short_name; /*< 56: 48> Network name, short format */
289 T_ntz ntz; /*<104: 4> Network time zone */
290 T_time time; /*<108: 8> Network time */
291 } T_MMR_INFO_IND;
292 #endif
293
294 #ifndef __T_MMR_CIPHERING_IND__
295 #define __T_MMR_CIPHERING_IND__
296 /*
297 *
298 * CCDGEN:WriteStruct_Count==1454
299 */
300 typedef struct
301 {
302 U8 ciph; /*< 0: 1> cipher mode */
303 U8 _align0; /*< 1: 1> alignment */
304 U8 _align1; /*< 2: 1> alignment */
305 U8 _align2; /*< 3: 1> alignment */
306 } T_MMR_CIPHERING_IND;
307 #endif
308
309 #ifndef __T_MMR_AHPLMN_IND__
310 #define __T_MMR_AHPLMN_IND__
311 /*
312 *
313 * CCDGEN:WriteStruct_Count==1455
314 */
315 typedef struct
316 {
317 T_ahplmn ahplmn; /*< 0: 8> ahplmn identification */
318 } T_MMR_AHPLMN_IND;
319 #endif
320
321
322 #include "CDG_LEAVE.h"
323
324
325 #endif