FreeCalypso > hg > fc-magnetite
comparison cdg211/cdginc/p_rr.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_rr.h | | |
5 | SOURCE : "__out__\g23m_dfile\prim\rr.pdf" | | |
6 | LastModified : "2003-02-04" | | |
7 | IdAndVersion : "6147.107.97.108" | | |
8 | SrcFileTime : "Mon Sep 26 14:38:24 2005" | | |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 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_RR_H | |
24 #define P_RR_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_RR_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_RR_H | |
30 #define CDG_ENTER__P_RR_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_RR_H__LAST_MODIFIED _2003_02_04 | |
32 #define CDG_ENTER__P_RR_H__ID_AND_VERSION _6147_107_97_108 | |
33 | |
34 #define CDG_ENTER__P_RR_H__SRC_FILE_TIME _Mon_Sep_26_14_38_24_2005 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_RR_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_rr.val" | |
44 | |
45 #ifndef __T_kcv__ | |
46 #define __T_kcv__ | |
47 /* | |
48 * kc - Value | |
49 * CCDGEN:WriteStruct_Count==1950 | |
50 */ | |
51 typedef struct | |
52 { | |
53 U8 v_kc; /*< 0: 1> valid flag */ | |
54 U8 kc[KC_STRING_SIZE]; /*< 1: 8> Kc value */ | |
55 U8 _align0; /*< 9: 1> alignment */ | |
56 U8 _align1; /*< 10: 1> alignment */ | |
57 U8 _align2; /*< 11: 1> alignment */ | |
58 } T_kcv; | |
59 #endif | |
60 | |
61 #ifndef __T_bcch_info__ | |
62 #define __T_bcch_info__ | |
63 /* | |
64 * BCCH information | |
65 * CCDGEN:WriteStruct_Count==1951 | |
66 */ | |
67 typedef struct | |
68 { | |
69 U8 v_bcch; /*< 0: 1> valid flag */ | |
70 U8 bcch[BA_BITMAP_SIZE]; /*< 1: 16> BCCH carrier list */ | |
71 U8 _align0; /*< 17: 1> alignment */ | |
72 U8 _align1; /*< 18: 1> alignment */ | |
73 U8 _align2; /*< 19: 1> alignment */ | |
74 } T_bcch_info; | |
75 #endif | |
76 | |
77 #ifndef __T_chm__ | |
78 #define __T_chm__ | |
79 /* | |
80 * Channel using mode | |
81 * CCDGEN:WriteStruct_Count==1952 | |
82 */ | |
83 typedef struct | |
84 { | |
85 U8 ch_type; /*< 0: 1> Channel Type */ | |
86 U8 ch_mode; /*< 1: 1> Channel Mode */ | |
87 U8 _align0; /*< 2: 1> alignment */ | |
88 U8 _align1; /*< 3: 1> alignment */ | |
89 } T_chm; | |
90 #endif | |
91 | |
92 #ifndef __T_mm_info__ | |
93 #define __T_mm_info__ | |
94 /* | |
95 * MM information | |
96 * CCDGEN:WriteStruct_Count==1953 | |
97 */ | |
98 typedef struct | |
99 { | |
100 U8 valid; /*< 0: 1> valid information */ | |
101 U8 la; /*< 1: 1> Location area indication */ | |
102 U8 att; /*< 2: 1> attach / detach flag */ | |
103 U8 re; /*< 3: 1> re-establishment flag */ | |
104 U8 band; /*< 4: 1> band (dummy) */ | |
105 U8 ncc; /*< 5: 1> national colour code */ | |
106 U8 bcc; /*< 6: 1> base station colour code */ | |
107 U8 t3212; /*< 7: 1> periodic updating timer period */ | |
108 } T_mm_info; | |
109 #endif | |
110 | |
111 #ifndef __T_imsi_struct__ | |
112 #define __T_imsi_struct__ | |
113 /* | |
114 * mobile identity | |
115 * CCDGEN:WriteStruct_Count==1954 | |
116 */ | |
117 typedef struct | |
118 { | |
119 U8 v_mid; /*< 0: 1> valid flag */ | |
120 U8 id_type; /*< 1: 1> type of identity */ | |
121 U8 id[MAX_DIGITS]; /*< 2: 16> IMSI digits */ | |
122 U8 _align0; /*< 18: 1> alignment */ | |
123 U8 _align1; /*< 19: 1> alignment */ | |
124 U32 tmsi_dig; /*< 20: 4> TMSI digits */ | |
125 } T_imsi_struct; | |
126 #endif | |
127 | |
128 /* | |
129 * mobile identity | |
130 * CCDGEN:WriteStruct_Count==1955 | |
131 */ | |
132 #ifndef __T_tmsi_struct__ | |
133 #define __T_tmsi_struct__ | |
134 typedef T_imsi_struct T_tmsi_struct; | |
135 #endif | |
136 #ifndef __T_op__ | |
137 #define __T_op__ | |
138 /* | |
139 * operation mode | |
140 * CCDGEN:WriteStruct_Count==1956 | |
141 */ | |
142 typedef struct | |
143 { | |
144 U8 v_op; /*< 0: 1> valid flag */ | |
145 U8 ts; /*< 1: 1> test SIM card */ | |
146 U8 m; /*< 2: 1> registration mode */ | |
147 U8 sim_ins; /*< 3: 1> SIM card */ | |
148 U8 func; /*< 4: 1> Operation Mode */ | |
149 U8 service; /*< 5: 1> RR Service */ | |
150 U8 _align0; /*< 6: 1> alignment */ | |
151 U8 _align1; /*< 7: 1> alignment */ | |
152 } T_op; | |
153 #endif | |
154 | |
155 #ifndef __T_plmn__ | |
156 #define __T_plmn__ | |
157 /* | |
158 * PLMN identification | |
159 * CCDGEN:WriteStruct_Count==1957 | |
160 */ | |
161 typedef struct | |
162 { | |
163 U8 v_plmn; /*< 0: 1> valid flag */ | |
164 U8 mcc[SIZE_MCC]; /*< 1: 3> Mobile country code. */ | |
165 U8 mnc[SIZE_MNC]; /*< 4: 3> Mobile network code. */ | |
166 U8 _align0; /*< 7: 1> alignment */ | |
167 } T_plmn; | |
168 #endif | |
169 | |
170 #ifndef __T_eq_plmn_list__ | |
171 #define __T_eq_plmn_list__ | |
172 /* | |
173 * Equivalent plmn List | |
174 * CCDGEN:WriteStruct_Count==1959 | |
175 */ | |
176 typedef struct | |
177 { | |
178 U8 eq_plmn[SIZE_EPLMN]; /*< 0: 18> Basic Element */ | |
179 U8 v_eq_plmn; /*< 18: 1> Validity of equivalent plmn list */ | |
180 U8 _align0; /*< 19: 1> alignment */ | |
181 } T_eq_plmn_list; | |
182 #endif | |
183 | |
184 | |
185 /* | |
186 * End of substructure section, begin of primitive definition section | |
187 */ | |
188 | |
189 #ifndef __T_RR_ABORT_REQ__ | |
190 #define __T_RR_ABORT_REQ__ | |
191 /* | |
192 * | |
193 * CCDGEN:WriteStruct_Count==1963 | |
194 */ | |
195 typedef struct | |
196 { | |
197 U8 abcs; /*< 0: 1> abort cause */ | |
198 U8 _align0; /*< 1: 1> alignment */ | |
199 U8 _align1; /*< 2: 1> alignment */ | |
200 U8 _align2; /*< 3: 1> alignment */ | |
201 } T_RR_ABORT_REQ; | |
202 #endif | |
203 | |
204 #ifndef __T_RR_ABORT_IND__ | |
205 #define __T_RR_ABORT_IND__ | |
206 /* | |
207 * | |
208 * CCDGEN:WriteStruct_Count==1964 | |
209 */ | |
210 typedef struct | |
211 { | |
212 T_op op; /*< 0: 8> operation mode */ | |
213 U16 cause; /*< 8: 2> RR cause */ | |
214 U8 plmn_avail; /*< 10: 1> PLMN available */ | |
215 U8 _align0; /*< 11: 1> alignment */ | |
216 T_plmn plmn[MAX_PLMN]; /*< 12: 96> PLMN identification */ | |
217 U16 lac_list[MAX_PLMN]; /*<108: 24> LACs of found PLMNs */ | |
218 U8 rxlevel[MAX_PLMN]; /*<132: 12> Fieldstrength */ | |
219 U8 power; /*<144: 1> Power class */ | |
220 U8 _align1; /*<145: 1> alignment */ | |
221 U8 _align2; /*<146: 1> alignment */ | |
222 U8 _align3; /*<147: 1> alignment */ | |
223 } T_RR_ABORT_IND; | |
224 #endif | |
225 | |
226 #ifndef __T_RR_ACTIVATE_REQ__ | |
227 #define __T_RR_ACTIVATE_REQ__ | |
228 /* | |
229 * | |
230 * CCDGEN:WriteStruct_Count==1965 | |
231 */ | |
232 typedef struct | |
233 { | |
234 T_plmn plmn; /*< 0: 8> PLMN identification */ | |
235 T_op op; /*< 8: 8> operation mode */ | |
236 U8 cksn; /*< 16: 1> ciphering key sequence number */ | |
237 U8 _align0; /*< 17: 1> alignment */ | |
238 U8 _align1; /*< 18: 1> alignment */ | |
239 U8 _align2; /*< 19: 1> alignment */ | |
240 T_kcv kcv; /*< 20: 12> kc - Value */ | |
241 U16 accc; /*< 32: 2> access control classes */ | |
242 U8 _align3; /*< 34: 1> alignment */ | |
243 U8 _align4; /*< 35: 1> alignment */ | |
244 T_imsi_struct imsi_struct; /*< 36: 24> mobile identity */ | |
245 T_tmsi_struct tmsi_struct; /*< 60: 24> mobile identity */ | |
246 U8 thplmn; /*< 84: 1> HPLN time */ | |
247 U8 _align5; /*< 85: 1> alignment */ | |
248 U8 _align6; /*< 86: 1> alignment */ | |
249 U8 _align7; /*< 87: 1> alignment */ | |
250 T_bcch_info bcch_info; /*< 88: 20> BCCH information */ | |
251 U8 cell_test; /*<108: 1> cell test operation */ | |
252 U8 gprs_indication; /*<109: 1> GPRS indicator */ | |
253 U8 _align8; /*<110: 1> alignment */ | |
254 U8 _align9; /*<111: 1> alignment */ | |
255 T_eq_plmn_list eq_plmn_list; /*<112: 20> Equivalent plmn List */ | |
256 } T_RR_ACTIVATE_REQ; | |
257 #endif | |
258 | |
259 #ifndef __T_RR_ACTIVATE_CNF__ | |
260 #define __T_RR_ACTIVATE_CNF__ | |
261 /* | |
262 * | |
263 * CCDGEN:WriteStruct_Count==1966 | |
264 */ | |
265 typedef struct | |
266 { | |
267 T_op op; /*< 0: 8> operation mode */ | |
268 T_mm_info mm_info; /*< 8: 8> MM information */ | |
269 U16 cid; /*< 16: 2> cell identity */ | |
270 U8 _align0; /*< 18: 1> alignment */ | |
271 U8 _align1; /*< 19: 1> alignment */ | |
272 T_plmn plmn; /*< 20: 8> PLMN identification */ | |
273 U16 lac; /*< 28: 2> location area code */ | |
274 U8 power; /*< 30: 1> Power class */ | |
275 U8 gprs_indication; /*< 31: 1> GPRS indicator */ | |
276 } T_RR_ACTIVATE_CNF; | |
277 #endif | |
278 | |
279 #ifndef __T_RR_ACTIVATE_IND__ | |
280 #define __T_RR_ACTIVATE_IND__ | |
281 /* | |
282 * | |
283 * CCDGEN:WriteStruct_Count==1967 | |
284 */ | |
285 typedef struct | |
286 { | |
287 T_op op; /*< 0: 8> operation mode */ | |
288 T_mm_info mm_info; /*< 8: 8> MM information */ | |
289 U16 cid; /*< 16: 2> cell identity */ | |
290 U8 _align0; /*< 18: 1> alignment */ | |
291 U8 _align1; /*< 19: 1> alignment */ | |
292 T_plmn plmn; /*< 20: 8> PLMN identification */ | |
293 U16 lac; /*< 28: 2> location area code */ | |
294 U8 power; /*< 30: 1> Power class */ | |
295 U8 gprs_indication; /*< 31: 1> GPRS indicator */ | |
296 } T_RR_ACTIVATE_IND; | |
297 #endif | |
298 | |
299 #ifndef __T_RR_DATA_REQ__ | |
300 #define __T_RR_DATA_REQ__ | |
301 /* | |
302 * | |
303 * CCDGEN:WriteStruct_Count==1968 | |
304 */ | |
305 typedef struct | |
306 { | |
307 U8 d1; /*< 0: 1> dummy, not used */ | |
308 U8 d2; /*< 1: 1> dummy, not used */ | |
309 U8 _align0; /*< 2: 1> alignment */ | |
310 U8 _align1; /*< 3: 1> alignment */ | |
311 T_sdu sdu; /*< 4: ? > Service Data Unit */ | |
312 } T_RR_DATA_REQ; | |
313 #endif | |
314 | |
315 #ifndef __T_RR_DATA_IND__ | |
316 #define __T_RR_DATA_IND__ | |
317 /* | |
318 * | |
319 * CCDGEN:WriteStruct_Count==1969 | |
320 */ | |
321 typedef struct | |
322 { | |
323 U8 d1; /*< 0: 1> dummy, not used */ | |
324 U8 d2; /*< 1: 1> dummy, not used */ | |
325 U8 _align0; /*< 2: 1> alignment */ | |
326 U8 _align1; /*< 3: 1> alignment */ | |
327 T_sdu sdu; /*< 4: ? > Service Data Unit */ | |
328 } T_RR_DATA_IND; | |
329 #endif | |
330 | |
331 #ifndef __T_RR_DEACTIVATE_REQ__ | |
332 #define __T_RR_DEACTIVATE_REQ__ | |
333 /* | |
334 * | |
335 * CCDGEN:WriteStruct_Count==1970 | |
336 */ | |
337 typedef struct | |
338 { | |
339 U8 param; /*< 0: 1> dummy parameter */ | |
340 U8 _align0; /*< 1: 1> alignment */ | |
341 U8 _align1; /*< 2: 1> alignment */ | |
342 U8 _align2; /*< 3: 1> alignment */ | |
343 } T_RR_DEACTIVATE_REQ; | |
344 #endif | |
345 | |
346 #ifndef __T_RR_ESTABLISH_REQ__ | |
347 #define __T_RR_ESTABLISH_REQ__ | |
348 /* | |
349 * | |
350 * CCDGEN:WriteStruct_Count==1971 | |
351 */ | |
352 typedef struct | |
353 { | |
354 U16 estcs; /*< 0: 2> establishment cause */ | |
355 U8 _align0; /*< 2: 1> alignment */ | |
356 U8 _align1; /*< 3: 1> alignment */ | |
357 T_sdu sdu; /*< 4: ? > Service Data Unit */ | |
358 } T_RR_ESTABLISH_REQ; | |
359 #endif | |
360 | |
361 #ifndef __T_RR_ESTABLISH_CNF__ | |
362 #define __T_RR_ESTABLISH_CNF__ | |
363 /* | |
364 * | |
365 * CCDGEN:WriteStruct_Count==1972 | |
366 */ | |
367 typedef struct | |
368 { | |
369 U8 param; /*< 0: 1> dummy parameter */ | |
370 U8 _align0; /*< 1: 1> alignment */ | |
371 U8 _align1; /*< 2: 1> alignment */ | |
372 U8 _align2; /*< 3: 1> alignment */ | |
373 } T_RR_ESTABLISH_CNF; | |
374 #endif | |
375 | |
376 #ifndef __T_RR_ESTABLISH_IND__ | |
377 #define __T_RR_ESTABLISH_IND__ | |
378 /* | |
379 * | |
380 * CCDGEN:WriteStruct_Count==1973 | |
381 */ | |
382 typedef struct | |
383 { | |
384 U8 param; /*< 0: 1> dummy parameter */ | |
385 U8 _align0; /*< 1: 1> alignment */ | |
386 U8 _align1; /*< 2: 1> alignment */ | |
387 U8 _align2; /*< 3: 1> alignment */ | |
388 } T_RR_ESTABLISH_IND; | |
389 #endif | |
390 | |
391 #ifndef __T_RR_RELEASE_IND__ | |
392 #define __T_RR_RELEASE_IND__ | |
393 /* | |
394 * | |
395 * CCDGEN:WriteStruct_Count==1974 | |
396 */ | |
397 typedef struct | |
398 { | |
399 U16 cause; /*< 0: 2> RR cause */ | |
400 U8 sapi; /*< 2: 1> service access point identifier */ | |
401 U8 gprs_resumption; /*< 3: 1> GPRS resumption information */ | |
402 } T_RR_RELEASE_IND; | |
403 #endif | |
404 | |
405 #ifndef __T_RR_SYNC_REQ__ | |
406 #define __T_RR_SYNC_REQ__ | |
407 /* | |
408 * | |
409 * CCDGEN:WriteStruct_Count==1975 | |
410 */ | |
411 typedef struct | |
412 { | |
413 T_op op; /*< 0: 8> operation mode */ | |
414 U8 cksn; /*< 8: 1> ciphering key sequence number */ | |
415 U8 _align0; /*< 9: 1> alignment */ | |
416 U8 _align1; /*< 10: 1> alignment */ | |
417 U8 _align2; /*< 11: 1> alignment */ | |
418 T_kcv kcv; /*< 12: 12> kc - Value */ | |
419 T_tmsi_struct tmsi_struct; /*< 24: 24> mobile identity */ | |
420 T_plmn plmn; /*< 48: 8> PLMN identification */ | |
421 U16 lac; /*< 56: 2> location area code */ | |
422 U16 synccs; /*< 58: 2> synchronisation cause */ | |
423 U16 accc; /*< 60: 2> access control classes */ | |
424 U8 thplmn; /*< 62: 1> HPLN time */ | |
425 U8 _align3; /*< 63: 1> alignment */ | |
426 T_eq_plmn_list eq_plmn_list; /*< 64: 20> Equivalent plmn List */ | |
427 } T_RR_SYNC_REQ; | |
428 #endif | |
429 | |
430 #ifndef __T_RR_SYNC_IND__ | |
431 #define __T_RR_SYNC_IND__ | |
432 /* | |
433 * | |
434 * CCDGEN:WriteStruct_Count==1976 | |
435 */ | |
436 typedef struct | |
437 { | |
438 U8 ciph; /*< 0: 1> cipher mode */ | |
439 U8 _align0; /*< 1: 1> alignment */ | |
440 U8 _align1; /*< 2: 1> alignment */ | |
441 U8 _align2; /*< 3: 1> alignment */ | |
442 T_mm_info mm_info; /*< 4: 8> MM information */ | |
443 T_bcch_info bcch_info; /*< 12: 20> BCCH information */ | |
444 U16 synccs; /*< 32: 2> synchronisation cause */ | |
445 U8 _align3; /*< 34: 1> alignment */ | |
446 U8 _align4; /*< 35: 1> alignment */ | |
447 T_chm chm; /*< 36: 4> Channel using mode */ | |
448 } T_RR_SYNC_IND; | |
449 #endif | |
450 | |
451 #ifndef __T_RR_SYNC_HPLMN_REQ__ | |
452 #define __T_RR_SYNC_HPLMN_REQ__ | |
453 /* | |
454 * | |
455 * CCDGEN:WriteStruct_Count==1977 | |
456 */ | |
457 typedef struct | |
458 { | |
459 T_plmn plmn; /*< 0: 8> PLMN identification */ | |
460 } T_RR_SYNC_HPLMN_REQ; | |
461 #endif | |
462 | |
463 | |
464 #include "CDG_LEAVE.h" | |
465 | |
466 | |
467 #endif |