FreeCalypso > hg > fc-magnetite
comparison cdg211/cdginc/p_mac.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_mac.h | | |
5 | SOURCE : "__out__\g23m_dfile\prim\mac.pdf" | | |
6 | LastModified : "2003-02-26" | | |
7 | IdAndVersion : "8441.111.03.009" | | |
8 | SrcFileTime : "Fri Jun 18 12:26:46 2004" | | |
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:15 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_MAC_H | |
24 #define P_MAC_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_MAC_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_MAC_H | |
30 #define CDG_ENTER__P_MAC_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_MAC_H__LAST_MODIFIED _2003_02_26 | |
32 #define CDG_ENTER__P_MAC_H__ID_AND_VERSION _8441_111_03_009 | |
33 | |
34 #define CDG_ENTER__P_MAC_H__SRC_FILE_TIME _Fri_Jun_18_12_26_46_2004 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_MAC_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_mac.val" | |
44 | |
45 #ifndef __T_ul_poll_resp__ | |
46 #define __T_ul_poll_resp__ | |
47 /* | |
48 * Uplink Poll Response | |
49 * CCDGEN:WriteStruct_Count==1341 | |
50 */ | |
51 typedef struct | |
52 { | |
53 U16 block_status; /*< 0: 2> Block Status */ | |
54 U16 tn; /*< 2: 2> Timeslot number */ | |
55 U16 ul_block[13]; /*< 4: 26> Uplink block */ | |
56 U8 _align0; /*< 30: 1> alignment */ | |
57 U8 _align1; /*< 31: 1> alignment */ | |
58 } T_ul_poll_resp; | |
59 #endif | |
60 | |
61 #ifndef __T_ul_data__ | |
62 #define __T_ul_data__ | |
63 /* | |
64 * Uplink Data | |
65 * CCDGEN:WriteStruct_Count==1342 | |
66 */ | |
67 typedef struct | |
68 { | |
69 U16 block_status; /*< 0: 2> Block Status */ | |
70 U16 ul_block[28]; /*< 2: 56> Uplink block */ | |
71 U8 _align0; /*< 58: 1> alignment */ | |
72 U8 _align1; /*< 59: 1> alignment */ | |
73 } T_ul_data; | |
74 #endif | |
75 | |
76 #ifndef __T_dl_data__ | |
77 #define __T_dl_data__ | |
78 /* | |
79 * Downlink Data | |
80 * CCDGEN:WriteStruct_Count==1343 | |
81 */ | |
82 typedef struct | |
83 { | |
84 U16 block_status; /*< 0: 2> Block Status */ | |
85 U16 tn; /*< 2: 2> Timeslot number */ | |
86 U16 d_macc; /*< 4: 2> Accumulated Metric */ | |
87 U16 d_nerr; /*< 6: 2> Number of estimated erorrs */ | |
88 U16 dl_block[27]; /*< 8: 54> Downlink block */ | |
89 U8 _align0; /*< 62: 1> alignment */ | |
90 U8 _align1; /*< 63: 1> alignment */ | |
91 } T_dl_data; | |
92 #endif | |
93 | |
94 | |
95 /* | |
96 * End of substructure section, begin of primitive definition section | |
97 */ | |
98 | |
99 #ifndef __T_MAC_DATA_REQ__ | |
100 #define __T_MAC_DATA_REQ__ | |
101 /* | |
102 * | |
103 * CCDGEN:WriteStruct_Count==1344 | |
104 */ | |
105 typedef struct | |
106 { | |
107 T_ul_data ul_data; /*< 0: 60> Uplink Data */ | |
108 } T_MAC_DATA_REQ; | |
109 #endif | |
110 | |
111 #ifndef __T_MAC_DATA_IND__ | |
112 #define __T_MAC_DATA_IND__ | |
113 /* | |
114 * | |
115 * CCDGEN:WriteStruct_Count==1345 | |
116 */ | |
117 typedef struct | |
118 { | |
119 U32 fn; /*< 0: 4> Framenumber */ | |
120 U16 rx_no; /*< 4: 2> Number of received Timeslots */ | |
121 U8 _align0; /*< 6: 1> alignment */ | |
122 U8 _align1; /*< 7: 1> alignment */ | |
123 T_dl_data dl_data; /*< 8: 64> Downlink Data */ | |
124 } T_MAC_DATA_IND; | |
125 #endif | |
126 | |
127 #ifndef __T_MAC_READY_IND__ | |
128 #define __T_MAC_READY_IND__ | |
129 /* | |
130 * | |
131 * CCDGEN:WriteStruct_Count==1346 | |
132 */ | |
133 typedef struct | |
134 { | |
135 U8 nts; /*< 0: 1> Maximum number of Timeslots for uplink TBF */ | |
136 U8 _align0; /*< 1: 1> alignment */ | |
137 U8 _align1; /*< 2: 1> alignment */ | |
138 U8 _align2; /*< 3: 1> alignment */ | |
139 U32 fn; /*< 4: 4> Framenumber */ | |
140 U8 rlc_blocks_sent; /*< 8: 1> number of transmitted rlc/mac blocks (except polling) */ | |
141 U8 last_poll_resp; /*< 9: 1> Last Poll Response */ | |
142 U8 ta_value; /*< 10: 1> Timing Advance Value */ | |
143 U8 _align3; /*< 11: 1> alignment */ | |
144 } T_MAC_READY_IND; | |
145 #endif | |
146 | |
147 #ifndef __T_MAC_POLL_REQ__ | |
148 #define __T_MAC_POLL_REQ__ | |
149 /* | |
150 * | |
151 * CCDGEN:WriteStruct_Count==1347 | |
152 */ | |
153 typedef struct | |
154 { | |
155 T_ul_poll_resp ul_poll_resp; /*< 0: 32> Uplink Poll Response */ | |
156 } T_MAC_POLL_REQ; | |
157 #endif | |
158 | |
159 #ifndef __T_MAC_PWR_CTRL_IND__ | |
160 #define __T_MAC_PWR_CTRL_IND__ | |
161 /* | |
162 * | |
163 * CCDGEN:WriteStruct_Count==1348 | |
164 */ | |
165 typedef struct | |
166 { | |
167 U32 assignment_id; /*< 0: 4> assignment identifier; . */ | |
168 U8 crc_error; /*< 4: 1> CRC error; . */ | |
169 U8 bcch_level; /*< 5: 1> Signal level of BCCH serving Cell; . */ | |
170 U16 radio_freq[MAC_BURST_PER_BLOCK]; /*< 6: 8> Radio frequency of the TDMA frame; . */ | |
171 U8 burst_level[MAC_BURST_PER_BLOCK]; /*< 14: 4> Signal level of the first valid downlink PDCH; . */ | |
172 U8 _align0; /*< 18: 1> alignment */ | |
173 U8 _align1; /*< 19: 1> alignment */ | |
174 } T_MAC_PWR_CTRL_IND; | |
175 #endif | |
176 | |
177 | |
178 #include "CDG_LEAVE.h" | |
179 | |
180 | |
181 #endif |