comparison cdg211/cdginc/m_grlc.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 : m_grlc.h |
5 | SOURCE : "__out__\g23m_dfile\msg\grlc.mdf" |
6 | LastModified : "2003-03-26" |
7 | IdAndVersion : "8441.601.99.001" |
8 | SrcFileTime : "Thu Feb 17 14:27:10 2005" |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 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 M_GRLC_H
24 #define M_GRLC_H
25
26
27 #define CDG_ENTER__M_GRLC_H
28
29 #define CDG_ENTER__FILENAME _M_GRLC_H
30 #define CDG_ENTER__M_GRLC_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__M_GRLC_H__LAST_MODIFIED _2003_03_26
32 #define CDG_ENTER__M_GRLC_H__ID_AND_VERSION _8441_601_99_001
33
34 #define CDG_ENTER__M_GRLC_H__SRC_FILE_TIME _Thu_Feb_17_14_27_10_2005
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__M_GRLC_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "m_grlc.val"
44
45 #include "m_rr_com.h"
46
47 /*
48 * bitbuffer structure for the element tlli_value
49 */
50 #ifndef __T_BUF_tlli_value__
51 #define __T_BUF_tlli_value__
52 typedef struct
53 {
54 U16 l_tlli_value;
55 U16 o_tlli_value;
56 U8 b_tlli_value[8];
57 } BUF_tlli_value; /* size <12> */
58 #endif
59 /*
60 * bitbuffer structure for the element cr_tlli
61 */
62 #ifndef __T_BUF_cr_tlli__
63 #define __T_BUF_cr_tlli__
64 typedef struct
65 {
66 U16 l_cr_tlli;
67 U16 o_cr_tlli;
68 U8 b_cr_tlli[8];
69 } BUF_cr_tlli; /* size <12> */
70 #endif
71 #ifndef __T_glob_tfi__
72 #define __T_glob_tfi__
73 /*
74 * Global TFI
75 * CCDGEN:WriteStruct_Count==688
76 */
77 typedef struct
78 {
79 U8 flag; /*< 0: 1> Flag */
80 U8 v_ul_tfi; /*< 1: 1> valid-flag */
81 U8 ul_tfi; /*< 2: 1> Uplink TFI */
82 U8 v_dl_tfi; /*< 3: 1> valid-flag */
83 U8 dl_tfi; /*< 4: 1> Downlink TFI */
84 U8 _align0; /*< 5: 1> alignment */
85 U8 _align1; /*< 6: 1> alignment */
86 U8 _align2; /*< 7: 1> alignment */
87 } T_glob_tfi;
88 #endif
89
90 #ifndef __T_chan_req_des__
91 #define __T_chan_req_des__
92 /*
93 * Channel Request Description
94 * CCDGEN:WriteStruct_Count==689
95 */
96 typedef struct
97 {
98 U8 peak_thr_class; /*< 0: 1> PEAK_THROUGHPUT_CLASS */
99 U8 radio_prio; /*< 1: 1> RADIO_PRIORITY */
100 U8 rlc_mode; /*< 2: 1> RLC_MODE */
101 U8 llc_pdu_type; /*< 3: 1> LLC_PDU_TYPE */
102 U16 rlc_octet_cnt; /*< 4: 2> RLC_OCTET_COUNT */
103 U8 _align0; /*< 6: 1> alignment */
104 U8 _align1; /*< 7: 1> alignment */
105 } T_chan_req_des;
106 #endif
107
108 #ifndef __T_block_struct__
109 #define __T_block_struct__
110 /*
111 * Blocks Structure
112 * CCDGEN:WriteStruct_Count==690
113 */
114 typedef struct
115 {
116 U8 bl_o_bl_per; /*< 0: 1> BLOCKS_OR_BLOCK_PERIODS */
117 U8 a_map_len; /*< 1: 1> ALLOCATION_BITMAP_LENGTH */
118 U8 c_alloc_map; /*< 2: 1> counter */
119 U8 alloc_map[127]; /*< 3:127> ALLOCATION_BITMAP */
120 U8 _align0; /*<130: 1> alignment */
121 U8 _align1; /*<131: 1> alignment */
122 } T_block_struct;
123 #endif
124
125 #ifndef __T_ext_bits__
126 #define __T_ext_bits__
127 /*
128 * Extensions Bits IE
129 * CCDGEN:WriteStruct_Count==691
130 */
131 typedef struct
132 {
133 U8 ext_len; /*< 0: 1> Extension Length */
134 U8 c_spare_ext; /*< 1: 1> counter */
135 U8 spare_ext[64]; /*< 2: 64> Extension Spare Bits */
136 U8 _align0; /*< 66: 1> alignment */
137 U8 _align1; /*< 67: 1> alignment */
138 } T_ext_bits;
139 #endif
140
141 #ifndef __T_ilev__
142 #define __T_ilev__
143 /*
144 * I_LEVEL Structure
145 * CCDGEN:WriteStruct_Count==692
146 */
147 typedef struct
148 {
149 U8 v_ilev0; /*< 0: 1> valid-flag */
150 U8 ilev0; /*< 1: 1> I_LEVEL_TNO */
151 U8 v_ilev1; /*< 2: 1> valid-flag */
152 U8 ilev1; /*< 3: 1> I_LEVEL_TN1 */
153 U8 v_ilev2; /*< 4: 1> valid-flag */
154 U8 ilev2; /*< 5: 1> I_LEVEL_TN2 */
155 U8 v_ilev3; /*< 6: 1> valid-flag */
156 U8 ilev3; /*< 7: 1> I_LEVEL_TN3 */
157 U8 v_ilev4; /*< 8: 1> valid-flag */
158 U8 ilev4; /*< 9: 1> I_LEVEL_TN4 */
159 U8 v_ilev5; /*< 10: 1> valid-flag */
160 U8 ilev5; /*< 11: 1> I_LEVEL_TN5 */
161 U8 v_ilev6; /*< 12: 1> valid-flag */
162 U8 ilev6; /*< 13: 1> I_LEVEL_TN6 */
163 U8 v_ilev7; /*< 14: 1> valid-flag */
164 U8 ilev7; /*< 15: 1> I_LEVEL_TN7 */
165 } T_ilev;
166 #endif
167
168 #ifndef __T_chan_qual_rep__
169 #define __T_chan_qual_rep__
170 /*
171 * Channel Quality Report
172 * CCDGEN:WriteStruct_Count==693
173 */
174 typedef struct
175 {
176 U8 c_value; /*< 0: 1> C_VALUE */
177 U8 rxqual; /*< 1: 1> RXQUAL */
178 U8 signvar; /*< 2: 1> SIGN_VAR */
179 U8 _align0; /*< 3: 1> alignment */
180 T_ilev ilev; /*< 4: 16> I_LEVEL Structure */
181 } T_chan_qual_rep;
182 #endif
183
184 #ifndef __T_ack_nack_des__
185 #define __T_ack_nack_des__
186 /*
187 * Ack/Nack Description
188 * CCDGEN:WriteStruct_Count==694
189 */
190 typedef struct
191 {
192 U8 f_ack_ind; /*< 0: 1> FINAL_ACK_INDICATION */
193 U8 ssn; /*< 1: 1> STARTING_SEQUENCE_NUMBER */
194 U8 rbb[64]; /*< 2: 64> RECEIVE_BLOCK_BITMAP */
195 U8 _align0; /*< 66: 1> alignment */
196 U8 _align1; /*< 67: 1> alignment */
197 } T_ack_nack_des;
198 #endif
199
200 #ifndef __T_abs__
201 #define __T_abs__
202 /*
203 * TBF Starting Time Absolute
204 * CCDGEN:WriteStruct_Count==695
205 */
206 typedef struct
207 {
208 U8 t1; /*< 0: 1> T1' */
209 U8 t3; /*< 1: 1> T3 */
210 U8 t2; /*< 2: 1> T2 */
211 U8 _align0; /*< 3: 1> alignment */
212 } T_abs;
213 #endif
214
215 #ifndef __T_tbf_s_time__
216 #define __T_tbf_s_time__
217 /*
218 * TBF Starting Time
219 * CCDGEN:WriteStruct_Count==696
220 */
221 typedef struct
222 {
223 U8 flag; /*< 0: 1> Flag */
224 U8 v_rel; /*< 1: 1> valid-flag */
225 U16 rel; /*< 2: 2> TBF Starting Time Relative */
226 U8 _align0; /*< 4: 1> alignment */
227 U8 _align1; /*< 5: 1> alignment */
228 U8 _align2; /*< 6: 1> alignment */
229 U8 v_abs; /*< 7: 1> valid-flag */
230 T_abs abs; /*< 8: 4> TBF Starting Time Absolute */
231 } T_tbf_s_time;
232 #endif
233
234 #ifndef __T_fa_s2__
235 #define __T_fa_s2__
236 /*
237 * FA Sub2
238 * CCDGEN:WriteStruct_Count==697
239 */
240 typedef struct
241 {
242 T_tbf_s_time tbf_s_time; /*< 0: 12> TBF Starting Time */
243 U8 v_ts_alloc; /*< 12: 1> valid-flag */
244 U8 ts_alloc; /*< 13: 1> TIMESLOT_ALLOCATION */
245 U8 flag; /*< 14: 1> Flag */
246 U8 v_block_struct; /*< 15: 1> valid-flag */
247 T_block_struct block_struct; /*< 16:132> Blocks Structure */
248 U8 v_alloc_map; /*<148: 1> valid-flag */
249 U8 c_alloc_map; /*<149: 1> counter */
250 U8 alloc_map[127]; /*<150:127> ALLOCATION_BITMAP */
251 U8 _align0; /*<277: 1> alignment */
252 U8 _align1; /*<278: 1> alignment */
253 U8 _align2; /*<279: 1> alignment */
254 } T_fa_s2;
255 #endif
256
257 #ifndef __T_f_alloc_ack__
258 #define __T_f_alloc_ack__
259 /*
260 * Fixed Allocation Uplink Ack/Nack
261 * CCDGEN:WriteStruct_Count==698
262 */
263 typedef struct
264 {
265 U8 final_alloc; /*< 0: 1> FINAL_ALLOCATION */
266 U8 flag; /*< 1: 1> Flag */
267 U8 v_ts_overr; /*< 2: 1> valid-flag */
268 U8 ts_overr; /*< 3: 1> TS_OVERRIDE */
269 U8 _align0; /*< 4: 1> alignment */
270 U8 _align1; /*< 5: 1> alignment */
271 U8 _align2; /*< 6: 1> alignment */
272 U8 v_fa_s2; /*< 7: 1> valid-flag */
273 T_fa_s2 fa_s2; /*< 8:280> FA Sub2 */
274 } T_f_alloc_ack;
275 #endif
276
277 #ifndef __T_gamma_tn__
278 #define __T_gamma_tn__
279 /*
280 * Gamma Array
281 * CCDGEN:WriteStruct_Count==699
282 */
283 typedef struct
284 {
285 U8 v_gamma; /*< 0: 1> valid-flag */
286 U8 gamma; /*< 1: 1> GAMMA_TN */
287 U8 _align0; /*< 2: 1> alignment */
288 U8 _align1; /*< 3: 1> alignment */
289 } T_gamma_tn;
290 #endif
291
292 #ifndef __T_pwr_par__
293 #define __T_pwr_par__
294 /*
295 * Power Control Parameters
296 * CCDGEN:WriteStruct_Count==700
297 */
298 typedef struct
299 {
300 U8 alpha; /*< 0: 1> Alpha */
301 U8 _align0; /*< 1: 1> alignment */
302 U8 _align1; /*< 2: 1> alignment */
303 U8 _align2; /*< 3: 1> alignment */
304 T_gamma_tn gamma_tn[8]; /*< 4: 32> Gamma Array */
305 } T_pwr_par;
306 #endif
307
308 #ifndef __T_ta_index_tn__
309 #define __T_ta_index_tn__
310 /*
311 * TA index and timeslot structure
312 * CCDGEN:WriteStruct_Count==701
313 */
314 typedef struct
315 {
316 U8 ta_index; /*< 0: 1> TA_INDEX */
317 U8 ta_tn; /*< 1: 1> TIMING_ADVANCE_TIMESLOT_NUMBER */
318 U8 _align0; /*< 2: 1> alignment */
319 U8 _align1; /*< 3: 1> alignment */
320 } T_ta_index_tn;
321 #endif
322
323 #ifndef __T_pta__
324 #define __T_pta__
325 /*
326 * Packet Timing Advance
327 * CCDGEN:WriteStruct_Count==702
328 */
329 typedef struct
330 {
331 U8 v_ta_value; /*< 0: 1> valid-flag */
332 U8 ta_value; /*< 1: 1> TIMING_ADVANCE_VALUE */
333 U8 _align0; /*< 2: 1> alignment */
334 U8 v_ta_index_tn; /*< 3: 1> valid-flag */
335 T_ta_index_tn ta_index_tn; /*< 4: 4> TA index and timeslot structure */
336 } T_pta;
337 #endif
338
339
340 /*
341 * End of substructure section, begin of message definition section
342 */
343
344 #ifndef __T_U_GRLC_RESOURCE_REQ__
345 #define __T_U_GRLC_RESOURCE_REQ__
346 /*
347 *
348 * CCDGEN:WriteStruct_Count==703
349 */
350 typedef struct
351 {
352 U8 msg_type; /*< 0: 1> Message Type */
353 U8 v_access_type; /*< 1: 1> valid-flag */
354 U8 access_type; /*< 2: 1> Access Type */
355 U8 flag; /*< 3: 1> Flag */
356 U8 _align0; /*< 4: 1> alignment */
357 U8 _align1; /*< 5: 1> alignment */
358 U8 _align2; /*< 6: 1> alignment */
359 U8 v_glob_tfi; /*< 7: 1> valid-flag */
360 T_glob_tfi glob_tfi; /*< 8: 8> Global TFI */
361 U8 _align3; /*< 16: 1> alignment */
362 U8 _align4; /*< 17: 1> alignment */
363 U8 _align5; /*< 18: 1> alignment */
364 U8 v_tlli_value; /*< 19: 1> valid-flag */
365 BUF_tlli_value tlli_value; /*< 20: 12> TLLI */
366 U8 _align6; /*< 32: 1> alignment */
367 U8 _align7; /*< 33: 1> alignment */
368 U8 _align8; /*< 34: 1> alignment */
369 U8 v_ra_cap; /*< 35: 1> valid-flag */
370 T_ra_cap ra_cap; /*< 36: 84> MS RA capability value part (type defined in "m_rr_com.h") */
371 T_chan_req_des chan_req_des; /*<120: 8> Channel Request Description */
372 U8 v_ma_ch_mark; /*<128: 1> valid-flag */
373 U8 ma_ch_mark; /*<129: 1> MA_CHANGE_MARK */
374 U8 c_value; /*<130: 1> C_VALUE */
375 U8 v_signvar; /*<131: 1> valid-flag */
376 U8 signvar; /*<132: 1> SIGN_VAR */
377 U8 _align9; /*<133: 1> alignment */
378 U8 _align10; /*<134: 1> alignment */
379 U8 _align11; /*<135: 1> alignment */
380 T_ilev ilev; /*<136: 16> I_LEVEL Structure */
381 } T_U_GRLC_RESOURCE_REQ;
382 #endif
383
384 #ifndef __T_U_GRLC_DL_ACK__
385 #define __T_U_GRLC_DL_ACK__
386 /*
387 *
388 * CCDGEN:WriteStruct_Count==704
389 */
390 typedef struct
391 {
392 U8 msg_type; /*< 0: 1> Message Type */
393 U8 dl_tfi; /*< 1: 1> Downlink TFI */
394 U8 _align0; /*< 2: 1> alignment */
395 U8 _align1; /*< 3: 1> alignment */
396 T_ack_nack_des ack_nack_des; /*< 4: 68> Ack/Nack Description */
397 U8 _align2; /*< 72: 1> alignment */
398 U8 _align3; /*< 73: 1> alignment */
399 U8 _align4; /*< 74: 1> alignment */
400 U8 v_chan_req_des; /*< 75: 1> valid-flag */
401 T_chan_req_des chan_req_des; /*< 76: 8> Channel Request Description */
402 T_chan_qual_rep chan_qual_rep; /*< 84: 20> Channel Quality Report */
403 } T_U_GRLC_DL_ACK;
404 #endif
405
406 #ifndef __T_D_GRLC_UL_ACK__
407 #define __T_D_GRLC_UL_ACK__
408 /*
409 *
410 * CCDGEN:WriteStruct_Count==705
411 */
412 typedef struct
413 {
414 U8 msg_type; /*< 0: 1> Message Type */
415 U8 page_mode; /*< 1: 1> Page Mode */
416 U8 ul_tfi; /*< 2: 1> Uplink TFI */
417 U8 chan_coding_cmd; /*< 3: 1> CHANNEL_CODING_COMMAND */
418 T_ack_nack_des ack_nack_des; /*< 4: 68> Ack/Nack Description */
419 U8 _align0; /*< 72: 1> alignment */
420 U8 _align1; /*< 73: 1> alignment */
421 U8 _align2; /*< 74: 1> alignment */
422 U8 v_cr_tlli; /*< 75: 1> valid-flag */
423 BUF_cr_tlli cr_tlli; /*< 76: 12> CONTENTION_RESOLUTION_TLLI */
424 U8 _align3; /*< 88: 1> alignment */
425 U8 _align4; /*< 89: 1> alignment */
426 U8 _align5; /*< 90: 1> alignment */
427 U8 v_pta; /*< 91: 1> valid-flag */
428 T_pta pta; /*< 92: 8> Packet Timing Advance */
429 U8 _align6; /*<100: 1> alignment */
430 U8 _align7; /*<101: 1> alignment */
431 U8 _align8; /*<102: 1> alignment */
432 U8 v_pwr_par; /*<103: 1> valid-flag */
433 T_pwr_par pwr_par; /*<104: 36> Power Control Parameters */
434 U8 _align9; /*<140: 1> alignment */
435 U8 _align10; /*<141: 1> alignment */
436 U8 _align11; /*<142: 1> alignment */
437 U8 v_ext_bits; /*<143: 1> valid-flag */
438 T_ext_bits ext_bits; /*<144: 68> Extensions Bits IE */
439 U8 _align12; /*<212: 1> alignment */
440 U8 _align13; /*<213: 1> alignment */
441 U8 _align14; /*<214: 1> alignment */
442 U8 v_f_alloc_ack; /*<215: 1> valid-flag */
443 T_f_alloc_ack f_alloc_ack; /*<216:288> Fixed Allocation Uplink Ack/Nack */
444 } T_D_GRLC_UL_ACK;
445 #endif
446
447 #ifndef __T_U_GRLC_CTRL_ACK__
448 #define __T_U_GRLC_CTRL_ACK__
449 /*
450 *
451 * CCDGEN:WriteStruct_Count==706
452 */
453 typedef struct
454 {
455 U8 msg_type; /*< 0: 1> Message Type */
456 U8 _align0; /*< 1: 1> alignment */
457 U8 _align1; /*< 2: 1> alignment */
458 U8 _align2; /*< 3: 1> alignment */
459 BUF_tlli_value tlli_value; /*< 4: 12> TLLI */
460 U8 pctrl_ack; /*< 16: 1> P_CONTROL_ACK */
461 U8 _align3; /*< 17: 1> alignment */
462 U8 _align4; /*< 18: 1> alignment */
463 U8 _align5; /*< 19: 1> alignment */
464 } T_U_GRLC_CTRL_ACK;
465 #endif
466
467 #ifndef __T_U_GRLC_UL_DUMMY__
468 #define __T_U_GRLC_UL_DUMMY__
469 /*
470 *
471 * CCDGEN:WriteStruct_Count==707
472 */
473 typedef struct
474 {
475 U8 msg_type; /*< 0: 1> Message Type */
476 U8 _align0; /*< 1: 1> alignment */
477 U8 _align1; /*< 2: 1> alignment */
478 U8 _align2; /*< 3: 1> alignment */
479 BUF_tlli_value tlli_value; /*< 4: 12> TLLI */
480 } T_U_GRLC_UL_DUMMY;
481 #endif
482
483
484 #include "CDG_LEAVE.h"
485
486
487 #endif