FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/cdginc-locosto/p_gmmreg.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_gmmreg.h | | |
5 | SOURCE : "sap\gmmreg.pdf" | | |
6 | LastModified : "2002-11-28" | | |
7 | IdAndVersion : "8441.115.99.013" | | |
8 | SrcFileTime : "Thu Nov 29 09:42: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_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 _Thu_Nov_29_09_42_12_2007 | |
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==1570 | |
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==1571 | |
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==1572 | |
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==1573 | |
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==1574 | |
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==1575 | |
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==1576 | |
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 bootup_act; /*< 3: 1> bootup action */ | |
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==1577 | |
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 U8 rt; /*< 20: 1> This parameter indicates the radio access technology available in the cell. */ | |
170 U8 bootup_cause; /*< 21: 1> bootup cause */ | |
171 U8 _align4; /*< 22: 1> alignment */ | |
172 U8 _align5; /*< 23: 1> alignment */ | |
173 } T_GMMREG_ATTACH_CNF; | |
174 #endif | |
175 | |
176 #ifndef __T_GMMREG_ATTACH_REJ__ | |
177 #define __T_GMMREG_ATTACH_REJ__ | |
178 /* | |
179 * | |
180 * CCDGEN:WriteStruct_Count==1578 | |
181 */ | |
182 typedef struct | |
183 { | |
184 U8 detach_type; /*< 0: 1> Detach type */ | |
185 U8 _align0; /*< 1: 1> alignment */ | |
186 U16 cause; /*< 2: 2> error cause */ | |
187 U8 search_running; /*< 4: 1> Search is still running */ | |
188 U8 _align1; /*< 5: 1> alignment */ | |
189 U16 service; /*< 6: 2> service (either no or limited service) */ | |
190 } T_GMMREG_ATTACH_REJ; | |
191 #endif | |
192 | |
193 #ifndef __T_GMMREG_DETACH_REQ__ | |
194 #define __T_GMMREG_DETACH_REQ__ | |
195 /* | |
196 * | |
197 * CCDGEN:WriteStruct_Count==1579 | |
198 */ | |
199 typedef struct | |
200 { | |
201 U8 detach_type; /*< 0: 1> Detach type */ | |
202 U8 _align0; /*< 1: 1> alignment */ | |
203 U8 _align1; /*< 2: 1> alignment */ | |
204 U8 _align2; /*< 3: 1> alignment */ | |
205 } T_GMMREG_DETACH_REQ; | |
206 #endif | |
207 | |
208 #ifndef __T_GMMREG_DETACH_CNF__ | |
209 #define __T_GMMREG_DETACH_CNF__ | |
210 /* | |
211 * | |
212 * CCDGEN:WriteStruct_Count==1580 | |
213 */ | |
214 typedef struct | |
215 { | |
216 U8 detach_type; /*< 0: 1> Detach type */ | |
217 U8 _align0; /*< 1: 1> alignment */ | |
218 U8 _align1; /*< 2: 1> alignment */ | |
219 U8 _align2; /*< 3: 1> alignment */ | |
220 } T_GMMREG_DETACH_CNF; | |
221 #endif | |
222 | |
223 #ifndef __T_GMMREG_DETACH_IND__ | |
224 #define __T_GMMREG_DETACH_IND__ | |
225 /* | |
226 * | |
227 * CCDGEN:WriteStruct_Count==1581 | |
228 */ | |
229 typedef struct | |
230 { | |
231 U8 detach_type; /*< 0: 1> Detach type */ | |
232 U8 _align0; /*< 1: 1> alignment */ | |
233 U16 cause; /*< 2: 2> error cause */ | |
234 U8 search_running; /*< 4: 1> Search is still running */ | |
235 U8 _align1; /*< 5: 1> alignment */ | |
236 U16 service; /*< 6: 2> service (either no or limited service) */ | |
237 } T_GMMREG_DETACH_IND; | |
238 #endif | |
239 | |
240 #ifndef __T_GMMREG_NET_REQ__ | |
241 #define __T_GMMREG_NET_REQ__ | |
242 /* | |
243 * | |
244 * CCDGEN:WriteStruct_Count==1582 | |
245 */ | |
246 typedef struct | |
247 { | |
248 U8 dummy; /*< 0: 1> no parameters */ | |
249 } T_GMMREG_NET_REQ; | |
250 #endif | |
251 | |
252 #ifndef __T_GMMREG_PLMN_IND__ | |
253 #define __T_GMMREG_PLMN_IND__ | |
254 /* | |
255 * | |
256 * CCDGEN:WriteStruct_Count==1583 | |
257 */ | |
258 typedef struct | |
259 { | |
260 U16 cause; /*< 0: 2> error cause */ | |
261 U8 _align0; /*< 2: 1> alignment */ | |
262 U8 _align1; /*< 3: 1> alignment */ | |
263 T_plmn plmn[GMMREG_MAX_PLMN_ID]; /*< 4: 96> PLMN identification */ | |
264 U8 forb_ind[GMMREG_MAX_PLMN_ID]; /*<100: 12> Forbidden PLMN indicator */ | |
265 U16 lac_list[GMMREG_MAX_PLMN_ID]; /*<112: 24> LACs of found PLMNs */ | |
266 U8 rxlevel[GMMREG_MAX_PLMN_ID]; /*<136: 12> Fieldstrength */ | |
267 U8 gprs_status[GMMREG_MAX_PLMN_ID]; /*<148: 12> GPRS Status */ | |
268 } T_GMMREG_PLMN_IND; | |
269 #endif | |
270 | |
271 #ifndef __T_GMMREG_PLMN_RES__ | |
272 #define __T_GMMREG_PLMN_RES__ | |
273 /* | |
274 * | |
275 * CCDGEN:WriteStruct_Count==1584 | |
276 */ | |
277 typedef struct | |
278 { | |
279 T_plmn plmn; /*< 0: 8> PLMN identification */ | |
280 U8 mobile_class; /*< 8: 1> Mobile Class */ | |
281 U8 attach_type; /*< 9: 1> Attach type */ | |
282 U8 _align0; /*< 10: 1> alignment */ | |
283 U8 _align1; /*< 11: 1> alignment */ | |
284 } T_GMMREG_PLMN_RES; | |
285 #endif | |
286 | |
287 #ifndef __T_GMMREG_SUSPEND_IND__ | |
288 #define __T_GMMREG_SUSPEND_IND__ | |
289 /* | |
290 * | |
291 * CCDGEN:WriteStruct_Count==1585 | |
292 */ | |
293 typedef struct | |
294 { | |
295 U8 cell_state; /*< 0: 1> Cell State */ | |
296 U8 _align0; /*< 1: 1> alignment */ | |
297 U8 _align1; /*< 2: 1> alignment */ | |
298 U8 _align2; /*< 3: 1> alignment */ | |
299 } T_GMMREG_SUSPEND_IND; | |
300 #endif | |
301 | |
302 #ifndef __T_GMMREG_RESUME_IND__ | |
303 #define __T_GMMREG_RESUME_IND__ | |
304 /* | |
305 * | |
306 * CCDGEN:WriteStruct_Count==1586 | |
307 */ | |
308 typedef struct | |
309 { | |
310 U8 dummy; /*< 0: 1> no parameters */ | |
311 } T_GMMREG_RESUME_IND; | |
312 #endif | |
313 | |
314 #ifndef __T_GMMREG_PLMN_MODE_REQ__ | |
315 #define __T_GMMREG_PLMN_MODE_REQ__ | |
316 /* | |
317 * | |
318 * CCDGEN:WriteStruct_Count==1587 | |
319 */ | |
320 typedef struct | |
321 { | |
322 U8 net_selection_mode; /*< 0: 1> network selction mode */ | |
323 U8 _align0; /*< 1: 1> alignment */ | |
324 U8 _align1; /*< 2: 1> alignment */ | |
325 U8 _align2; /*< 3: 1> alignment */ | |
326 } T_GMMREG_PLMN_MODE_REQ; | |
327 #endif | |
328 | |
329 #ifndef __T_GMMREG_INFO_IND__ | |
330 #define __T_GMMREG_INFO_IND__ | |
331 /* | |
332 * | |
333 * CCDGEN:WriteStruct_Count==1588 | |
334 */ | |
335 typedef struct | |
336 { | |
337 T_plmn plmn; /*< 0: 8> PLMN identification */ | |
338 T_full_net_name_gmm full_net_name_gmm; /*< 8: 48> Network name, long format */ | |
339 T_short_net_name_gmm short_net_name_gmm; /*< 56: 48> Network name, short format */ | |
340 T_net_time_zone net_time_zone; /*<104: 4> Network time zone */ | |
341 T_net_time net_time; /*<108: 8> Network time */ | |
342 // ELEM-FF: REL99 | |
343 U8 net_daylight_save_time; /*<116: 1> Network daylight saving time */ | |
344 U8 _align0; /*<117: 1> alignment */ | |
345 U8 _align1; /*<118: 1> alignment */ | |
346 U8 _align2; /*<119: 1> alignment */ | |
347 } T_GMMREG_INFO_IND; | |
348 #endif | |
349 | |
350 #ifndef __T_GMMREG_CONFIG_REQ__ | |
351 #define __T_GMMREG_CONFIG_REQ__ | |
352 /* | |
353 * | |
354 * CCDGEN:WriteStruct_Count==1589 | |
355 */ | |
356 typedef struct | |
357 { | |
358 U8 cipher_on; /*< 0: 1> ciphering on or off */ | |
359 U8 tlli_handling; /*< 1: 1> tlli handling in attach proc */ | |
360 U8 _align0; /*< 2: 1> alignment */ | |
361 U8 _align1; /*< 3: 1> alignment */ | |
362 } T_GMMREG_CONFIG_REQ; | |
363 #endif | |
364 | |
365 #ifndef __T_GMMREG_CIPHERING_IND__ | |
366 #define __T_GMMREG_CIPHERING_IND__ | |
367 /* | |
368 * | |
369 * CCDGEN:WriteStruct_Count==1590 | |
370 */ | |
371 typedef struct | |
372 { | |
373 U8 gsm_ciph; /*< 0: 1> GSM Ciphering Indicator */ | |
374 U8 gprs_ciph; /*< 1: 1> GPRS Ciphering Indicator */ | |
375 U8 _align0; /*< 2: 1> alignment */ | |
376 U8 _align1; /*< 3: 1> alignment */ | |
377 } T_GMMREG_CIPHERING_IND; | |
378 #endif | |
379 | |
380 #ifndef __T_GMMREG_AHPLMN_IND__ | |
381 #define __T_GMMREG_AHPLMN_IND__ | |
382 /* | |
383 * | |
384 * CCDGEN:WriteStruct_Count==1591 | |
385 */ | |
386 typedef struct | |
387 { | |
388 T_ahplmn ahplmn; /*< 0: 8> AHPLMN identification */ | |
389 } T_GMMREG_AHPLMN_IND; | |
390 #endif | |
391 | |
392 | |
393 #include "CDG_LEAVE.h" | |
394 | |
395 | |
396 #endif |