comparison cdg3/cdginc-conservative/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:52:55 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; /*< 0: 0> Packet_Extend_Timing_Advance */
661 // U8 tbf_est; /*< 0: 0> TBF_EST */
662 // } T_release_99_str_d_ul_ack;
663 // #endif
664 //
665 #ifndef __T_ta_index_tn__
666 #define __T_ta_index_tn__
667 /*
668 * TA index and timeslot structure
669 * CCDGEN:WriteStruct_Count==803
670 */
671 typedef struct
672 {
673 U8 ta_index; /*< 0: 1> TA_INDEX */
674 U8 ta_tn; /*< 1: 1> TIMING_ADVANCE_TIMESLOT_NUMBER */
675 U8 _align0; /*< 2: 1> alignment */
676 U8 _align1; /*< 3: 1> alignment */
677 } T_ta_index_tn;
678 #endif
679
680 #ifndef __T_pta__
681 #define __T_pta__
682 /*
683 * Packet Timing Advance
684 * CCDGEN:WriteStruct_Count==804
685 */
686 typedef struct
687 {
688 U8 v_ta_value; /*< 0: 1> valid-flag */
689 U8 ta_value; /*< 1: 1> TIMING_ADVANCE_VALUE */
690 U8 _align0; /*< 2: 1> alignment */
691 U8 v_ta_index_tn; /*< 3: 1> valid-flag */
692 T_ta_index_tn ta_index_tn; /*< 4: 4> TA index and timeslot structure */
693 } T_pta;
694 #endif
695
696 #ifndef __T_gprs_ul_ack_nack_info__
697 #define __T_gprs_ul_ack_nack_info__
698 /*
699 * GPRS Uplink Ack Nack structure
700 * CCDGEN:WriteStruct_Count==805
701 */
702 typedef struct
703 {
704 U8 chan_coding_cmd; /*< 0: 1> CHANNEL_CODING_COMMAND */
705 U8 _align0; /*< 1: 1> alignment */
706 U8 _align1; /*< 2: 1> alignment */
707 U8 _align2; /*< 3: 1> alignment */
708 T_ack_nack_des ack_nack_des; /*< 4: 68> Ack/Nack Description */
709 U8 _align3; /*< 72: 1> alignment */
710 U8 _align4; /*< 73: 1> alignment */
711 U8 _align5; /*< 74: 1> alignment */
712 U8 v_cr_tlli; /*< 75: 1> valid-flag */
713 BUF_cr_tlli cr_tlli; /*< 76: 12> CONTENTION_RESOLUTION_TLLI */
714 U8 _align6; /*< 88: 1> alignment */
715 U8 _align7; /*< 89: 1> alignment */
716 U8 _align8; /*< 90: 1> alignment */
717 U8 v_pta; /*< 91: 1> valid-flag */
718 T_pta pta; /*< 92: 8> Packet Timing Advance */
719 U8 _align9; /*<100: 1> alignment */
720 U8 _align10; /*<101: 1> alignment */
721 U8 _align11; /*<102: 1> alignment */
722 U8 v_pwr_par; /*<103: 1> valid-flag */
723 T_pwr_par pwr_par; /*<104: 36> Power Control Parameters */
724 U8 _align12; /*<140: 1> alignment */
725 U8 _align13; /*<141: 1> alignment */
726 U8 _align14; /*<142: 1> alignment */
727 U8 v_ext_bits; /*<143: 1> valid-flag */
728 T_ext_bits ext_bits; /*<144: 68> Extensions Bits IE */
729 U8 _align15; /*<212: 1> alignment */
730 U8 _align16; /*<213: 1> alignment */
731 U8 _align17; /*<214: 1> alignment */
732 U8 v_f_alloc_ack; /*<215: 1> valid-flag */
733 T_f_alloc_ack f_alloc_ack; /*<216:288> Fixed Allocation Uplink Ack/Nack */
734 // ELEM-FF: REL99
735 // U8 v_release_99_str_d_ul_ack; /*< 0: 0> valid-flag */
736 // // T_release_99_str_d_ul_ack release_99_str_d_ul_ack; /*< 0: 0> R99 structure */
737 } T_gprs_ul_ack_nack_info;
738 #endif
739
740
741 // STRUCT-FF: REL99 AND FF_EGPRS
742 // #ifndef __T_egprs_ul_ack_nack__
743 // #define __T_egprs_ul_ack_nack__
744 //
745 // EGPRS Uplink Ack Nack description
746 // CCDGEN:WriteStruct_Count==806
747 //
748 // typedef struct
749 // {
750 // U8 egprs_chan_coding_cmd; /*< 0: 0> EGPRS_CHANNEL_CODING_COMMAND */
751 // U8 ul_rlc_resegment; /*< 0: 0> UL rlc block resegment */
752 // U8 pre_emptive_tx; /*< 0: 0> PRE_EMPTIVE_TRANSMISSION */
753 // U8 prr_retx_req; /*< 0: 0> PRR RETRANSMISSION REQUEST */
754 // U8 arac_retx_req; /*< 0: 0> arac retransmission request */
755 // U8 _align0; /*< 0: 1> alignment */
756 // U8 _align1; /*< 1: 1> alignment */
757 // U8 _align2; /*< 2: 1> alignment */
758 // U8 v_cr_tlli; /*< 3: 1> valid-flag */
759 // BUF_cr_tlli cr_tlli; /*< 4: 12> CONTENTION_RESOLUTION_TLLI */
760 // U8 tbf_est; /*< 0: 0> TBF_EST */
761 // U8 _align3; /*< 16: 1> alignment */
762 // U8 _align4; /*< 17: 1> alignment */
763 // U8 _align5; /*< 18: 1> alignment */
764 // U8 v_pta; /*< 19: 1> valid-flag */
765 // // T_pta pta; /*< 20: 8> Packet Timing Advance */
766 // U8 v_p_ext_ta; /*< 28: 1> valid-flag */
767 // U8 p_ext_ta; /*< 0: 0> Packet_Extend_Timing_Advance */
768 // U8 _align6; /*< 28: 1> alignment */
769 // U8 _align7; /*< 29: 1> alignment */
770 // U8 _align8; /*< 30: 1> alignment */
771 // U8 v_pwr_par; /*< 31: 1> valid-flag */
772 // // T_pwr_par pwr_par; /*< 32: 36> Power Control Parameters */
773 // U8 _align9; /*< 68: 1> alignment */
774 // U8 _align10; /*< 69: 1> alignment */
775 // U8 _align11; /*< 70: 1> alignment */
776 // U8 v_ext_bits; /*< 71: 1> valid-flag */
777 // // T_ext_bits ext_bits; /*< 72: 68> Extensions Bits IE */
778 // T_egprs_ul_ack_nack_trnc_grp egprs_ul_ack_nack_trnc_grp; /*< 0: 0> EGPRS Ack/Nack desc and Fixed Alloc trunc group */
779 // } T_egprs_ul_ack_nack;
780 // #endif
781 //
782
783 // STRUCT-FF: REL99 AND FF_EGPRS
784 // #ifndef __T_egprs_ul_ack_nack_info__
785 // #define __T_egprs_ul_ack_nack_info__
786 //
787 // EGPRS Uplink Ack Nack IE
788 // CCDGEN:WriteStruct_Count==807
789 //
790 // typedef struct
791 // {
792 // U8 Choice_flag; /*< 0: 0> Choice_flag */
793 // U8 v_egprs_ul_ack_nack; /*< 0: 0> valid-flag */
794 // // T_egprs_ul_ack_nack egprs_ul_ack_nack; /*< 0: 0> EGPRS Uplink Ack Nack description */
795 // } T_egprs_ul_ack_nack_info;
796 // #endif
797 //
798
799 // STRUCT-FF: REL99
800 // #ifndef __T_release_99_str_grlc_prr__
801 // #define __T_release_99_str_grlc_prr__
802 //
803 // R99 structure
804 // CCDGEN:WriteStruct_Count==808
805 //
806 // typedef struct
807 // {
808 // ELEM-FF: REL99 AND !FF_EGPRS
809 // U8 flag; /*< 0: 0> Flag */
810 // ELEM-FF: REL99 AND !FF_EGPRS
811 // U8 flag2; /*< 0: 0> Flag2 */
812 // ELEM-FF: REL99 AND FF_EGPRS
813 // U8 v_egprs_bep_lnk_qual_meas; /*< 0: 0> valid-flag */
814 // // T_egprs_bep_lnk_qual_meas egprs_bep_lnk_qual_meas; /*< 0: 0> EGPRS BEP Link Quality Measurements */
815 // ELEM-FF: REL99 AND FF_EGPRS
816 // U8 v_egprs_timesl_qual_meas; /*< 0: 0> valid-flag */
817 // // T_egprs_timesl_qual_meas egprs_timesl_qual_meas; /*< 0: 0> EGPRS Timeslot Link Quality Measurement */
818 // U8 v_pfi; /*< 0: 1> valid-flag */
819 // U8 pfi; /*< 0: 0> PFI */
820 // U8 add_ms_rac; /*< 0: 0> ADD_MS_RAC_INFO_AVAIL */
821 // U8 retrans_of_prr; /*< 0: 0> RETRANS_OF_PRR */
822 // } T_release_99_str_grlc_prr;
823 // #endif
824 //
825
826 // STRUCT-FF: REL99
827 // #ifndef __T_release_99_str_u_grlc_dl_ack__
828 // #define __T_release_99_str_u_grlc_dl_ack__
829 //
830 // R99 structure
831 // CCDGEN:WriteStruct_Count==809
832 //
833 // typedef struct
834 // {
835 // U8 v_pfi; /*< 0: 1> valid-flag */
836 // U8 pfi; /*< 0: 0> PFI */
837 // } T_release_99_str_u_grlc_dl_ack;
838 // #endif
839 //
840
841 /*
842 * End of substructure section, begin of message definition section
843 */
844
845 #ifndef __T_U_GRLC_RESOURCE_REQ__
846 #define __T_U_GRLC_RESOURCE_REQ__
847 /*
848 *
849 * CCDGEN:WriteStruct_Count==810
850 */
851 typedef struct
852 {
853 U8 msg_type; /*< 0: 1> Message Type */
854 U8 v_access_type; /*< 1: 1> valid-flag */
855 U8 access_type; /*< 2: 1> Access Type */
856 U8 flag; /*< 3: 1> Flag */
857 U8 _align0; /*< 4: 1> alignment */
858 U8 _align1; /*< 5: 1> alignment */
859 U8 _align2; /*< 6: 1> alignment */
860 U8 v_glob_tfi; /*< 7: 1> valid-flag */
861 T_glob_tfi glob_tfi; /*< 8: 8> Global TFI */
862 U8 _align3; /*< 16: 1> alignment */
863 U8 _align4; /*< 17: 1> alignment */
864 U8 _align5; /*< 18: 1> alignment */
865 U8 v_tlli_value; /*< 19: 1> valid-flag */
866 BUF_tlli_value tlli_value; /*< 20: 12> TLLI */
867 U8 _align6; /*< 32: 1> alignment */
868 U8 _align7; /*< 33: 1> alignment */
869 U8 _align8; /*< 34: 1> alignment */
870 U8 v_ra_cap; /*< 35: 1> valid-flag */
871 T_ra_cap ra_cap; /*< 36: 84> MS RA capability value part (type defined in "m_rr_com.h") */
872 T_chan_req_des chan_req_des; /*<120: 8> Channel Request Description */
873 U8 v_ma_ch_mark; /*<128: 1> valid-flag */
874 U8 ma_ch_mark; /*<129: 1> MA_CHANGE_MARK */
875 U8 c_value; /*<130: 1> C_VALUE */
876 U8 v_signvar; /*<131: 1> valid-flag */
877 U8 signvar; /*<132: 1> SIGN_VAR */
878 U8 _align9; /*<133: 1> alignment */
879 U8 _align10; /*<134: 1> alignment */
880 U8 _align11; /*<135: 1> alignment */
881 T_ilev ilev; /*<136: 16> I_LEVEL Structure */
882 // ELEM-FF: REL99
883 // U8 v_release_99_str_grlc_prr; /*< 0: 0> valid-flag */
884 // // T_release_99_str_grlc_prr release_99_str_grlc_prr; /*< 0: 0> R99 structure */
885 } T_U_GRLC_RESOURCE_REQ;
886 #endif
887
888 #ifndef __T_U_GRLC_DL_ACK__
889 #define __T_U_GRLC_DL_ACK__
890 /*
891 *
892 * CCDGEN:WriteStruct_Count==811
893 */
894 typedef struct
895 {
896 U8 msg_type; /*< 0: 1> Message Type */
897 U8 dl_tfi; /*< 1: 1> Downlink TFI */
898 U8 _align0; /*< 2: 1> alignment */
899 U8 _align1; /*< 3: 1> alignment */
900 T_ack_nack_des ack_nack_des; /*< 4: 68> Ack/Nack Description */
901 U8 _align2; /*< 72: 1> alignment */
902 U8 _align3; /*< 73: 1> alignment */
903 U8 _align4; /*< 74: 1> alignment */
904 U8 v_chan_req_des; /*< 75: 1> valid-flag */
905 T_chan_req_des chan_req_des; /*< 76: 8> Channel Request Description */
906 T_chan_qual_rep chan_qual_rep; /*< 84: 20> Channel Quality Report */
907 // ELEM-FF: REL99
908 // U8 v_release_99_str_u_grlc_dl_ack; /*< 0: 0> valid-flag */
909 // // T_release_99_str_u_grlc_dl_ack release_99_str_u_grlc_dl_ack; /*< 0: 0> R99 structure */
910 } T_U_GRLC_DL_ACK;
911 #endif
912
913
914 // MSG-FF: REL99 AND FF_EGPRS
915 // #ifndef __T_U_GRLC_E_DL_ACK__
916 // #define __T_U_GRLC_E_DL_ACK__
917 //
918 //
919 // CCDGEN:WriteStruct_Count==812
920 //
921 // typedef struct
922 // {
923 // U8 msg_type; /*< 0: 1> Message Type */
924 // U8 dl_tfi; /*< 1: 1> Downlink TFI */
925 // U8 is_out_of_mem; /*< 0: 0> MS_OUT_OF_MEMORY */
926 // U8 v_egprs_chan_qual_rep; /*< 0: 0> valid-flag */
927 // // T_egprs_chan_qual_rep egprs_chan_qual_rep; /*< 0: 0> EGPRS Channel Quality Report */
928 // U8 _align0; /*< 2: 1> alignment */
929 // U8 v_chan_req_des; /*< 3: 1> valid-flag */
930 // // T_chan_req_des chan_req_des; /*< 4: 8> Channel Request Description */
931 // U8 v_pfi; /*< 12: 1> valid-flag */
932 // U8 pfi; /*< 0: 0> PFI */
933 // U8 _align1; /*< 12: 1> alignment */
934 // U8 _align2; /*< 13: 1> alignment */
935 // U8 _align3; /*< 14: 1> alignment */
936 // U8 v_ext_bits; /*< 15: 1> valid-flag */
937 // // T_ext_bits ext_bits; /*< 16: 68> Extensions Bits IE */
938 // T_egprs_ack_nack_info egprs_ack_nack_info; /*< 0: 0> EGPRS Ack/Nack IE */
939 // } T_U_GRLC_E_DL_ACK;
940 // #endif
941 //
942 #ifndef __T_D_GRLC_UL_ACK__
943 #define __T_D_GRLC_UL_ACK__
944 /*
945 *
946 * CCDGEN:WriteStruct_Count==813
947 */
948 typedef struct
949 {
950 U8 msg_type; /*< 0: 1> Message Type */
951 U8 page_mode; /*< 1: 1> Page Mode */
952 U8 ul_tfi; /*< 2: 1> Uplink TFI */
953 U8 egprs_flag; /*< 3: 1> Egprs escape */
954 U8 _align0; /*< 4: 1> alignment */
955 U8 _align1; /*< 5: 1> alignment */
956 U8 _align2; /*< 6: 1> alignment */
957 U8 v_gprs_ul_ack_nack_info; /*< 7: 1> valid-flag */
958 T_gprs_ul_ack_nack_info gprs_ul_ack_nack_info; /*< 8:504> GPRS Uplink Ack Nack structure */
959 // ELEM-FF: REL99 AND FF_EGPRS
960 // U8 v_egprs_ul_ack_nack_info; /*< 0: 0> valid-flag */
961 // // T_egprs_ul_ack_nack_info egprs_ul_ack_nack_info; /*< 0: 0> EGPRS Uplink Ack Nack IE */
962 } T_D_GRLC_UL_ACK;
963 #endif
964
965 #ifndef __T_U_GRLC_CTRL_ACK__
966 #define __T_U_GRLC_CTRL_ACK__
967 /*
968 *
969 * CCDGEN:WriteStruct_Count==814
970 */
971 typedef struct
972 {
973 U8 msg_type; /*< 0: 1> Message Type */
974 U8 _align0; /*< 1: 1> alignment */
975 U8 _align1; /*< 2: 1> alignment */
976 U8 _align2; /*< 3: 1> alignment */
977 BUF_tlli_value tlli_value; /*< 4: 12> TLLI */
978 U8 pctrl_ack; /*< 16: 1> P_CONTROL_ACK */
979 U8 _align3; /*< 17: 1> alignment */
980 U8 _align4; /*< 18: 1> alignment */
981 U8 _align5; /*< 19: 1> alignment */
982 } T_U_GRLC_CTRL_ACK;
983 #endif
984
985
986 // MSG-FF: REL99 AND FF_EGPRS
987 // #ifndef __T_U_GRLC_ADD_MS_RADIO_CAP__
988 // #define __T_U_GRLC_ADD_MS_RADIO_CAP__
989 //
990 //
991 // CCDGEN:WriteStruct_Count==815
992 //
993 // typedef struct
994 // {
995 // U8 msg_type; /*< 0: 1> Message Type */
996 // U8 flag; /*< 1: 1> Flag */
997 // U8 _align0; /*< 2: 1> alignment */
998 // U8 v_glob_tfi; /*< 3: 1> valid-flag */
999 // // T_glob_tfi glob_tfi; /*< 4: 8> Global TFI */
1000 // U8 _align1; /*< 12: 1> alignment */
1001 // U8 _align2; /*< 13: 1> alignment */
1002 // U8 _align3; /*< 14: 1> alignment */
1003 // U8 v_tlli_value; /*< 15: 1> valid-flag */
1004 // BUF_tlli_value tlli_value; /*< 16: 12> TLLI */
1005 // T_ra_cap ra_cap; /*< 28: 84> MS RA capability value part (type defined in "m_rr_com.h") */
1006 // } T_U_GRLC_ADD_MS_RADIO_CAP;
1007 // #endif
1008 //
1009 #ifndef __T_U_GRLC_UL_DUMMY__
1010 #define __T_U_GRLC_UL_DUMMY__
1011 /*
1012 *
1013 * CCDGEN:WriteStruct_Count==816
1014 */
1015 typedef struct
1016 {
1017 U8 msg_type; /*< 0: 1> Message Type */
1018 U8 _align0; /*< 1: 1> alignment */
1019 U8 _align1; /*< 2: 1> alignment */
1020 U8 _align2; /*< 3: 1> alignment */
1021 BUF_tlli_value tlli_value; /*< 4: 12> TLLI */
1022 } T_U_GRLC_UL_DUMMY;
1023 #endif
1024
1025
1026 #include "CDG_LEAVE.h"
1027
1028
1029 #endif