comparison gsm-fw/cdg/cdginc-locosto/p_mmreg.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_mmreg.h |
5 | SOURCE : "sap\mmreg.pdf" |
6 | LastModified : "2003-06-13" |
7 | IdAndVersion : "6147.100.96.110" |
8 | SrcFileTime : "Thu Nov 29 09:46:52 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_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 _2003_06_13
32 #define CDG_ENTER__P_MMREG_H__ID_AND_VERSION _6147_100_96_110
33
34 #define CDG_ENTER__P_MMREG_H__SRC_FILE_TIME _Thu_Nov_29_09_46_52_2007
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==1875
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==1876
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==1877
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==1878
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==1879
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==1880
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==1881
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==1882
148 */
149 typedef struct
150 {
151 U8 service_mode; /*< 0: 1> Required service mode */
152 U8 bootup_act; /*< 1: 1> Bootup action */
153 U8 _align0; /*< 2: 1> alignment */
154 U8 _align1; /*< 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==1883
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 U8 bootup_cause; /*< 12: 1> bootup cause */
170 U8 _align0; /*< 13: 1> alignment */
171 U8 _align1; /*< 14: 1> alignment */
172 U8 _align2; /*< 15: 1> alignment */
173 } T_MMR_REG_CNF;
174 #endif
175
176 #ifndef __T_MMR_NREG_IND__
177 #define __T_MMR_NREG_IND__
178 /*
179 *
180 * CCDGEN:WriteStruct_Count==1884
181 */
182 typedef struct
183 {
184 U8 service; /*< 0: 1> service (either no or limited service) */
185 U8 search_running; /*< 1: 1> Search is still running */
186 U8 _align0; /*< 2: 1> alignment */
187 U8 _align1; /*< 3: 1> alignment */
188 T_new_forb_plmn new_forb_plmn; /*< 4: 8> plmn identification */
189 U16 cause; /*< 12: 2> Cause for loss of full service, release or error */
190 U8 _align2; /*< 14: 1> alignment */
191 U8 _align3; /*< 15: 1> alignment */
192 } T_MMR_NREG_IND;
193 #endif
194
195 #ifndef __T_MMR_NREG_REQ__
196 #define __T_MMR_NREG_REQ__
197 /*
198 *
199 * CCDGEN:WriteStruct_Count==1885
200 */
201 typedef struct
202 {
203 U8 detach_cause; /*< 0: 1> cause */
204 U8 _align0; /*< 1: 1> alignment */
205 U8 _align1; /*< 2: 1> alignment */
206 U8 _align2; /*< 3: 1> alignment */
207 } T_MMR_NREG_REQ;
208 #endif
209
210 #ifndef __T_MMR_NREG_CNF__
211 #define __T_MMR_NREG_CNF__
212 /*
213 *
214 * CCDGEN:WriteStruct_Count==1886
215 */
216 typedef struct
217 {
218 U8 detach_cause; /*< 0: 1> cause */
219 U8 _align0; /*< 1: 1> alignment */
220 U8 _align1; /*< 2: 1> alignment */
221 U8 _align2; /*< 3: 1> alignment */
222 } T_MMR_NREG_CNF;
223 #endif
224
225 #ifndef __T_MMR_NET_REQ__
226 #define __T_MMR_NET_REQ__
227 /*
228 *
229 * CCDGEN:WriteStruct_Count==1887
230 */
231 typedef struct
232 {
233 U8 dummy; /*< 0: 1> no parameters */
234 } T_MMR_NET_REQ;
235 #endif
236
237 #ifndef __T_MMR_PLMN_IND__
238 #define __T_MMR_PLMN_IND__
239 /*
240 *
241 * CCDGEN:WriteStruct_Count==1888
242 */
243 typedef struct
244 {
245 U16 cause; /*< 0: 2> Cause for loss of full service, release or error */
246 U8 _align0; /*< 2: 1> alignment */
247 U8 _align1; /*< 3: 1> alignment */
248 T_plmn plmn[MAX_PLMN_ID]; /*< 4: 96> plmn identification */
249 U16 lac_list[MAX_PLMN_ID]; /*<100: 24> LACs of found PLMNs */
250 U8 forb_ind[MAX_PLMN_ID]; /*<124: 12> Forbidden PLMN indicator */
251 U8 rxlevel[MAX_PLMN_ID]; /*<136: 12> Fieldstrength */
252 } T_MMR_PLMN_IND;
253 #endif
254
255 #ifndef __T_MMR_PLMN_RES__
256 #define __T_MMR_PLMN_RES__
257 /*
258 *
259 * CCDGEN:WriteStruct_Count==1889
260 */
261 typedef struct
262 {
263 T_plmn plmn; /*< 0: 8> plmn identification */
264 } T_MMR_PLMN_RES;
265 #endif
266
267 #ifndef __T_MMR_PLMN_MODE_REQ__
268 #define __T_MMR_PLMN_MODE_REQ__
269 /*
270 *
271 * CCDGEN:WriteStruct_Count==1890
272 */
273 typedef struct
274 {
275 U8 mode; /*< 0: 1> registration mode */
276 U8 _align0; /*< 1: 1> alignment */
277 U8 _align1; /*< 2: 1> alignment */
278 U8 _align2; /*< 3: 1> alignment */
279 } T_MMR_PLMN_MODE_REQ;
280 #endif
281
282 #ifndef __T_MMR_INFO_IND__
283 #define __T_MMR_INFO_IND__
284 /*
285 *
286 * CCDGEN:WriteStruct_Count==1891
287 */
288 typedef struct
289 {
290 T_plmn plmn; /*< 0: 8> plmn identification */
291 T_full_name full_name; /*< 8: 48> Network name, long format */
292 T_short_name short_name; /*< 56: 48> Network name, short format */
293 T_ntz ntz; /*<104: 4> Network time zone */
294 T_time time; /*<108: 8> Network time */
295 U8 daylight_save_time; /*<116: 1> Network daylight saving time */
296 U8 _align0; /*<117: 1> alignment */
297 U8 _align1; /*<118: 1> alignment */
298 U8 _align2; /*<119: 1> alignment */
299 } T_MMR_INFO_IND;
300 #endif
301
302 #ifndef __T_MMR_CIPHERING_IND__
303 #define __T_MMR_CIPHERING_IND__
304 /*
305 *
306 * CCDGEN:WriteStruct_Count==1892
307 */
308 typedef struct
309 {
310 U8 ciph; /*< 0: 1> cipher mode */
311 U8 _align0; /*< 1: 1> alignment */
312 U8 _align1; /*< 2: 1> alignment */
313 U8 _align2; /*< 3: 1> alignment */
314 } T_MMR_CIPHERING_IND;
315 #endif
316
317 #ifndef __T_MMR_AHPLMN_IND__
318 #define __T_MMR_AHPLMN_IND__
319 /*
320 *
321 * CCDGEN:WriteStruct_Count==1893
322 */
323 typedef struct
324 {
325 T_ahplmn ahplmn; /*< 0: 8> ahplmn identification */
326 } T_MMR_AHPLMN_IND;
327 #endif
328
329
330 #include "CDG_LEAVE.h"
331
332
333 #endif