FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/cdg/cdginc-locosto/p_8010_147_l1_include.h @ 654:95c433d8c274
gsm-fw/cdg: LoCosto version of cdginc regenerated
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 25 Sep 2014 09:46:42 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
653:31d82d090499 | 654:95c433d8c274 |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_8010_147_l1_include.h | | |
5 | SOURCE : "sap\8010_147_L1_include.pdf" | | |
6 | LastModified : "2003-07-28" | | |
7 | IdAndVersion : "8010.147.03.002" | | |
8 | SrcFileTime : "Thu Nov 29 09:28:46 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: YES | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: YES | |
20 */ | |
21 | |
22 | |
23 #ifndef P_8010_147_L1_INCLUDE_H | |
24 #define P_8010_147_L1_INCLUDE_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_8010_147_L1_INCLUDE_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_8010_147_L1_INCLUDE_H | |
30 #define CDG_ENTER__P_8010_147_L1_INCLUDE_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_8010_147_L1_INCLUDE_H__LAST_MODIFIED _2003_07_28 | |
32 #define CDG_ENTER__P_8010_147_L1_INCLUDE_H__ID_AND_VERSION _8010_147_03_002 | |
33 | |
34 #define CDG_ENTER__P_8010_147_L1_INCLUDE_H__SRC_FILE_TIME _Thu_Nov_29_09_28_46_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_8010_147_L1_INCLUDE_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_8010_147_l1_include.val" | |
44 | |
45 | |
46 /* | |
47 * typedef between var and valtab enums | |
48 */ | |
49 #ifndef __T_RF_CHAN_CNT__ | |
50 #define __T_RF_CHAN_CNT__ | |
51 typedef T_VAL_RF_CHAN_CNT T_RF_CHAN_CNT; | |
52 #endif | |
53 | |
54 #ifndef __T_RADIO_FREQ__ | |
55 #define __T_RADIO_FREQ__ | |
56 typedef T_VAL_RADIO_FREQ T_RADIO_FREQ; | |
57 #endif | |
58 | |
59 #ifndef __T_RADIO_FREQ_NO__ | |
60 #define __T_RADIO_FREQ_NO__ | |
61 typedef T_VAL_RADIO_FREQ T_RADIO_FREQ_NO; | |
62 #endif | |
63 | |
64 #ifndef __T_RADIO_FREQ_ARRAY__ | |
65 #define __T_RADIO_FREQ_ARRAY__ | |
66 typedef T_VAL_RADIO_FREQ T_RADIO_FREQ_ARRAY; | |
67 #endif | |
68 | |
69 #ifndef __T_BCCH_CARRIER__ | |
70 #define __T_BCCH_CARRIER__ | |
71 typedef T_VAL_RADIO_FREQ T_BCCH_CARRIER; | |
72 #endif | |
73 | |
74 #ifndef __T_BCCH_FREQ__ | |
75 #define __T_BCCH_FREQ__ | |
76 typedef T_VAL_RADIO_FREQ T_BCCH_FREQ; | |
77 #endif | |
78 | |
79 #ifndef __T_RF_CHAN_NUM__ | |
80 #define __T_RF_CHAN_NUM__ | |
81 typedef T_VAL_RADIO_FREQ T_RF_CHAN_NUM; | |
82 #endif | |
83 | |
84 #ifndef __T_ERROR_FLAG__ | |
85 #define __T_ERROR_FLAG__ | |
86 typedef T_VAL_ERROR_FLAG T_ERROR_FLAG; | |
87 #endif | |
88 | |
89 #ifndef __T_ERROR_CAUSE__ | |
90 #define __T_ERROR_CAUSE__ | |
91 typedef T_VAL_ERROR_FLAG T_ERROR_CAUSE; | |
92 #endif | |
93 | |
94 #ifndef __T_FN__ | |
95 #define __T_FN__ | |
96 typedef T_VAL_FN T_FN; | |
97 #endif | |
98 | |
99 #ifndef __T_ABSOLUTE_FN__ | |
100 #define __T_ABSOLUTE_FN__ | |
101 typedef T_VAL_FN T_ABSOLUTE_FN; | |
102 #endif | |
103 | |
104 #ifndef __T_FN_OFFSET__ | |
105 #define __T_FN_OFFSET__ | |
106 typedef T_VAL_FN_OFFSET T_FN_OFFSET; | |
107 #endif | |
108 | |
109 #ifndef __T_MAIO__ | |
110 #define __T_MAIO__ | |
111 typedef T_VAL_MAIO T_MAIO; | |
112 #endif | |
113 | |
114 #ifndef __T_HSN__ | |
115 #define __T_HSN__ | |
116 typedef T_VAL_HSN T_HSN; | |
117 #endif | |
118 | |
119 #ifndef __T_L2_CHANNEL__ | |
120 #define __T_L2_CHANNEL__ | |
121 typedef T_VAL_L2_CHANNEL T_L2_CHANNEL; | |
122 #endif | |
123 | |
124 #ifndef __T_L2_CHANNEL_TYPE__ | |
125 #define __T_L2_CHANNEL_TYPE__ | |
126 typedef T_VAL_L2_CHANNEL T_L2_CHANNEL_TYPE; | |
127 #endif | |
128 | |
129 #ifndef __T_PAGE_MODE__ | |
130 #define __T_PAGE_MODE__ | |
131 typedef T_VAL_PAGE_MODE T_PAGE_MODE; | |
132 #endif | |
133 | |
134 #ifndef __T_RXLEV__ | |
135 #define __T_RXLEV__ | |
136 typedef T_VAL_RXLEV T_RXLEV; | |
137 #endif | |
138 | |
139 #ifndef __T_S_RXLEV__ | |
140 #define __T_S_RXLEV__ | |
141 typedef T_VAL_RXLEV T_S_RXLEV; | |
142 #endif | |
143 | |
144 #ifndef __T_TIMESLOT_NO__ | |
145 #define __T_TIMESLOT_NO__ | |
146 typedef T_VAL_TIMESLOT_NO T_TIMESLOT_NO; | |
147 #endif | |
148 | |
149 #ifndef __T_TIMESLOT_NUMBER__ | |
150 #define __T_TIMESLOT_NUMBER__ | |
151 typedef T_VAL_TIMESLOT_NO T_TIMESLOT_NUMBER; | |
152 #endif | |
153 | |
154 #ifndef __T_TA_TN__ | |
155 #define __T_TA_TN__ | |
156 typedef T_VAL_TIMESLOT_NO T_TA_TN; | |
157 #endif | |
158 | |
159 #ifndef __T_CTRL_TIMESLOT__ | |
160 #define __T_CTRL_TIMESLOT__ | |
161 typedef T_VAL_TIMESLOT_NO T_CTRL_TIMESLOT; | |
162 #endif | |
163 | |
164 #ifndef __T_TSC__ | |
165 #define __T_TSC__ | |
166 typedef T_VAL_TSC T_TSC; | |
167 #endif | |
168 | |
169 #ifndef __T_HOPPING_RF__ | |
170 #define __T_HOPPING_RF__ | |
171 /* | |
172 * Channel choice | |
173 * CCDGEN:WriteStruct_Count==1333 | |
174 */ | |
175 typedef struct | |
176 { | |
177 U8 maio; /*< 0: 1> T_MAIO, Mobile allocation index offset */ | |
178 U8 hsn; /*< 1: 1> T_HSN, Hopping sequence number */ | |
179 U8 _align0; /*< 2: 1> alignment */ | |
180 U8 _align1; /*< 3: 1> alignment */ | |
181 } T_HOPPING_RF; | |
182 #endif | |
183 | |
184 #ifndef __T_RADIO_FRAME__ | |
185 #define __T_RADIO_FRAME__ | |
186 /* | |
187 * Layer 2 frame | |
188 * CCDGEN:WriteStruct_Count==1334 | |
189 */ | |
190 typedef struct | |
191 { | |
192 U8 A[MAX_L2_FRAME_SIZE]; /*< 0: 23> Frame content */ | |
193 U8 _align0; /*< 23: 1> alignment */ | |
194 } T_RADIO_FRAME; | |
195 #endif | |
196 | |
197 #ifndef __T_MA_FIELD__ | |
198 #define __T_MA_FIELD__ | |
199 /* | |
200 * Frequency list | |
201 * CCDGEN:WriteStruct_Count==1335 | |
202 */ | |
203 typedef struct | |
204 { | |
205 U16 A[MAX_MA_CARRIER]; /*< 0:128> T_RADIO_FREQ, Radio frequency channel number */ | |
206 } T_MA_FIELD; | |
207 #endif | |
208 | |
209 #ifndef __T_MOBILE_ALLOCATION__ | |
210 #define __T_MOBILE_ALLOCATION__ | |
211 /* | |
212 * List of frequencies for MA | |
213 * CCDGEN:WriteStruct_Count==1336 | |
214 */ | |
215 typedef struct | |
216 { | |
217 U16 rf_chan_cnt; /*< 0: 2> T_RF_CHAN_CNT, Number of channels in the mobile allocation list */ | |
218 U8 _align0; /*< 2: 1> alignment */ | |
219 U8 _align1; /*< 3: 1> alignment */ | |
220 T_MA_FIELD rf_chan_no; /*< 4:128> Frequency list */ | |
221 } T_MOBILE_ALLOCATION; | |
222 #endif | |
223 | |
224 #ifndef __T_SINGLE_RF__ | |
225 #define __T_SINGLE_RF__ | |
226 /* | |
227 * Single RF channel number | |
228 * CCDGEN:WriteStruct_Count==1337 | |
229 */ | |
230 typedef struct | |
231 { | |
232 U16 radio_freq; /*< 0: 2> T_RADIO_FREQ, Radio frequency channel number */ | |
233 U8 _align0; /*< 2: 1> alignment */ | |
234 U8 _align1; /*< 3: 1> alignment */ | |
235 } T_SINGLE_RF; | |
236 #endif | |
237 | |
238 #ifndef __T_CHN_SEL_CHOICE__ | |
239 #define __T_CHN_SEL_CHOICE__ | |
240 /* | |
241 * Channel choice | |
242 * CCDGEN:WriteStruct_Count==1338 | |
243 */ | |
244 typedef union | |
245 { | |
246 T_SINGLE_RF single_rf; /*< 0: 4> Single RF channel number */ | |
247 T_HOPPING_RF hopping_rf; /*< 0: 4> Channel choice */ | |
248 } T_CHN_SEL_CHOICE; | |
249 #endif | |
250 | |
251 #ifndef __T_CHN_SEL__ | |
252 #define __T_CHN_SEL__ | |
253 /* | |
254 * Channel selector | |
255 * CCDGEN:WriteStruct_Count==1339 | |
256 */ | |
257 typedef struct | |
258 { | |
259 T_CTRL_CHN_SEL_CHOICE ctrl_rf_channel; /*< 0: 4> (enum=32bit) controller for union */ | |
260 T_CHN_SEL_CHOICE rf_channel; /*< 4: 4> Channel choice */ | |
261 } T_CHN_SEL; | |
262 #endif | |
263 | |
264 | |
265 /* | |
266 * End of substructure section, begin of primitive definition section | |
267 */ | |
268 | |
269 #ifndef __T_L1_EXPORT__ | |
270 #define __T_L1_EXPORT__ | |
271 /* | |
272 * | |
273 * CCDGEN:WriteStruct_Count==1340 | |
274 */ | |
275 typedef struct | |
276 { | |
277 U16 rf_chan_cnt; /*< 0: 2> T_RF_CHAN_CNT, Number of channels in the mobile allocation list */ | |
278 U16 radio_freq; /*< 2: 2> T_RADIO_FREQ, Radio frequency channel number */ | |
279 U16 radio_freq_no; /*< 4: 2> T_RADIO_FREQ_NO, Radio frequency channel number */ | |
280 U16 radio_freq_array; /*< 6: 2> T_RADIO_FREQ_ARRAY, Radio frequency channel number (used in array) */ | |
281 U16 bcch_carrier; /*< 8: 2> T_BCCH_CARRIER, Radio frequency channel number of BCCH */ | |
282 U16 bcch_freq; /*< 10: 2> T_BCCH_FREQ, Radio frequency channel number of BCCH */ | |
283 U16 rf_chan_num; /*< 12: 2> T_RF_CHAN_NUM, Radio frequency channel number */ | |
284 U8 _align0; /*< 14: 1> alignment */ | |
285 U8 _align1; /*< 15: 1> alignment */ | |
286 T_CTRL_CHN_SEL_CHOICE ctrl_rf_channel; /*< 16: 4> (enum=32bit) controller for union */ | |
287 T_CHN_SEL_CHOICE rf_channel; /*< 20: 4> Channel choice */ | |
288 T_CHN_SEL chan_sel; /*< 24: 8> Channel selector */ | |
289 U8 error_flag; /*< 32: 1> T_ERROR_FLAG, Error cause */ | |
290 U8 error_cause; /*< 33: 1> T_ERROR_CAUSE, Error cause */ | |
291 U8 _align2; /*< 34: 1> alignment */ | |
292 U8 _align3; /*< 35: 1> alignment */ | |
293 U32 fn; /*< 36: 4> T_FN, Frame number */ | |
294 U32 absolute_fn; /*< 40: 4> T_ABSOLUTE_FN, Full frame number */ | |
295 U32 fn_offset; /*< 44: 4> T_FN_OFFSET, Frame offset */ | |
296 T_HOPPING_RF hopping_rf; /*< 48: 4> Channel choice */ | |
297 U8 l2_channel; /*< 52: 1> T_L2_CHANNEL, Layer 2 channel-type */ | |
298 U8 l2_channel_type; /*< 53: 1> T_L2_CHANNEL_TYPE, Layer 2 channel-type */ | |
299 U8 _align4; /*< 54: 1> alignment */ | |
300 U8 _align5; /*< 55: 1> alignment */ | |
301 T_RADIO_FRAME l2_frame; /*< 56: 24> Layer 2 frame */ | |
302 T_MOBILE_ALLOCATION frequency_list; /*< 80:132> List of frequencies for MA */ | |
303 T_MOBILE_ALLOCATION freq_list; /*<212:132> List of frequencies for MA */ | |
304 T_MOBILE_ALLOCATION cbch_freq_list; /*<344:132> CBCH frequency list */ | |
305 T_MOBILE_ALLOCATION frequency_list_bef_sti; /*<476:132> Frequency list before starting time */ | |
306 U8 page_mode; /*<608: 1> T_PAGE_MODE, Paging mode */ | |
307 S8 rxlev; /*<609: 1> T_RXLEV, The (accumulated) result of power measurements. */ | |
308 S8 s_rxlev; /*<610: 1> T_S_RXLEV, The serving cell received power level (average of the 4 PCH bursts read during the particular PCH block). */ | |
309 U8 _align6; /*<611: 1> alignment */ | |
310 T_MA_FIELD rf_chan_no; /*<612:128> Frequency list */ | |
311 T_SINGLE_RF single_rf; /*<740: 4> Single RF channel number */ | |
312 U8 timeslot_no; /*<744: 1> T_TIMESLOT_NO, Timeslot number */ | |
313 U8 timeslot_number; /*<745: 1> T_TIMESLOT_NUMBER, Timeslot number */ | |
314 U8 ta_tn; /*<746: 1> T_TA_TN, Timing advance timeslot number */ | |
315 U8 ctrl_timeslot; /*<747: 1> T_CTRL_TIMESLOT, Downlink control timeslot */ | |
316 U8 tsc; /*<748: 1> T_TSC, Training sequence code */ | |
317 U8 _align7; /*<749: 1> alignment */ | |
318 U8 _align8; /*<750: 1> alignment */ | |
319 U8 _align9; /*<751: 1> alignment */ | |
320 } T_L1_EXPORT; | |
321 #endif | |
322 | |
323 | |
324 #include "CDG_LEAVE.h" | |
325 | |
326 | |
327 #endif |