comparison cdg211/cdginc/p_gmmreg.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_gmmreg.h |
5 | SOURCE : "__out__\g23m_dfile\prim\gmmreg.pdf" |
6 | LastModified : "2002-11-28" |
7 | IdAndVersion : "8441.115.99.013" |
8 | SrcFileTime : "Tue Aug 2 13:34:02 2005" |
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_GMMREG_H
24 #define P_GMMREG_H
25
26
27 #define CDG_ENTER__P_GMMREG_H
28
29 #define CDG_ENTER__FILENAME _P_GMMREG_H
30 #define CDG_ENTER__P_GMMREG_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_GMMREG_H__LAST_MODIFIED _2002_11_28
32 #define CDG_ENTER__P_GMMREG_H__ID_AND_VERSION _8441_115_99_013
33
34 #define CDG_ENTER__P_GMMREG_H__SRC_FILE_TIME _Tue_Aug_2_13_34_02_2005
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_GMMREG_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_gmmreg.val"
44
45 #ifndef __T_plmn__
46 #define __T_plmn__
47 /*
48 * PLMN identification
49 * CCDGEN:WriteStruct_Count==1133
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 * AHPLMN identification
62 * CCDGEN:WriteStruct_Count==1134
63 */
64 #ifndef __T_ahplmn__
65 #define __T_ahplmn__
66 typedef T_plmn T_ahplmn;
67 #endif
68 #ifndef __T_full_net_name_gmm__
69 #define __T_full_net_name_gmm__
70 /*
71 * Network name, long format
72 * CCDGEN:WriteStruct_Count==1135
73 */
74 typedef struct
75 {
76 U8 v_name; /*< 0: 1> valid flag */
77 U8 dcs; /*< 1: 1> coding scheme */
78 U8 add_ci; /*< 2: 1> add ci indicator */
79 U8 num_spare; /*< 3: 1> num spare bits */
80 U8 c_text; /*< 4: 1> counter */
81 U8 text[MMR_MAX_TEXT_LEN]; /*< 5: 40> name */
82 U8 _align0; /*< 45: 1> alignment */
83 U8 _align1; /*< 46: 1> alignment */
84 U8 _align2; /*< 47: 1> alignment */
85 } T_full_net_name_gmm;
86 #endif
87
88 /*
89 * Network name, short format
90 * CCDGEN:WriteStruct_Count==1136
91 */
92 #ifndef __T_short_net_name_gmm__
93 #define __T_short_net_name_gmm__
94 typedef T_full_net_name_gmm T_short_net_name_gmm;
95 #endif
96 #ifndef __T_net_time_zone__
97 #define __T_net_time_zone__
98 /*
99 * Network time zone
100 * CCDGEN:WriteStruct_Count==1137
101 */
102 typedef struct
103 {
104 U8 v_time_zone; /*< 0: 1> timezone valid */
105 U8 time_zone; /*< 1: 1> timezone */
106 U8 _align0; /*< 2: 1> alignment */
107 U8 _align1; /*< 3: 1> alignment */
108 } T_net_time_zone;
109 #endif
110
111 #ifndef __T_net_time__
112 #define __T_net_time__
113 /*
114 * Network time
115 * CCDGEN:WriteStruct_Count==1138
116 */
117 typedef struct
118 {
119 U8 v_time; /*< 0: 1> time valid */
120 U8 year; /*< 1: 1> year */
121 U8 month; /*< 2: 1> month */
122 U8 day; /*< 3: 1> day */
123 U8 hour; /*< 4: 1> hour */
124 U8 minute; /*< 5: 1> minute */
125 U8 second; /*< 6: 1> second */
126 U8 _align0; /*< 7: 1> alignment */
127 } T_net_time;
128 #endif
129
130
131 /*
132 * End of substructure section, begin of primitive definition section
133 */
134
135 #ifndef __T_GMMREG_ATTACH_REQ__
136 #define __T_GMMREG_ATTACH_REQ__
137 /*
138 *
139 * CCDGEN:WriteStruct_Count==1139
140 */
141 typedef struct
142 {
143 U8 mobile_class; /*< 0: 1> Mobile Class */
144 U8 attach_type; /*< 1: 1> Attach type */
145 U8 service_mode; /*< 2: 1> Required service mode */
146 U8 _align0; /*< 3: 1> alignment */
147 } T_GMMREG_ATTACH_REQ;
148 #endif
149
150 #ifndef __T_GMMREG_ATTACH_CNF__
151 #define __T_GMMREG_ATTACH_CNF__
152 /*
153 *
154 * CCDGEN:WriteStruct_Count==1140
155 */
156 typedef struct
157 {
158 U8 attach_type; /*< 0: 1> Attach type */
159 U8 _align0; /*< 1: 1> alignment */
160 U8 _align1; /*< 2: 1> alignment */
161 U8 _align2; /*< 3: 1> alignment */
162 T_plmn plmn; /*< 4: 8> PLMN identification */
163 U16 lac; /*< 12: 2> location area code */
164 U8 rac; /*< 14: 1> routing area code */
165 U8 _align3; /*< 15: 1> alignment */
166 U16 cid; /*< 16: 2> cell id */
167 U8 gprs_indicator; /*< 18: 1> GPRS indicator */
168 U8 search_running; /*< 19: 1> Search is still running */
169 } T_GMMREG_ATTACH_CNF;
170 #endif
171
172 #ifndef __T_GMMREG_ATTACH_REJ__
173 #define __T_GMMREG_ATTACH_REJ__
174 /*
175 *
176 * CCDGEN:WriteStruct_Count==1141
177 */
178 typedef struct
179 {
180 U8 detach_type; /*< 0: 1> Detach type */
181 U8 _align0; /*< 1: 1> alignment */
182 U16 cause; /*< 2: 2> error cause */
183 U8 search_running; /*< 4: 1> Search is still running */
184 U8 _align1; /*< 5: 1> alignment */
185 U16 service; /*< 6: 2> service (either no or limited service) */
186 } T_GMMREG_ATTACH_REJ;
187 #endif
188
189 #ifndef __T_GMMREG_DETACH_REQ__
190 #define __T_GMMREG_DETACH_REQ__
191 /*
192 *
193 * CCDGEN:WriteStruct_Count==1142
194 */
195 typedef struct
196 {
197 U8 detach_type; /*< 0: 1> Detach type */
198 U8 _align0; /*< 1: 1> alignment */
199 U8 _align1; /*< 2: 1> alignment */
200 U8 _align2; /*< 3: 1> alignment */
201 } T_GMMREG_DETACH_REQ;
202 #endif
203
204 #ifndef __T_GMMREG_DETACH_CNF__
205 #define __T_GMMREG_DETACH_CNF__
206 /*
207 *
208 * CCDGEN:WriteStruct_Count==1143
209 */
210 typedef struct
211 {
212 U8 detach_type; /*< 0: 1> Detach type */
213 U8 _align0; /*< 1: 1> alignment */
214 U8 _align1; /*< 2: 1> alignment */
215 U8 _align2; /*< 3: 1> alignment */
216 } T_GMMREG_DETACH_CNF;
217 #endif
218
219 #ifndef __T_GMMREG_DETACH_IND__
220 #define __T_GMMREG_DETACH_IND__
221 /*
222 *
223 * CCDGEN:WriteStruct_Count==1144
224 */
225 typedef struct
226 {
227 U8 detach_type; /*< 0: 1> Detach type */
228 U8 _align0; /*< 1: 1> alignment */
229 U16 cause; /*< 2: 2> error cause */
230 U8 search_running; /*< 4: 1> Search is still running */
231 U8 _align1; /*< 5: 1> alignment */
232 U16 service; /*< 6: 2> service (either no or limited service) */
233 } T_GMMREG_DETACH_IND;
234 #endif
235
236 #ifndef __T_GMMREG_NET_REQ__
237 #define __T_GMMREG_NET_REQ__
238 /*
239 *
240 * CCDGEN:WriteStruct_Count==1145
241 */
242 typedef struct
243 {
244 U8 dummy; /*< 0: 1> no parameters */
245 } T_GMMREG_NET_REQ;
246 #endif
247
248 #ifndef __T_GMMREG_PLMN_IND__
249 #define __T_GMMREG_PLMN_IND__
250 /*
251 *
252 * CCDGEN:WriteStruct_Count==1146
253 */
254 typedef struct
255 {
256 U16 cause; /*< 0: 2> error cause */
257 U8 _align0; /*< 2: 1> alignment */
258 U8 _align1; /*< 3: 1> alignment */
259 T_plmn plmn[GMMREG_MAX_PLMN_ID]; /*< 4: 96> PLMN identification */
260 U8 forb_ind[GMMREG_MAX_PLMN_ID]; /*<100: 12> Forbidden PLMN indicator */
261 U16 lac_list[GMMREG_MAX_PLMN_ID]; /*<112: 24> LACs of found PLMNs */
262 U8 rxlevel[GMMREG_MAX_PLMN_ID]; /*<136: 12> Fieldstrength */
263 U8 gprs_status[GMMREG_MAX_PLMN_ID]; /*<148: 12> GPRS Status */
264 } T_GMMREG_PLMN_IND;
265 #endif
266
267 #ifndef __T_GMMREG_PLMN_RES__
268 #define __T_GMMREG_PLMN_RES__
269 /*
270 *
271 * CCDGEN:WriteStruct_Count==1147
272 */
273 typedef struct
274 {
275 T_plmn plmn; /*< 0: 8> PLMN identification */
276 U8 mobile_class; /*< 8: 1> Mobile Class */
277 U8 attach_type; /*< 9: 1> Attach type */
278 U8 _align0; /*< 10: 1> alignment */
279 U8 _align1; /*< 11: 1> alignment */
280 } T_GMMREG_PLMN_RES;
281 #endif
282
283 #ifndef __T_GMMREG_SUSPEND_IND__
284 #define __T_GMMREG_SUSPEND_IND__
285 /*
286 *
287 * CCDGEN:WriteStruct_Count==1148
288 */
289 typedef struct
290 {
291 U8 cell_state; /*< 0: 1> Cell State */
292 U8 _align0; /*< 1: 1> alignment */
293 U8 _align1; /*< 2: 1> alignment */
294 U8 _align2; /*< 3: 1> alignment */
295 } T_GMMREG_SUSPEND_IND;
296 #endif
297
298 #ifndef __T_GMMREG_RESUME_IND__
299 #define __T_GMMREG_RESUME_IND__
300 /*
301 *
302 * CCDGEN:WriteStruct_Count==1149
303 */
304 typedef struct
305 {
306 U8 dummy; /*< 0: 1> no parameters */
307 } T_GMMREG_RESUME_IND;
308 #endif
309
310 #ifndef __T_GMMREG_PLMN_MODE_REQ__
311 #define __T_GMMREG_PLMN_MODE_REQ__
312 /*
313 *
314 * CCDGEN:WriteStruct_Count==1150
315 */
316 typedef struct
317 {
318 U8 net_selection_mode; /*< 0: 1> network selction mode */
319 U8 _align0; /*< 1: 1> alignment */
320 U8 _align1; /*< 2: 1> alignment */
321 U8 _align2; /*< 3: 1> alignment */
322 } T_GMMREG_PLMN_MODE_REQ;
323 #endif
324
325 #ifndef __T_GMMREG_INFO_IND__
326 #define __T_GMMREG_INFO_IND__
327 /*
328 *
329 * CCDGEN:WriteStruct_Count==1151
330 */
331 typedef struct
332 {
333 T_plmn plmn; /*< 0: 8> PLMN identification */
334 T_full_net_name_gmm full_net_name_gmm; /*< 8: 48> Network name, long format */
335 T_short_net_name_gmm short_net_name_gmm; /*< 56: 48> Network name, short format */
336 T_net_time_zone net_time_zone; /*<104: 4> Network time zone */
337 T_net_time net_time; /*<108: 8> Network time */
338 } T_GMMREG_INFO_IND;
339 #endif
340
341 #ifndef __T_GMMREG_CONFIG_REQ__
342 #define __T_GMMREG_CONFIG_REQ__
343 /*
344 *
345 * CCDGEN:WriteStruct_Count==1152
346 */
347 typedef struct
348 {
349 U8 cipher_on; /*< 0: 1> ciphering on or off */
350 U8 tlli_handling; /*< 1: 1> tlli handling in attach proc */
351 U8 _align0; /*< 2: 1> alignment */
352 U8 _align1; /*< 3: 1> alignment */
353 } T_GMMREG_CONFIG_REQ;
354 #endif
355
356 #ifndef __T_GMMREG_CIPHERING_IND__
357 #define __T_GMMREG_CIPHERING_IND__
358 /*
359 *
360 * CCDGEN:WriteStruct_Count==1153
361 */
362 typedef struct
363 {
364 U8 gsm_ciph; /*< 0: 1> GSM Ciphering Indicator */
365 U8 gprs_ciph; /*< 1: 1> GPRS Ciphering Indicator */
366 U8 _align0; /*< 2: 1> alignment */
367 U8 _align1; /*< 3: 1> alignment */
368 } T_GMMREG_CIPHERING_IND;
369 #endif
370
371 #ifndef __T_GMMREG_AHPLMN_IND__
372 #define __T_GMMREG_AHPLMN_IND__
373 /*
374 *
375 * CCDGEN:WriteStruct_Count==1154
376 */
377 typedef struct
378 {
379 T_ahplmn ahplmn; /*< 0: 8> AHPLMN identification */
380 } T_GMMREG_AHPLMN_IND;
381 #endif
382
383
384 #include "CDG_LEAVE.h"
385
386
387 #endif