comparison cdg3/cdginc-locosto/m_grlc.h @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : m_grlc.h |
5 | SOURCE : "msg\grlc.mdf" |
6 | LastModified : "2004-02-18" |
7 | IdAndVersion : "8010.603.99.004" |
8 | SrcFileTime : "Wed Nov 28 10:18:54 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 * CCDNAME: GRLC
21 */
22
23
24 #ifndef M_GRLC_H
25 #define M_GRLC_H
26
27
28 #define CDG_ENTER__M_GRLC_H
29
30 #define CDG_ENTER__FILENAME _M_GRLC_H
31 #define CDG_ENTER__M_GRLC_H__FILE_TYPE CDGINC
32 #define CDG_ENTER__M_GRLC_H__LAST_MODIFIED _2004_02_18
33 #define CDG_ENTER__M_GRLC_H__ID_AND_VERSION _8010_603_99_004
34
35 #define CDG_ENTER__M_GRLC_H__SRC_FILE_TIME _Wed_Nov_28_10_18_54_2007
36
37 #include "CDG_ENTER.h"
38
39 #undef CDG_ENTER__M_GRLC_H
40
41 #undef CDG_ENTER__FILENAME
42
43
44 #include "m_grlc.val"
45
46 #include "m_rr_com.h"
47
48 /*
49 * bitbuffer structure for the element tlli_value
50 */
51 #ifndef __T_BUF_tlli_value__
52 #define __T_BUF_tlli_value__
53 typedef struct
54 {
55 U16 l_tlli_value;
56 U16 o_tlli_value;
57 U8 b_tlli_value[8];
58 } BUF_tlli_value; /* size <12> */
59 #endif
60 /*
61 * bitbuffer structure for the element cr_tlli
62 */
63 #ifndef __T_BUF_cr_tlli__
64 #define __T_BUF_cr_tlli__
65 typedef struct
66 {
67 U16 l_cr_tlli;
68 U16 o_cr_tlli;
69 U8 b_cr_tlli[8];
70 } BUF_cr_tlli; /* size <12> */
71 #endif
72 // VAR-FF: REL99 AND FF_EGPRS
73 /*
74 * bitbuffer structure for the element urbb_1
75 */
76 // #ifndef __T_BUF_urbb_1__
77 // #define __T_BUF_urbb_1__
78 // // typedef struct
79 // {
80 // U16 l_urbb_1;
81 // U16 o_urbb_1;
82 // U8 b_urbb_1[20];
83 // } BUF_urbb_1; /* size <24> */
84 // #endif
85 // VAR-FF: REL99 AND FF_EGPRS
86 /*
87 * bitbuffer structure for the element crbb
88 */
89 // #ifndef __T_BUF_crbb__
90 // #define __T_BUF_crbb__
91 // // typedef struct
92 // {
93 // U16 l_crbb;
94 // U16 o_crbb;
95 // U8 b_crbb[20];
96 // } BUF_crbb; /* size <24> */
97 // #endif
98 // VAR-FF: REL99 AND FF_EGPRS
99 /*
100 * bitbuffer structure for the element urbb_2
101 */
102 // #ifndef __T_BUF_urbb_2__
103 // #define __T_BUF_urbb_2__
104 // // typedef struct
105 // {
106 // U16 l_urbb_2;
107 // U16 o_urbb_2;
108 // U8 b_urbb_2[20];
109 // } BUF_urbb_2; /* size <24> */
110 // #endif
111 // VAR-FF: REL99 AND FF_EGPRS
112 /*
113 * bitbuffer structure for the element urbb_3
114 */
115 // #ifndef __T_BUF_urbb_3__
116 // #define __T_BUF_urbb_3__
117 // // typedef struct
118 // {
119 // U16 l_urbb_3;
120 // U16 o_urbb_3;
121 // U8 b_urbb_3[20];
122 // } BUF_urbb_3; /* size <24> */
123 // #endif
124 // VAR-FF: REL99 AND FF_EGPRS
125 /*
126 * bitbuffer structure for the element urbb
127 */
128 // #ifndef __T_BUF_urbb__
129 // #define __T_BUF_urbb__
130 // // typedef struct
131 // {
132 // U16 l_urbb;
133 // U16 o_urbb;
134 // U8 b_urbb[20];
135 // } BUF_urbb; /* size <24> */
136 // #endif
137 // VAR-FF: REL99 AND FF_EGPRS
138 /*
139 * bitbuffer structure for the element urbb_4
140 */
141 // #ifndef __T_BUF_urbb_4__
142 // #define __T_BUF_urbb_4__
143 // // typedef struct
144 // {
145 // U16 l_urbb_4;
146 // U16 o_urbb_4;
147 // U8 b_urbb_4[20];
148 // } BUF_urbb_4; /* size <24> */
149 // #endif
150 // VAR-FF: REL99 AND FF_EGPRS
151 /*
152 * bitbuffer structure for the element urbb_5
153 */
154 // #ifndef __T_BUF_urbb_5__
155 // #define __T_BUF_urbb_5__
156 // // typedef struct
157 // {
158 // U16 l_urbb_5;
159 // U16 o_urbb_5;
160 // U8 b_urbb_5[20];
161 // } BUF_urbb_5; /* size <24> */
162 // #endif
163 #ifndef __T_glob_tfi__
164 #define __T_glob_tfi__
165 /*
166 * Global TFI
167 * CCDGEN:WriteStruct_Count==776
168 */
169 typedef struct
170 {
171 U8 flag; /*< 0: 1> Flag */
172 U8 v_ul_tfi; /*< 1: 1> valid-flag */
173 U8 ul_tfi; /*< 2: 1> Uplink TFI */
174 U8 v_dl_tfi; /*< 3: 1> valid-flag */
175 U8 dl_tfi; /*< 4: 1> Downlink TFI */
176 U8 _align0; /*< 5: 1> alignment */
177 U8 _align1; /*< 6: 1> alignment */
178 U8 _align2; /*< 7: 1> alignment */
179 } T_glob_tfi;
180 #endif
181
182 #ifndef __T_chan_req_des__
183 #define __T_chan_req_des__
184 /*
185 * Channel Request Description
186 * CCDGEN:WriteStruct_Count==777
187 */
188 typedef struct
189 {
190 U8 peak_thr_class; /*< 0: 1> PEAK_THROUGHPUT_CLASS */
191 U8 radio_prio; /*< 1: 1> RADIO_PRIORITY */
192 U8 rlc_mode; /*< 2: 1> RLC_MODE */
193 U8 llc_pdu_type; /*< 3: 1> LLC_PDU_TYPE */
194 U16 rlc_octet_cnt; /*< 4: 2> RLC_OCTET_COUNT */
195 U8 _align0; /*< 6: 1> alignment */
196 U8 _align1; /*< 7: 1> alignment */
197 } T_chan_req_des;
198 #endif
199
200 #ifndef __T_block_struct__
201 #define __T_block_struct__
202 /*
203 * Blocks Structure
204 * CCDGEN:WriteStruct_Count==778
205 */
206 typedef struct
207 {
208 U8 bl_o_bl_per; /*< 0: 1> BLOCKS_OR_BLOCK_PERIODS */
209 U8 a_map_len; /*< 1: 1> ALLOCATION_BITMAP_LENGTH */
210 U8 c_alloc_map; /*< 2: 1> counter */
211 U8 alloc_map[127]; /*< 3:127> ALLOCATION_BITMAP */
212 U8 _align0; /*<130: 1> alignment */
213 U8 _align1; /*<131: 1> alignment */
214 } T_block_struct;
215 #endif
216
217 #ifndef __T_ext_bits__
218 #define __T_ext_bits__
219 /*
220 * Extensions Bits IE
221 * CCDGEN:WriteStruct_Count==779
222 */
223 typedef struct
224 {
225 U8 ext_len; /*< 0: 1> Extension Length */
226 U8 c_spare_ext; /*< 1: 1> counter */
227 U8 spare_ext[64]; /*< 2: 64> spare bit extensions IE */
228 U8 _align0; /*< 66: 1> alignment */
229 U8 _align1; /*< 67: 1> alignment */
230 } T_ext_bits;
231 #endif
232
233 #ifndef __T_ilev__
234 #define __T_ilev__
235 /*
236 * I_LEVEL Structure
237 * CCDGEN:WriteStruct_Count==780
238 */
239 typedef struct
240 {
241 U8 v_ilev0; /*< 0: 1> valid-flag */
242 U8 ilev0; /*< 1: 1> I_LEVEL_TNO */
243 U8 v_ilev1; /*< 2: 1> valid-flag */
244 U8 ilev1; /*< 3: 1> I_LEVEL_TN1 */
245 U8 v_ilev2; /*< 4: 1> valid-flag */
246 U8 ilev2; /*< 5: 1> I_LEVEL_TN2 */
247 U8 v_ilev3; /*< 6: 1> valid-flag */
248 U8 ilev3; /*< 7: 1> I_LEVEL_TN3 */
249 U8 v_ilev4; /*< 8: 1> valid-flag */
250 U8 ilev4; /*< 9: 1> I_LEVEL_TN4 */
251 U8 v_ilev5; /*< 10: 1> valid-flag */
252 U8 ilev5; /*< 11: 1> I_LEVEL_TN5 */
253 U8 v_ilev6; /*< 12: 1> valid-flag */
254 U8 ilev6; /*< 13: 1> I_LEVEL_TN6 */
255 U8 v_ilev7; /*< 14: 1> valid-flag */
256 U8 ilev7; /*< 15: 1> I_LEVEL_TN7 */
257 } T_ilev;
258 #endif
259
260 #ifndef __T_chan_qual_rep__
261 #define __T_chan_qual_rep__
262 /*
263 * Channel Quality Report
264 * CCDGEN:WriteStruct_Count==781
265 */
266 typedef struct
267 {
268 U8 c_value; /*< 0: 1> C_VALUE */
269 U8 rxqual; /*< 1: 1> RXQUAL */
270 U8 signvar; /*< 2: 1> SIGN_VAR */
271 U8 _align0; /*< 3: 1> alignment */
272 T_ilev ilev; /*< 4: 16> I_LEVEL Structure */
273 } T_chan_qual_rep;
274 #endif
275
276 #ifndef __T_ack_nack_des__
277 #define __T_ack_nack_des__
278 /*
279 * Ack/Nack Description
280 * CCDGEN:WriteStruct_Count==782
281 */
282 typedef struct
283 {
284 U8 f_ack_ind; /*< 0: 1> FINAL_ACK_INDICATION */
285 U8 ssn; /*< 1: 1> STARTING_SEQUENCE_NUMBER */
286 U8 rbb[64]; /*< 2: 64> RECEIVE_BLOCK_BITMAP */
287 U8 _align0; /*< 66: 1> alignment */
288 U8 _align1; /*< 67: 1> alignment */
289 } T_ack_nack_des;
290 #endif
291
292
293 // STRUCT-FF: REL99 AND FF_EGPRS
294 // #ifndef __T_cbmp_info__
295 // #define __T_cbmp_info__
296 //
297 // COMPRESSED_BMP_INFO
298 // CCDGEN:WriteStruct_Count==783
299 //
300 // typedef struct
301 // {
302 // U8 comp_bmp_len; /*< 0: 0> COMPRESSED_BITMAP_LENGTH */
303 // U8 cbmp_color_code; /*< 0: 0> COMPRESSED_BITMAP_STARTING_COLOR_CODE */
304 // BUF_crbb crbb; /*< 0: 0> COMPRESSED_RECEIVED_BLOCK_BITMAP */
305 // } T_cbmp_info;
306 // #endif
307 //
308
309 // STRUCT-FF: REL99 AND FF_EGPRS
310 // #ifndef __T_egprs_ack_nack_desc__
311 // #define __T_egprs_ack_nack_desc__
312 //
313 // EGPRS Ack Nack description
314 // CCDGEN:WriteStruct_Count==784
315 //
316 // typedef struct
317 // {
318 // U8 f_ack_ind; /*< 0: 1> FINAL_ACK_INDICATION */
319 // U8 bow; /*< 0: 0> BEGINNING_OF_WINDOW */
320 // U8 eow; /*< 0: 0> END_OF_WINDOW */
321 // U8 _align0; /*< 1: 1> alignment */
322 // U16 essn; /*< 0: 0> EGPRS_STARTING_SEQUENCE_NUMBER */
323 // U8 v_cbmp_info; /*< 0: 0> valid-flag */
324 // // T_cbmp_info cbmp_info; /*< 0: 0> COMPRESSED_BMP_INFO */
325 // U8 _align1; /*< 2: 1> alignment */
326 // U8 v_urbb; /*< 3: 1> valid-flag */
327 // BUF_urbb urbb; /*< 0: 0> UNCOMPRESSED_RECEIVED_BLOCK_BITMAP for DL */
328 // U8 v_urbb_4; /*< 3: 1> valid-flag */
329 // BUF_urbb_4 urbb_4; /*< 0: 0> UNCOMPRESSED_RECEIVED_BLOCK_BITMAP for DL */
330 // U8 v_urbb_5; /*< 3: 1> valid-flag */
331 // BUF_urbb_5 urbb_5; /*< 0: 0> UNCOMPRESSED_RECEIVED_BLOCK_BITMAP for DL */
332 // U8 _align2; /*< 3: 1> alignment */
333 // } T_egprs_ack_nack_desc;
334 // #endif
335 //
336
337 // STRUCT-FF: REL99 AND FF_EGPRS
338 // #ifndef __T_egprs_ack_nack_info__
339 // #define __T_egprs_ack_nack_info__
340 //
341 // EGPRS Ack/Nack IE
342 // CCDGEN:WriteStruct_Count==785
343 //
344 // typedef struct
345 // {
346 // U8 flag; /*< 0: 1> Flag */
347 // U8 v_len; /*< 1: 1> valid-flag */
348 // U8 len; /*< 0: 0> EGPRS Ack Nack value part Length */
349 // T_egprs_ack_nack_desc egprs_ack_nack_desc; /*< 0: 0> EGPRS Ack Nack description */
350 // U8 _align0; /*< 1: 1> alignment */
351 // U8 _align1; /*< 2: 1> alignment */
352 // U8 _align2; /*< 3: 1> alignment */
353 // } T_egprs_ack_nack_info;
354 // #endif
355 //
356
357 // STRUCT-FF: REL99 AND FF_EGPRS
358 // #ifndef __T_ul_egprs_ack_nack_info__
359 // #define __T_ul_egprs_ack_nack_info__
360 //
361 // Uplink EGPRS Ack/Nack IE
362 // CCDGEN:WriteStruct_Count==786
363 //
364 // typedef struct
365 // {
366 // U8 flag; /*< 0: 1> Flag */
367 // U8 v_len; /*< 1: 1> valid-flag */
368 // U8 len; /*< 0: 0> EGPRS Ack Nack value part Length */
369 // U8 f_ack_ind; /*< 1: 1> FINAL_ACK_INDICATION */
370 // U8 bow; /*< 0: 0> BEGINNING_OF_WINDOW */
371 // U8 eow; /*< 0: 0> END_OF_WINDOW */
372 // U16 essn; /*< 0: 0> EGPRS_STARTING_SEQUENCE_NUMBER */
373 // U8 flag2; /*< 2: 1> Flag2 */
374 // U8 v_cbmp_info; /*< 0: 0> valid-flag */
375 // // T_cbmp_info cbmp_info; /*< 0: 0> COMPRESSED_BMP_INFO */
376 // U8 v_urbb_1; /*< 3: 1> valid-flag */
377 // BUF_urbb_1 urbb_1; /*< 0: 0> UNCOMPRESSED_RECEIVED_BLOCK_BITMAP for UL */
378 // U8 v_urbb_2; /*< 3: 1> valid-flag */
379 // BUF_urbb_2 urbb_2; /*< 0: 0> UNCOMPRESSED_RECEIVED_BLOCK_BITMAP */
380 // U8 v_urbb_3; /*< 3: 1> valid-flag */
381 // BUF_urbb_3 urbb_3; /*< 0: 0> UNCOMPRESSED_RECEIVED_BLOCK_BITMAP */
382 // U8 _align0; /*< 3: 1> alignment */
383 // } T_ul_egprs_ack_nack_info;
384 // #endif
385 //
386 #ifndef __T_abs__
387 #define __T_abs__
388 /*
389 * TBF Starting Time Absolute
390 * CCDGEN:WriteStruct_Count==787
391 */
392 typedef struct
393 {
394 U8 t1; /*< 0: 1> T1' */
395 U8 t3; /*< 1: 1> T3 */
396 U8 t2; /*< 2: 1> T2 */
397 U8 _align0; /*< 3: 1> alignment */
398 } T_abs;
399 #endif
400
401 #ifndef __T_tbf_s_time__
402 #define __T_tbf_s_time__
403 /*
404 * TBF Starting Time
405 * CCDGEN:WriteStruct_Count==788
406 */
407 typedef struct
408 {
409 U8 flag; /*< 0: 1> Flag */
410 U8 v_rel; /*< 1: 1> valid-flag */
411 U16 rel; /*< 2: 2> TBF Starting Time Relative */
412 U8 _align0; /*< 4: 1> alignment */
413 U8 _align1; /*< 5: 1> alignment */
414 U8 _align2; /*< 6: 1> alignment */
415 U8 v_abs; /*< 7: 1> valid-flag */
416 T_abs abs; /*< 8: 4> TBF Starting Time Absolute */
417 } T_tbf_s_time;
418 #endif
419
420 #ifndef __T_fa_s2__
421 #define __T_fa_s2__
422 /*
423 * FA Sub2
424 * CCDGEN:WriteStruct_Count==789
425 */
426 typedef struct
427 {
428 T_tbf_s_time tbf_s_time; /*< 0: 12> TBF Starting Time */
429 U8 v_ts_alloc; /*< 12: 1> valid-flag */
430 U8 ts_alloc; /*< 13: 1> TIMESLOT_ALLOCATION */
431 U8 flag; /*< 14: 1> Flag */
432 U8 v_block_struct; /*< 15: 1> valid-flag */
433 T_block_struct block_struct; /*< 16:132> Blocks Structure */
434 U8 v_alloc_map; /*<148: 1> valid-flag */
435 U8 c_alloc_map; /*<149: 1> counter */
436 U8 alloc_map[127]; /*<150:127> ALLOCATION_BITMAP */
437 U8 _align0; /*<277: 1> alignment */
438 U8 _align1; /*<278: 1> alignment */
439 U8 _align2; /*<279: 1> alignment */
440 } T_fa_s2;
441 #endif
442
443 #ifndef __T_f_alloc_ack__
444 #define __T_f_alloc_ack__
445 /*
446 * Fixed Allocation Uplink Ack/Nack
447 * CCDGEN:WriteStruct_Count==790
448 */
449 typedef struct
450 {
451 U8 final_alloc; /*< 0: 1> FINAL_ALLOCATION */
452 U8 flag; /*< 1: 1> Flag */
453 U8 v_ts_overr; /*< 2: 1> valid-flag */
454 U8 ts_overr; /*< 3: 1> TS_OVERRIDE */
455 U8 _align0; /*< 4: 1> alignment */
456 U8 _align1; /*< 5: 1> alignment */
457 U8 _align2; /*< 6: 1> alignment */
458 U8 v_fa_s2; /*< 7: 1> valid-flag */
459 T_fa_s2 fa_s2; /*< 8:280> FA Sub2 */
460 } T_f_alloc_ack;
461 #endif
462
463 #ifndef __T_gamma_tn__
464 #define __T_gamma_tn__
465 /*
466 * Gamma Array
467 * CCDGEN:WriteStruct_Count==791
468 */
469 typedef struct
470 {
471 U8 v_gamma; /*< 0: 1> valid-flag */
472 U8 gamma; /*< 1: 1> GAMMA_TN */
473 U8 _align0; /*< 2: 1> alignment */
474 U8 _align1; /*< 3: 1> alignment */
475 } T_gamma_tn;
476 #endif
477
478 #ifndef __T_pwr_par__
479 #define __T_pwr_par__
480 /*
481 * Power Control Parameters
482 * CCDGEN:WriteStruct_Count==792
483 */
484 typedef struct
485 {
486 U8 alpha; /*< 0: 1> Alpha */
487 U8 _align0; /*< 1: 1> alignment */
488 U8 _align1; /*< 2: 1> alignment */
489 U8 _align2; /*< 3: 1> alignment */
490 T_gamma_tn gamma_tn[8]; /*< 4: 32> Gamma Array */
491 } T_pwr_par;
492 #endif
493
494
495 // STRUCT-FF: REL99 AND FF_EGPRS
496 // #ifndef __T_gmsk_8psk__
497 // #define __T_gmsk_8psk__
498 //
499 // GMSK_8PSK
500 // CCDGEN:WriteStruct_Count==793
501 //
502 // typedef struct
503 // {
504 // U8 flag; /*< 0: 1> Flag */
505 // U8 v_gmsk_mean_bep_tn; /*< 1: 1> valid-flag */
506 // U8 gmsk_mean_bep_tn; /*< 0: 0> GMSK MEAN BEP TN */
507 // U8 v_psk8_mean_bep_tn; /*< 1: 1> valid-flag */
508 // U8 psk8_mean_bep_tn; /*< 0: 0> PSK8 MEAN BEP TN */
509 // U8 _align0; /*< 1: 1> alignment */
510 // U8 _align1; /*< 2: 1> alignment */
511 // U8 _align2; /*< 3: 1> alignment */
512 // } T_gmsk_8psk;
513 // #endif
514 //
515
516 // STRUCT-FF: REL99 AND FF_EGPRS
517 // #ifndef __T_gmsk_str__
518 // #define __T_gmsk_str__
519 //
520 // GMSK struct
521 // CCDGEN:WriteStruct_Count==794
522 //
523 // typedef struct
524 // {
525 // U8 m_bep; /*< 0: 0> MEAN_BEP */
526 // U8 cv_bep; /*< 0: 0> CV_BEP */
527 // } T_gmsk_str;
528 // #endif
529 //
530
531 // STRUCT-FF: REL99 AND FF_EGPRS
532 // #ifndef __T_psk8_str__
533 // #define __T_psk8_str__
534 //
535 // PSK8 Struct
536 // CCDGEN:WriteStruct_Count==795
537 //
538 // typedef struct
539 // {
540 // U8 m_bep; /*< 0: 0> MEAN_BEP */
541 // U8 cv_bep; /*< 0: 0> CV_BEP */
542 // } T_psk8_str;
543 // #endif
544 //
545
546 // STRUCT-FF: REL99 AND FF_EGPRS
547 // #ifndef __T_egprs_bep_lnk_qual_meas__
548 // #define __T_egprs_bep_lnk_qual_meas__
549 //
550 // EGPRS BEP Link Quality Measurements
551 // CCDGEN:WriteStruct_Count==796
552 //
553 // typedef struct
554 // {
555 // U8 v_gmsk_str; /*< 0: 0> valid-flag */
556 // // T_gmsk_str gmsk_str; /*< 0: 0> GMSK struct */
557 // U8 v_psk8_str; /*< 0: 0> valid-flag */
558 // // T_psk8_str psk8_str; /*< 0: 0> PSK8 Struct */
559 // } T_egprs_bep_lnk_qual_meas;
560 // #endif
561 //
562
563 // STRUCT-FF: REL99 AND FF_EGPRS
564 // #ifndef __T_bep_tn__
565 // #define __T_bep_tn__
566 //
567 // BEP per Time Slot
568 // CCDGEN:WriteStruct_Count==797
569 //
570 // typedef struct
571 // {
572 // U8 v_gmsk_8psk; /*< 0: 0> valid-flag */
573 // // T_gmsk_8psk gmsk_8psk; /*< 0: 0> GMSK_8PSK */
574 // } T_bep_tn;
575 // #endif
576 //
577
578 // STRUCT-FF: REL99 AND FF_EGPRS
579 // #ifndef __T_bep_meas__
580 // #define __T_bep_meas__
581 //
582 // BEP measurements
583 // CCDGEN:WriteStruct_Count==798
584 //
585 // typedef struct
586 // {
587 // T_bep_tn bep_tn[MAX_NUM_BEP_TN]; /*< 0: 0> BEP per Time Slot */
588 // } T_bep_meas;
589 // #endif
590 //
591
592 // STRUCT-FF: REL99 AND FF_EGPRS
593 // #ifndef __T_egprs_timesl_qual_meas__
594 // #define __T_egprs_timesl_qual_meas__
595 //
596 // EGPRS Timeslot Link Quality Measurement
597 // CCDGEN:WriteStruct_Count==799
598 //
599 // typedef struct
600 // {
601 // U8 v_bep_meas; /*< 0: 0> valid-flag */
602 // // T_bep_meas bep_meas; /*< 0: 0> BEP measurements */
603 // U8 _align0; /*< 0: 1> alignment */
604 // U8 _align1; /*< 1: 1> alignment */
605 // U8 _align2; /*< 2: 1> alignment */
606 // U8 v_ilev; /*< 3: 1> valid-flag */
607 // // T_ilev ilev; /*< 4: 16> I_LEVEL Structure */
608 // } T_egprs_timesl_qual_meas;
609 // #endif
610 //
611
612 // STRUCT-FF: REL99 AND FF_EGPRS
613 // #ifndef __T_egprs_chan_qual_rep__
614 // #define __T_egprs_chan_qual_rep__
615 //
616 // EGPRS Channel Quality Report
617 // CCDGEN:WriteStruct_Count==800
618 //
619 // typedef struct
620 // {
621 // T_egprs_bep_lnk_qual_meas egprs_bep_lnk_qual_meas; /*< 0: 0> EGPRS BEP Link Quality Measurements */
622 // U8 c_value; /*< 0: 1> C_VALUE */
623 // T_egprs_timesl_qual_meas egprs_timesl_qual_meas; /*< 0: 0> EGPRS Timeslot Link Quality Measurement */
624 // U8 _align0; /*< 1: 1> alignment */
625 // U8 _align1; /*< 2: 1> alignment */
626 // U8 _align2; /*< 3: 1> alignment */
627 // } T_egprs_chan_qual_rep;
628 // #endif
629 //
630
631 // STRUCT-FF: REL99 AND FF_EGPRS
632 // #ifndef __T_egprs_ul_ack_nack_trnc_grp__
633 // #define __T_egprs_ul_ack_nack_trnc_grp__
634 //
635 // EGPRS Ack/Nack desc and Fixed Alloc trunc group
636 // CCDGEN:WriteStruct_Count==801
637 //
638 // typedef struct
639 // {
640 // T_ul_egprs_ack_nack_info ul_egprs_ack_nack_info; /*< 0: 0> Uplink EGPRS Ack/Nack IE */
641 // U8 _align0; /*< 0: 1> alignment */
642 // U8 _align1; /*< 1: 1> alignment */
643 // U8 _align2; /*< 2: 1> alignment */
644 // U8 v_f_alloc_ack; /*< 3: 1> valid-flag */
645 // // T_f_alloc_ack f_alloc_ack; /*< 4:288> Fixed Allocation Uplink Ack/Nack */
646 // } T_egprs_ul_ack_nack_trnc_grp;
647 // #endif
648 //
649
650 // STRUCT-FF: REL99
651 #ifndef __T_release_99_str_d_ul_ack__
652 #define __T_release_99_str_d_ul_ack__
653 /*
654 * R99 structure
655 * CCDGEN:WriteStruct_Count==802
656 */
657 typedef struct
658 {
659 U8 v_p_ext_ta; /*< 0: 1> valid-flag */
660 U8 p_ext_ta; /*< 1: 1> Packet_Extend_Timing_Advance */
661 U8 tbf_est; /*< 2: 1> TBF_EST */
662 U8 _align0; /*< 3: 1> alignment */
663 } T_release_99_str_d_ul_ack;
664 #endif
665
666 #ifndef __T_ta_index_tn__
667 #define __T_ta_index_tn__
668 /*
669 * TA index and timeslot structure
670 * CCDGEN:WriteStruct_Count==803
671 */
672 typedef struct
673 {
674 U8 ta_index; /*< 0: 1> TA_INDEX */
675 U8 ta_tn; /*< 1: 1> TIMING_ADVANCE_TIMESLOT_NUMBER */
676 U8 _align0; /*< 2: 1> alignment */
677 U8 _align1; /*< 3: 1> alignment */
678 } T_ta_index_tn;
679 #endif
680
681 #ifndef __T_pta__
682 #define __T_pta__
683 /*
684 * Packet Timing Advance
685 * CCDGEN:WriteStruct_Count==804
686 */
687 typedef struct
688 {
689 U8 v_ta_value; /*< 0: 1> valid-flag */
690 U8 ta_value; /*< 1: 1> TIMING_ADVANCE_VALUE */
691 U8 _align0; /*< 2: 1> alignment */
692 U8 v_ta_index_tn; /*< 3: 1> valid-flag */
693 T_ta_index_tn ta_index_tn; /*< 4: 4> TA index and timeslot structure */
694 } T_pta;
695 #endif
696
697 #ifndef __T_gprs_ul_ack_nack_info__
698 #define __T_gprs_ul_ack_nack_info__
699 /*
700 * GPRS Uplink Ack Nack structure
701 * CCDGEN:WriteStruct_Count==805
702 */
703 typedef struct
704 {
705 U8 chan_coding_cmd; /*< 0: 1> CHANNEL_CODING_COMMAND */
706 U8 _align0; /*< 1: 1> alignment */
707 U8 _align1; /*< 2: 1> alignment */
708 U8 _align2; /*< 3: 1> alignment */
709 T_ack_nack_des ack_nack_des; /*< 4: 68> Ack/Nack Description */
710 U8 _align3; /*< 72: 1> alignment */
711 U8 _align4; /*< 73: 1> alignment */
712 U8 _align5; /*< 74: 1> alignment */
713 U8 v_cr_tlli; /*< 75: 1> valid-flag */
714 BUF_cr_tlli cr_tlli; /*< 76: 12> CONTENTION_RESOLUTION_TLLI */
715 U8 _align6; /*< 88: 1> alignment */
716 U8 _align7; /*< 89: 1> alignment */
717 U8 _align8; /*< 90: 1> alignment */
718 U8 v_pta; /*< 91: 1> valid-flag */
719 T_pta pta; /*< 92: 8> Packet Timing Advance */
720 U8 _align9; /*<100: 1> alignment */
721 U8 _align10; /*<101: 1> alignment */
722 U8 _align11; /*<102: 1> alignment */
723 U8 v_pwr_par; /*<103: 1> valid-flag */
724 T_pwr_par pwr_par; /*<104: 36> Power Control Parameters */
725 U8 _align12; /*<140: 1> alignment */
726 U8 _align13; /*<141: 1> alignment */
727 U8 _align14; /*<142: 1> alignment */
728 U8 v_ext_bits; /*<143: 1> valid-flag */
729 T_ext_bits ext_bits; /*<144: 68> Extensions Bits IE */
730 U8 _align15; /*<212: 1> alignment */
731 U8 _align16; /*<213: 1> alignment */
732 U8 _align17; /*<214: 1> alignment */
733 U8 v_f_alloc_ack; /*<215: 1> valid-flag */
734 T_f_alloc_ack f_alloc_ack; /*<216:288> Fixed Allocation Uplink Ack/Nack */
735 // ELEM-FF: REL99
736 U8 _align18; /*<504: 1> alignment */
737 U8 _align19; /*<505: 1> alignment */
738 U8 _align20; /*<506: 1> alignment */
739 U8 v_release_99_str_d_ul_ack; /*<507: 1> valid-flag */
740 T_release_99_str_d_ul_ack release_99_str_d_ul_ack; /*<508: 4> R99 structure */
741 } T_gprs_ul_ack_nack_info;
742 #endif
743
744
745 // STRUCT-FF: REL99 AND FF_EGPRS
746 // #ifndef __T_egprs_ul_ack_nack__
747 // #define __T_egprs_ul_ack_nack__
748 //
749 // EGPRS Uplink Ack Nack description
750 // CCDGEN:WriteStruct_Count==806
751 //
752 // typedef struct
753 // {
754 // U8 egprs_chan_coding_cmd; /*< 0: 0> EGPRS_CHANNEL_CODING_COMMAND */
755 // U8 ul_rlc_resegment; /*< 0: 0> UL rlc block resegment */
756 // U8 pre_emptive_tx; /*< 0: 0> PRE_EMPTIVE_TRANSMISSION */
757 // U8 prr_retx_req; /*< 0: 0> PRR RETRANSMISSION REQUEST */
758 // U8 arac_retx_req; /*< 0: 0> arac retransmission request */
759 // U8 _align0; /*< 0: 1> alignment */
760 // U8 _align1; /*< 1: 1> alignment */
761 // U8 _align2; /*< 2: 1> alignment */
762 // U8 v_cr_tlli; /*< 3: 1> valid-flag */
763 // BUF_cr_tlli cr_tlli; /*< 4: 12> CONTENTION_RESOLUTION_TLLI */
764 // U8 tbf_est; /*< 16: 1> TBF_EST */
765 // U8 _align3; /*< 17: 1> alignment */
766 // U8 _align4; /*< 18: 1> alignment */
767 // U8 v_pta; /*< 19: 1> valid-flag */
768 // // T_pta pta; /*< 20: 8> Packet Timing Advance */
769 // U8 v_p_ext_ta; /*< 28: 1> valid-flag */
770 // U8 p_ext_ta; /*< 29: 1> Packet_Extend_Timing_Advance */
771 // U8 _align5; /*< 30: 1> alignment */
772 // U8 v_pwr_par; /*< 31: 1> valid-flag */
773 // // T_pwr_par pwr_par; /*< 32: 36> Power Control Parameters */
774 // U8 _align6; /*< 68: 1> alignment */
775 // U8 _align7; /*< 69: 1> alignment */
776 // U8 _align8; /*< 70: 1> alignment */
777 // U8 v_ext_bits; /*< 71: 1> valid-flag */
778 // // T_ext_bits ext_bits; /*< 72: 68> Extensions Bits IE */
779 // T_egprs_ul_ack_nack_trnc_grp egprs_ul_ack_nack_trnc_grp; /*< 0: 0> EGPRS Ack/Nack desc and Fixed Alloc trunc group */
780 // } T_egprs_ul_ack_nack;
781 // #endif
782 //
783
784 // STRUCT-FF: REL99 AND FF_EGPRS
785 // #ifndef __T_egprs_ul_ack_nack_info__
786 // #define __T_egprs_ul_ack_nack_info__
787 //
788 // EGPRS Uplink Ack Nack IE
789 // CCDGEN:WriteStruct_Count==807
790 //
791 // typedef struct
792 // {
793 // U8 Choice_flag; /*< 0: 0> Choice_flag */
794 // U8 v_egprs_ul_ack_nack; /*< 0: 0> valid-flag */
795 // // T_egprs_ul_ack_nack egprs_ul_ack_nack; /*< 0: 0> EGPRS Uplink Ack Nack description */
796 // } T_egprs_ul_ack_nack_info;
797 // #endif
798 //
799
800 // STRUCT-FF: REL99
801 #ifndef __T_release_99_str_grlc_prr__
802 #define __T_release_99_str_grlc_prr__
803 /*
804 * R99 structure
805 * CCDGEN:WriteStruct_Count==808
806 */
807 typedef struct
808 {
809 // ELEM-FF: REL99 AND !FF_EGPRS
810 U8 flag; /*< 0: 1> Flag */
811 // ELEM-FF: REL99 AND !FF_EGPRS
812 U8 flag2; /*< 1: 1> Flag2 */
813 // ELEM-FF: REL99 AND FF_EGPRS
814 // U8 v_egprs_bep_lnk_qual_meas; /*< 0: 0> valid-flag */
815 // // T_egprs_bep_lnk_qual_meas egprs_bep_lnk_qual_meas; /*< 0: 0> EGPRS BEP Link Quality Measurements */
816 // ELEM-FF: REL99 AND FF_EGPRS
817 // U8 v_egprs_timesl_qual_meas; /*< 0: 0> valid-flag */
818 // // T_egprs_timesl_qual_meas egprs_timesl_qual_meas; /*< 0: 0> EGPRS Timeslot Link Quality Measurement */
819 U8 v_pfi; /*< 2: 1> valid-flag */
820 U8 pfi; /*< 3: 1> PFI */
821 U8 add_ms_rac; /*< 4: 1> ADD_MS_RAC_INFO_AVAIL */
822 U8 retrans_of_prr; /*< 5: 1> RETRANS_OF_PRR */
823 U8 _align0; /*< 6: 1> alignment */
824 U8 _align1; /*< 7: 1> alignment */
825 } T_release_99_str_grlc_prr;
826 #endif
827
828
829 // STRUCT-FF: REL99
830 #ifndef __T_release_99_str_u_grlc_dl_ack__
831 #define __T_release_99_str_u_grlc_dl_ack__
832 /*
833 * R99 structure
834 * CCDGEN:WriteStruct_Count==809
835 */
836 typedef struct
837 {
838 U8 v_pfi; /*< 0: 1> valid-flag */
839 U8 pfi; /*< 1: 1> PFI */
840 U8 _align0; /*< 2: 1> alignment */
841 U8 _align1; /*< 3: 1> alignment */
842 } T_release_99_str_u_grlc_dl_ack;
843 #endif
844
845
846 /*
847 * End of substructure section, begin of message definition section
848 */
849
850 #ifndef __T_U_GRLC_RESOURCE_REQ__
851 #define __T_U_GRLC_RESOURCE_REQ__
852 /*
853 *
854 * CCDGEN:WriteStruct_Count==810
855 */
856 typedef struct
857 {
858 U8 msg_type; /*< 0: 1> Message Type */
859 U8 v_access_type; /*< 1: 1> valid-flag */
860 U8 access_type; /*< 2: 1> Access Type */
861 U8 flag; /*< 3: 1> Flag */
862 U8 _align0; /*< 4: 1> alignment */
863 U8 _align1; /*< 5: 1> alignment */
864 U8 _align2; /*< 6: 1> alignment */
865 U8 v_glob_tfi; /*< 7: 1> valid-flag */
866 T_glob_tfi glob_tfi; /*< 8: 8> Global TFI */
867 U8 _align3; /*< 16: 1> alignment */
868 U8 _align4; /*< 17: 1> alignment */
869 U8 _align5; /*< 18: 1> alignment */
870 U8 v_tlli_value; /*< 19: 1> valid-flag */
871 BUF_tlli_value tlli_value; /*< 20: 12> TLLI */
872 U8 _align6; /*< 32: 1> alignment */
873 U8 _align7; /*< 33: 1> alignment */
874 U8 _align8; /*< 34: 1> alignment */
875 U8 v_ra_cap; /*< 35: 1> valid-flag */
876 T_ra_cap ra_cap; /*< 36:444> MS RA capability value part (type defined in "m_rr_com.h") */
877 T_chan_req_des chan_req_des; /*<480: 8> Channel Request Description */
878 U8 v_ma_ch_mark; /*<488: 1> valid-flag */
879 U8 ma_ch_mark; /*<489: 1> MA_CHANGE_MARK */
880 U8 c_value; /*<490: 1> C_VALUE */
881 U8 v_signvar; /*<491: 1> valid-flag */
882 U8 signvar; /*<492: 1> SIGN_VAR */
883 U8 _align9; /*<493: 1> alignment */
884 U8 _align10; /*<494: 1> alignment */
885 U8 _align11; /*<495: 1> alignment */
886 T_ilev ilev; /*<496: 16> I_LEVEL Structure */
887 // ELEM-FF: REL99
888 U8 _align12; /*<512: 1> alignment */
889 U8 _align13; /*<513: 1> alignment */
890 U8 _align14; /*<514: 1> alignment */
891 U8 v_release_99_str_grlc_prr; /*<515: 1> valid-flag */
892 T_release_99_str_grlc_prr release_99_str_grlc_prr; /*<516: 8> R99 structure */
893 } T_U_GRLC_RESOURCE_REQ;
894 #endif
895
896 #ifndef __T_U_GRLC_DL_ACK__
897 #define __T_U_GRLC_DL_ACK__
898 /*
899 *
900 * CCDGEN:WriteStruct_Count==811
901 */
902 typedef struct
903 {
904 U8 msg_type; /*< 0: 1> Message Type */
905 U8 dl_tfi; /*< 1: 1> Downlink TFI */
906 U8 _align0; /*< 2: 1> alignment */
907 U8 _align1; /*< 3: 1> alignment */
908 T_ack_nack_des ack_nack_des; /*< 4: 68> Ack/Nack Description */
909 U8 _align2; /*< 72: 1> alignment */
910 U8 _align3; /*< 73: 1> alignment */
911 U8 _align4; /*< 74: 1> alignment */
912 U8 v_chan_req_des; /*< 75: 1> valid-flag */
913 T_chan_req_des chan_req_des; /*< 76: 8> Channel Request Description */
914 T_chan_qual_rep chan_qual_rep; /*< 84: 20> Channel Quality Report */
915 // ELEM-FF: REL99
916 U8 _align5; /*<104: 1> alignment */
917 U8 _align6; /*<105: 1> alignment */
918 U8 _align7; /*<106: 1> alignment */
919 U8 v_release_99_str_u_grlc_dl_ack; /*<107: 1> valid-flag */
920 T_release_99_str_u_grlc_dl_ack release_99_str_u_grlc_dl_ack; /*<108: 4> R99 structure */
921 } T_U_GRLC_DL_ACK;
922 #endif
923
924
925 // MSG-FF: REL99 AND FF_EGPRS
926 // #ifndef __T_U_GRLC_E_DL_ACK__
927 // #define __T_U_GRLC_E_DL_ACK__
928 //
929 //
930 // CCDGEN:WriteStruct_Count==812
931 //
932 // typedef struct
933 // {
934 // U8 msg_type; /*< 0: 1> Message Type */
935 // U8 dl_tfi; /*< 1: 1> Downlink TFI */
936 // U8 is_out_of_mem; /*< 0: 0> MS_OUT_OF_MEMORY */
937 // U8 v_egprs_chan_qual_rep; /*< 0: 0> valid-flag */
938 // // T_egprs_chan_qual_rep egprs_chan_qual_rep; /*< 0: 0> EGPRS Channel Quality Report */
939 // U8 _align0; /*< 2: 1> alignment */
940 // U8 v_chan_req_des; /*< 3: 1> valid-flag */
941 // // T_chan_req_des chan_req_des; /*< 4: 8> Channel Request Description */
942 // U8 v_pfi; /*< 12: 1> valid-flag */
943 // U8 pfi; /*< 13: 1> PFI */
944 // U8 _align1; /*< 14: 1> alignment */
945 // U8 v_ext_bits; /*< 15: 1> valid-flag */
946 // // T_ext_bits ext_bits; /*< 16: 68> Extensions Bits IE */
947 // T_egprs_ack_nack_info egprs_ack_nack_info; /*< 0: 0> EGPRS Ack/Nack IE */
948 // } T_U_GRLC_E_DL_ACK;
949 // #endif
950 //
951 #ifndef __T_D_GRLC_UL_ACK__
952 #define __T_D_GRLC_UL_ACK__
953 /*
954 *
955 * CCDGEN:WriteStruct_Count==813
956 */
957 typedef struct
958 {
959 U8 msg_type; /*< 0: 1> Message Type */
960 U8 page_mode; /*< 1: 1> Page Mode */
961 U8 ul_tfi; /*< 2: 1> Uplink TFI */
962 U8 egprs_flag; /*< 3: 1> Egprs escape */
963 U8 _align0; /*< 4: 1> alignment */
964 U8 _align1; /*< 5: 1> alignment */
965 U8 _align2; /*< 6: 1> alignment */
966 U8 v_gprs_ul_ack_nack_info; /*< 7: 1> valid-flag */
967 T_gprs_ul_ack_nack_info gprs_ul_ack_nack_info; /*< 8:512> GPRS Uplink Ack Nack structure */
968 // ELEM-FF: REL99 AND FF_EGPRS
969 // U8 v_egprs_ul_ack_nack_info; /*< 0: 0> valid-flag */
970 // // T_egprs_ul_ack_nack_info egprs_ul_ack_nack_info; /*< 0: 0> EGPRS Uplink Ack Nack IE */
971 } T_D_GRLC_UL_ACK;
972 #endif
973
974 #ifndef __T_U_GRLC_CTRL_ACK__
975 #define __T_U_GRLC_CTRL_ACK__
976 /*
977 *
978 * CCDGEN:WriteStruct_Count==814
979 */
980 typedef struct
981 {
982 U8 msg_type; /*< 0: 1> Message Type */
983 U8 _align0; /*< 1: 1> alignment */
984 U8 _align1; /*< 2: 1> alignment */
985 U8 _align2; /*< 3: 1> alignment */
986 BUF_tlli_value tlli_value; /*< 4: 12> TLLI */
987 U8 pctrl_ack; /*< 16: 1> P_CONTROL_ACK */
988 U8 _align3; /*< 17: 1> alignment */
989 U8 _align4; /*< 18: 1> alignment */
990 U8 _align5; /*< 19: 1> alignment */
991 } T_U_GRLC_CTRL_ACK;
992 #endif
993
994
995 // MSG-FF: REL99 AND FF_EGPRS
996 // #ifndef __T_U_GRLC_ADD_MS_RADIO_CAP__
997 // #define __T_U_GRLC_ADD_MS_RADIO_CAP__
998 //
999 //
1000 // CCDGEN:WriteStruct_Count==815
1001 //
1002 // typedef struct
1003 // {
1004 // U8 msg_type; /*< 0: 1> Message Type */
1005 // U8 flag; /*< 1: 1> Flag */
1006 // U8 _align0; /*< 2: 1> alignment */
1007 // U8 v_glob_tfi; /*< 3: 1> valid-flag */
1008 // // T_glob_tfi glob_tfi; /*< 4: 8> Global TFI */
1009 // U8 _align1; /*< 12: 1> alignment */
1010 // U8 _align2; /*< 13: 1> alignment */
1011 // U8 _align3; /*< 14: 1> alignment */
1012 // U8 v_tlli_value; /*< 15: 1> valid-flag */
1013 // BUF_tlli_value tlli_value; /*< 16: 12> TLLI */
1014 // T_ra_cap ra_cap; /*< 28:444> MS RA capability value part (type defined in "m_rr_com.h") */
1015 // } T_U_GRLC_ADD_MS_RADIO_CAP;
1016 // #endif
1017 //
1018 #ifndef __T_U_GRLC_UL_DUMMY__
1019 #define __T_U_GRLC_UL_DUMMY__
1020 /*
1021 *
1022 * CCDGEN:WriteStruct_Count==816
1023 */
1024 typedef struct
1025 {
1026 U8 msg_type; /*< 0: 1> Message Type */
1027 U8 _align0; /*< 1: 1> alignment */
1028 U8 _align1; /*< 2: 1> alignment */
1029 U8 _align2; /*< 3: 1> alignment */
1030 BUF_tlli_value tlli_value; /*< 4: 12> TLLI */
1031 } T_U_GRLC_UL_DUMMY;
1032 #endif
1033
1034
1035 #include "CDG_LEAVE.h"
1036
1037
1038 #endif