FreeCalypso > hg > fc-magnetite
comparison cdg211/cdginc/p_mph.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_mph.h | | |
5 | SOURCE : "__out__\g23m_dfile\prim\mph.pdf" | | |
6 | LastModified : "2003-02-04" | | |
7 | IdAndVersion : "6148.109.01.207" | | |
8 | SrcFileTime : "Fri Apr 28 11:06:12 2006" | | |
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_MPH_H | |
24 #define P_MPH_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_MPH_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_MPH_H | |
30 #define CDG_ENTER__P_MPH_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_MPH_H__LAST_MODIFIED _2003_02_04 | |
32 #define CDG_ENTER__P_MPH_H__ID_AND_VERSION _6148_109_01_207 | |
33 | |
34 #define CDG_ENTER__P_MPH_H__SRC_FILE_TIME _Fri_Apr_28_11_06_12_2006 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_MPH_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_mph.val" | |
44 | |
45 #ifndef __T_cbch__ | |
46 #define __T_cbch__ | |
47 /* | |
48 * cell broadcast channel | |
49 * CCDGEN:WriteStruct_Count==1584 | |
50 */ | |
51 typedef struct | |
52 { | |
53 U8 stat; /*< 0: 1> status */ | |
54 U8 ch; /*< 1: 1> channel type */ | |
55 U8 tn; /*< 2: 1> timeslot number */ | |
56 U8 tsc; /*< 3: 1> trainings sequence code */ | |
57 U8 h; /*< 4: 1> hopping */ | |
58 U8 _align0; /*< 5: 1> alignment */ | |
59 U16 arfcn; /*< 6: 2> channel number */ | |
60 U8 maio; /*< 8: 1> mobile allocation index offset */ | |
61 U8 hsn; /*< 9: 1> hopping sequence number */ | |
62 U16 ma[MAX_MA_CHANNELS]; /*< 10:128> channel number in the mobile allocation list (used with frequency hopping) */ | |
63 U8 _align1; /*<138: 1> alignment */ | |
64 U8 _align2; /*<139: 1> alignment */ | |
65 } T_cbch; | |
66 #endif | |
67 | |
68 #ifndef __T_ncells__ | |
69 #define __T_ncells__ | |
70 /* | |
71 * neighbour cell measurement results | |
72 * CCDGEN:WriteStruct_Count==1585 | |
73 */ | |
74 typedef struct | |
75 { | |
76 U8 no_of_ncells; /*< 0: 1> Number of ncells */ | |
77 U8 _align0; /*< 1: 1> alignment */ | |
78 U16 arfcn[6]; /*< 2: 12> channel number */ | |
79 U8 rx_lev[6]; /*< 14: 6> received field strength */ | |
80 U8 bsic[6]; /*< 20: 6> base station identification code */ | |
81 U8 _align1; /*< 26: 1> alignment */ | |
82 U8 _align2; /*< 27: 1> alignment */ | |
83 U32 time_alignmt[6]; /*< 28: 24> timing alignment; refers to difference in time between serving and neighbour cell */ | |
84 U32 frame_offset[6]; /*< 52: 24> frame offset; refers to difference in time between serving and neighbour cell */ | |
85 } T_ncells; | |
86 #endif | |
87 | |
88 #ifndef __T_start__ | |
89 #define __T_start__ | |
90 /* | |
91 * starting time | |
92 * CCDGEN:WriteStruct_Count==1586 | |
93 */ | |
94 typedef struct | |
95 { | |
96 U8 v_start; /*< 0: 1> starting time valid */ | |
97 U8 t1; /*< 1: 1> reduced frame number modula 32 */ | |
98 U8 t2; /*< 2: 1> reduced frame number modula 26 */ | |
99 U8 t3; /*< 3: 1> reduced frame number modula 51 */ | |
100 } T_start; | |
101 #endif | |
102 | |
103 #ifndef __T_ch_type__ | |
104 #define __T_ch_type__ | |
105 /* | |
106 * channel type configuration | |
107 * CCDGEN:WriteStruct_Count==1587 | |
108 */ | |
109 typedef struct | |
110 { | |
111 U8 ch; /*< 0: 1> channel type */ | |
112 U8 tn; /*< 1: 1> timeslot number */ | |
113 U8 tsc; /*< 2: 1> trainings sequence code */ | |
114 U8 h; /*< 3: 1> hopping */ | |
115 U16 arfcn; /*< 4: 2> channel number */ | |
116 U8 maio; /*< 6: 1> mobile allocation index offset */ | |
117 U8 hsn; /*< 7: 1> hopping sequence number */ | |
118 U16 ma[MAX_MA_CHANNELS]; /*< 8:128> channel number in the mobile allocation list (used with frequency hopping) */ | |
119 } T_ch_type; | |
120 #endif | |
121 | |
122 /* | |
123 * channel type | |
124 * CCDGEN:WriteStruct_Count==1588 | |
125 */ | |
126 #ifndef __T_ch_type2__ | |
127 #define __T_ch_type2__ | |
128 typedef T_ch_type T_ch_type2; | |
129 #endif | |
130 #ifndef __T_tr_para__ | |
131 #define __T_tr_para__ | |
132 /* | |
133 * transmission parameter | |
134 * CCDGEN:WriteStruct_Count==1589 | |
135 */ | |
136 typedef struct | |
137 { | |
138 U8 power; /*< 0: 1> transmission power level */ | |
139 U8 dtx; /*< 1: 1> discontinuous transmission */ | |
140 U8 rlt; /*< 2: 1> radio link timeout */ | |
141 U8 tav; /*< 3: 1> timing advance */ | |
142 U8 pwrc; /*< 4: 1> power control indicator */ | |
143 U8 mode; /*< 5: 1> channel mode */ | |
144 U8 _align0; /*< 6: 1> alignment */ | |
145 U8 _align1; /*< 7: 1> alignment */ | |
146 } T_tr_para; | |
147 #endif | |
148 | |
149 #ifndef __T_ciph__ | |
150 #define __T_ciph__ | |
151 /* | |
152 * ciphering parameters | |
153 * CCDGEN:WriteStruct_Count==1590 | |
154 */ | |
155 typedef struct | |
156 { | |
157 U8 stat; /*< 0: 1> status */ | |
158 U8 algo; /*< 1: 1> Algorithm */ | |
159 U8 kc[KC_STRING_SIZE]; /*< 2: 8> Kc value; the format in the GTI case is as on the SIM; the least significant bit of kc is the least significant bit of the eighth byte; the most significant bit of kc is the most significant bit of the first byte. */ | |
160 U8 _align0; /*< 10: 1> alignment */ | |
161 U8 _align1; /*< 11: 1> alignment */ | |
162 } T_ciph; | |
163 #endif | |
164 | |
165 #ifndef __T_cod_prop__ | |
166 #define __T_cod_prop__ | |
167 /* | |
168 * codec properties | |
169 * CCDGEN:WriteStruct_Count==1591 | |
170 */ | |
171 typedef struct | |
172 { | |
173 U8 codec_thr; /*< 0: 1> Codec threshold */ | |
174 U8 codec_hyst; /*< 1: 1> Codec hysteresis */ | |
175 U8 _align0; /*< 2: 1> alignment */ | |
176 U8 _align1; /*< 3: 1> alignment */ | |
177 } T_cod_prop; | |
178 #endif | |
179 | |
180 #ifndef __T_amr_conf__ | |
181 #define __T_amr_conf__ | |
182 /* | |
183 * Parameters for AMR | |
184 * CCDGEN:WriteStruct_Count==1592 | |
185 */ | |
186 typedef struct | |
187 { | |
188 U8 nscb; /*< 0: 1> noise suppression control bit */ | |
189 U8 icmi; /*< 1: 1> initial code mode indicator */ | |
190 U8 st_mode; /*< 2: 1> initial code mode */ | |
191 U8 acs; /*< 3: 1> active codec set */ | |
192 U8 v_cod_prop; /*< 4: 1> valid flag codec properties */ | |
193 U8 c_cod_prop; /*< 5: 1> counter */ | |
194 U8 _align0; /*< 6: 1> alignment */ | |
195 U8 _align1; /*< 7: 1> alignment */ | |
196 T_cod_prop cod_prop[3]; /*< 8: 12> codec properties */ | |
197 } T_amr_conf; | |
198 #endif | |
199 | |
200 #ifndef __T_classmark__ | |
201 #define __T_classmark__ | |
202 /* | |
203 * classmark | |
204 * CCDGEN:WriteStruct_Count==1593 | |
205 */ | |
206 typedef struct | |
207 { | |
208 U8 pclass; /*< 0: 1> power class */ | |
209 U8 pclass2; /*< 1: 1> power class 2 */ | |
210 U8 _align0; /*< 2: 1> alignment */ | |
211 U8 _align1; /*< 3: 1> alignment */ | |
212 } T_classmark; | |
213 #endif | |
214 | |
215 #ifndef __T_ho_param__ | |
216 #define __T_ho_param__ | |
217 /* | |
218 * handover parameter | |
219 * CCDGEN:WriteStruct_Count==1594 | |
220 */ | |
221 typedef struct | |
222 { | |
223 U8 ho_ref; /*< 0: 1> reference */ | |
224 U8 ho_pow; /*< 1: 1> transmission power level */ | |
225 U8 ho_acc_type; /*< 2: 1> access type */ | |
226 U8 ho_nci; /*< 3: 1> normal cell indication */ | |
227 } T_ho_param; | |
228 #endif | |
229 | |
230 #ifndef __T_mid__ | |
231 #define __T_mid__ | |
232 /* | |
233 * Mobile identities | |
234 * CCDGEN:WriteStruct_Count==1595 | |
235 */ | |
236 typedef struct | |
237 { | |
238 U8 len_imsi; /*< 0: 1> Length of IMSI */ | |
239 U8 imsi[15]; /*< 1: 15> IMSI digits */ | |
240 U8 v_tmsi; /*< 16: 1> Valid TMSI flag */ | |
241 U8 _align0; /*< 17: 1> alignment */ | |
242 U8 _align1; /*< 18: 1> alignment */ | |
243 U8 _align2; /*< 19: 1> alignment */ | |
244 U32 tmsi; /*< 20: 4> Binary TMSI representatino */ | |
245 U8 v_ptmsi; /*< 24: 1> Valid PTMSI flag; can indicate'valid'only for the GPRS supporting terminal */ | |
246 U8 _align3; /*< 25: 1> alignment */ | |
247 U8 _align4; /*< 26: 1> alignment */ | |
248 U8 _align5; /*< 27: 1> alignment */ | |
249 U32 ptmsi; /*< 28: 4> Binary PTMSI representatino */ | |
250 U8 v_ptmsi2; /*< 32: 1> Valid PTMSI flag; can indicate'valid'only for the GPRS supporting terminal */ | |
251 U8 _align6; /*< 33: 1> alignment */ | |
252 U8 _align7; /*< 34: 1> alignment */ | |
253 U8 _align8; /*< 35: 1> alignment */ | |
254 U32 ptmsi2; /*< 36: 4> Binary PTMSI representatino */ | |
255 } T_mid; | |
256 #endif | |
257 | |
258 #ifndef __T_send_mode__ | |
259 #define __T_send_mode__ | |
260 /* | |
261 * RACH sending mode | |
262 * CCDGEN:WriteStruct_Count==1596 | |
263 */ | |
264 typedef struct | |
265 { | |
266 U8 c; /*< 0: 1> dummy; unused, reserved */ | |
267 U8 no; /*< 1: 1> number of RACH messages; this number includes re-transmissions and the first, initial RACH burst, i.e. no = M +1, where M is as defined in GSM 04.08's specification of the initiation of the immediate assignment procedure */ | |
268 U8 delta[MAX_RACH_REQ]; /*< 2: 8> time in TDMA frames between bursts; delta[0]corresponds to the time between MPH_RANDOM_ACCESS_REQ and the first RACH burst, delta[1]to the time between the first and the 2nd RACH burst and so on */ | |
269 U8 rach[MAX_RACH_REQ]; /*< 10: 8> channel request content burst n; rach[0]corresponds to the contents of the first RACH burst, rach[1]to the 2nd and so on */ | |
270 U8 _align0; /*< 18: 1> alignment */ | |
271 U8 _align1; /*< 19: 1> alignment */ | |
272 } T_send_mode; | |
273 #endif | |
274 | |
275 #ifndef __T_frame_no__ | |
276 #define __T_frame_no__ | |
277 /* | |
278 * reduced frame number | |
279 * CCDGEN:WriteStruct_Count==1597 | |
280 */ | |
281 typedef struct | |
282 { | |
283 U8 t1; /*< 0: 1> reduced frame number modula 32 */ | |
284 U8 t2; /*< 1: 1> reduced frame number modula 26 */ | |
285 U8 t3; /*< 2: 1> reduced frame number modula 51 */ | |
286 U8 _align0; /*< 3: 1> alignment */ | |
287 } T_frame_no; | |
288 #endif | |
289 | |
290 #ifndef __T_meas_results__ | |
291 #define __T_meas_results__ | |
292 /* | |
293 * neighbourcell measurement results | |
294 * CCDGEN:WriteStruct_Count==1599 | |
295 */ | |
296 typedef struct | |
297 { | |
298 U16 arfcn; /*< 0: 2> channel number */ | |
299 U8 rx_lev; /*< 2: 1> received field strength */ | |
300 U8 _align0; /*< 3: 1> alignment */ | |
301 } T_meas_results; | |
302 #endif | |
303 | |
304 #ifndef __T_eotd_sc_res__ | |
305 #define __T_eotd_sc_res__ | |
306 /* | |
307 * EOTD SC Results at start of measurement | |
308 * CCDGEN:WriteStruct_Count==1600 | |
309 */ | |
310 typedef struct | |
311 { | |
312 U8 sb_flag; /*< 0: 1> Valid flag */ | |
313 U8 bsic; /*< 1: 1> base station identification code */ | |
314 U16 arfcn; /*< 2: 2> channel number */ | |
315 S16 eotd_crosscor[XCOR_NO]; /*< 4: 36> Cross correlation */ | |
316 U32 d_eotd_nrj; /*< 40: 4> Sum of Amplitudes */ | |
317 U32 time_tag; /*< 44: 4> Time tag */ | |
318 } T_eotd_sc_res; | |
319 #endif | |
320 | |
321 /* | |
322 * EOTD SC Results at stop of measurement | |
323 * CCDGEN:WriteStruct_Count==1601 | |
324 */ | |
325 #ifndef __T_eotd_sc_res1__ | |
326 #define __T_eotd_sc_res1__ | |
327 typedef T_eotd_sc_res T_eotd_sc_res1; | |
328 #endif | |
329 /* | |
330 * EOTD NC Results | |
331 * CCDGEN:WriteStruct_Count==1602 | |
332 */ | |
333 #ifndef __T_eotd_nc_res__ | |
334 #define __T_eotd_nc_res__ | |
335 typedef T_eotd_sc_res T_eotd_nc_res; | |
336 #endif | |
337 #ifndef __T_ncell_eotd__ | |
338 #define __T_ncell_eotd__ | |
339 /* | |
340 * Parameters of a neighbour cell | |
341 * CCDGEN:WriteStruct_Count==1603 | |
342 */ | |
343 typedef struct | |
344 { | |
345 U16 arfcn; /*< 0: 2> channel number */ | |
346 U8 bsic; /*< 2: 1> base station identification code */ | |
347 U8 mfrm_offset; /*< 3: 1> multiframe offset */ | |
348 U8 otd_type; /*< 4: 1> OTD type */ | |
349 U8 _align0; /*< 5: 1> alignment */ | |
350 U16 exp_otd; /*< 6: 2> expectedOTD */ | |
351 U8 uncertainty; /*< 8: 1> Uncertainty of expected OTD */ | |
352 U8 _align1; /*< 9: 1> alignment */ | |
353 U16 rough_rtd; /*< 10: 2> rough RTD */ | |
354 } T_ncell_eotd; | |
355 #endif | |
356 | |
357 #ifndef __T_meas_rep__ | |
358 #define __T_meas_rep__ | |
359 /* | |
360 * meas report to RR | |
361 * CCDGEN:WriteStruct_Count==1604 | |
362 */ | |
363 typedef struct | |
364 { | |
365 U16 arfcn; /*< 0: 2> channel number */ | |
366 U8 bsic; /*< 2: 1> base station identification code */ | |
367 U8 rx_lev; /*< 3: 1> received field strength */ | |
368 } T_meas_rep; | |
369 #endif | |
370 | |
371 #ifndef __T_list__ | |
372 #define __T_list__ | |
373 /* | |
374 * stores a list of frequencies | |
375 * CCDGEN:WriteStruct_Count==1605 | |
376 */ | |
377 typedef struct | |
378 { | |
379 U8 channels[LIST_MAX_SIZE]; /*< 0:128> Stores list of ARFCNS */ | |
380 } T_list; | |
381 #endif | |
382 | |
383 #ifndef __T_black_list__ | |
384 #define __T_black_list__ | |
385 /* | |
386 * Contains a separate bit map of Black Listed carries for Euro / American regions | |
387 * CCDGEN:WriteStruct_Count==1606 | |
388 */ | |
389 typedef struct | |
390 { | |
391 T_list list[MAX_REGIONS]; /*< 0:256> stores a list of frequencies */ | |
392 } T_black_list; | |
393 #endif | |
394 | |
395 #ifndef __T_white_list__ | |
396 #define __T_white_list__ | |
397 /* | |
398 * contains the bitmap of carriers present in the 'White List' | |
399 * CCDGEN:WriteStruct_Count==1607 | |
400 */ | |
401 typedef struct | |
402 { | |
403 U8 white_list_valid; /*< 0: 1> Indicates whether 'White List' is valid or not */ | |
404 U8 region; /*< 1: 1> Indicates whether 'White List'belongs to European or American region */ | |
405 U8 _align0; /*< 2: 1> alignment */ | |
406 U8 _align1; /*< 3: 1> alignment */ | |
407 T_list list; /*< 4:128> stores a list of frequencies */ | |
408 } T_white_list; | |
409 #endif | |
410 | |
411 #ifndef __T_inactive_carrier_list__ | |
412 #define __T_inactive_carrier_list__ | |
413 /* | |
414 * Contains the bitmap of inactive carriers in the current location | |
415 * CCDGEN:WriteStruct_Count==1608 | |
416 */ | |
417 typedef struct | |
418 { | |
419 T_list list[MAX_REGIONS]; /*< 0:256> stores a list of frequencies */ | |
420 } T_inactive_carrier_list; | |
421 #endif | |
422 | |
423 | |
424 /* | |
425 * End of substructure section, begin of primitive definition section | |
426 */ | |
427 | |
428 #ifndef __T_MPH_POWER_REQ__ | |
429 #define __T_MPH_POWER_REQ__ | |
430 /* | |
431 * | |
432 * CCDGEN:WriteStruct_Count==1610 | |
433 */ | |
434 typedef struct | |
435 { | |
436 U8 pch_interrupt; /*< 0: 1> PCH Interrupt */ | |
437 U8 freq_bands; /*< 1: 1> Bitmap of frequency bands */ | |
438 U8 search_mode; /*< 2: 1> Basic Element */ | |
439 U8 lower_rxlevel_threshold[MAX_NUM_BANDS]; /*< 3: 5> lower rxlevel thershold for GSM channels */ | |
440 T_black_list black_list; /*< 8:256> Contains a separate bit map of Black Listed carries for Euro / American regions */ | |
441 T_white_list white_list; /*<264:132> contains the bitmap of carriers present in the 'White List' */ | |
442 } T_MPH_POWER_REQ; | |
443 #endif | |
444 | |
445 #ifndef __T_MPH_POWER_CNF__ | |
446 #define __T_MPH_POWER_CNF__ | |
447 /* | |
448 * | |
449 * CCDGEN:WriteStruct_Count==1611 | |
450 */ | |
451 typedef struct | |
452 { | |
453 U8 num_of_chan; /*< 0: 1> Number of detected channels */ | |
454 U8 num_of_white_list_chan; /*< 1: 1> The number of 'White List'carriers included in the list */ | |
455 U16 arfcn[MAX_CHANNELS]; /*< 2:320> channel number */ | |
456 U8 rx_lev[MAX_CHANNELS]; /*<322:160> received field strength */ | |
457 U8 _align0; /*<482: 1> alignment */ | |
458 U8 _align1; /*<483: 1> alignment */ | |
459 T_inactive_carrier_list inactive_carrier_list; /*<484:256> Contains the bitmap of inactive carriers in the current location */ | |
460 } T_MPH_POWER_CNF; | |
461 #endif | |
462 | |
463 #ifndef __T_MPH_BSIC_REQ__ | |
464 #define __T_MPH_BSIC_REQ__ | |
465 /* | |
466 * | |
467 * CCDGEN:WriteStruct_Count==1612 | |
468 */ | |
469 typedef struct | |
470 { | |
471 U16 arfcn; /*< 0: 2> channel number */ | |
472 U8 _align0; /*< 2: 1> alignment */ | |
473 U8 _align1; /*< 3: 1> alignment */ | |
474 } T_MPH_BSIC_REQ; | |
475 #endif | |
476 | |
477 #ifndef __T_MPH_BSIC_CNF__ | |
478 #define __T_MPH_BSIC_CNF__ | |
479 /* | |
480 * | |
481 * CCDGEN:WriteStruct_Count==1613 | |
482 */ | |
483 typedef struct | |
484 { | |
485 U16 arfcn; /*< 0: 2> channel number */ | |
486 U8 bsic; /*< 2: 1> base station identification code */ | |
487 U8 cs; /*< 3: 1> cause */ | |
488 } T_MPH_BSIC_CNF; | |
489 #endif | |
490 | |
491 #ifndef __T_MPH_UNITDATA_IND__ | |
492 #define __T_MPH_UNITDATA_IND__ | |
493 /* | |
494 * | |
495 * CCDGEN:WriteStruct_Count==1614 | |
496 */ | |
497 typedef struct | |
498 { | |
499 U16 arfcn; /*< 0: 2> channel number */ | |
500 U8 _align0; /*< 2: 1> alignment */ | |
501 U8 _align1; /*< 3: 1> alignment */ | |
502 U32 fn; /*< 4: 4> full frame number; format: absolute frame number */ | |
503 T_sdu sdu; /*< 8: ? > Service Data Unit */ | |
504 } T_MPH_UNITDATA_IND; | |
505 #endif | |
506 | |
507 #ifndef __T_MPH_RANDOM_ACCESS_REQ__ | |
508 #define __T_MPH_RANDOM_ACCESS_REQ__ | |
509 /* | |
510 * | |
511 * CCDGEN:WriteStruct_Count==1615 | |
512 */ | |
513 typedef struct | |
514 { | |
515 T_send_mode send_mode; /*< 0: 20> RACH sending mode */ | |
516 } T_MPH_RANDOM_ACCESS_REQ; | |
517 #endif | |
518 | |
519 #ifndef __T_MPH_RANDOM_ACCESS_CNF__ | |
520 #define __T_MPH_RANDOM_ACCESS_CNF__ | |
521 /* | |
522 * | |
523 * CCDGEN:WriteStruct_Count==1616 | |
524 */ | |
525 typedef struct | |
526 { | |
527 T_frame_no frame_no; /*< 0: 4> reduced frame number */ | |
528 } T_MPH_RANDOM_ACCESS_CNF; | |
529 #endif | |
530 | |
531 #ifndef __T_MPH_IDLE_REQ__ | |
532 #define __T_MPH_IDLE_REQ__ | |
533 /* | |
534 * | |
535 * CCDGEN:WriteStruct_Count==1617 | |
536 */ | |
537 typedef struct | |
538 { | |
539 U8 mod; /*< 0: 1> idle / dedicated mode scenario */ | |
540 U8 _align0; /*< 1: 1> alignment */ | |
541 U16 arfcn; /*< 2: 2> channel number */ | |
542 U8 ext_bcch; /*< 4: 1> unused, reserved */ | |
543 U8 comb_ccch; /*< 5: 1> extended BCCH listening */ | |
544 U8 tn; /*< 6: 1> timeslot number */ | |
545 U8 dlt; /*< 7: 1> downlink initial value */ | |
546 U8 pg; /*< 8: 1> paging group */ | |
547 U8 bs_ag_blocks_res; /*< 9: 1> blocks reserved for AGCH */ | |
548 U8 bs_pa_mfrms; /*< 10: 1> Multiframe Period */ | |
549 U8 power; /*< 11: 1> transmission power level */ | |
550 U8 ncc_permitted; /*< 12: 1> NCC permitted bitmap */ | |
551 U8 reorg_only; /*< 13: 1> specifies if reorg should be used */ | |
552 U8 eotd_avail; /*< 14: 1> eotd avail */ | |
553 U8 gprs_support; /*< 15: 1> GPRS */ | |
554 } T_MPH_IDLE_REQ; | |
555 #endif | |
556 | |
557 #ifndef __T_MPH_MEASUREMENT_IND__ | |
558 #define __T_MPH_MEASUREMENT_IND__ | |
559 /* | |
560 * | |
561 * CCDGEN:WriteStruct_Count==1618 | |
562 */ | |
563 typedef struct | |
564 { | |
565 U16 arfcn; /*< 0: 2> channel number */ | |
566 U8 rx_lev_full; /*< 2: 1> received field strength */ | |
567 U8 rx_lev_sub; /*< 3: 1> received field strength */ | |
568 U8 rx_qual_full; /*< 4: 1> received quality */ | |
569 U8 rx_qual_sub; /*< 5: 1> received quality */ | |
570 U8 dtx; /*< 6: 1> discontinuous transmission */ | |
571 U8 _align0; /*< 7: 1> alignment */ | |
572 U16 otd; /*< 8: 2> timing advance */ | |
573 U8 valid; /*< 10: 1> valid flag */ | |
574 U8 _align1; /*< 11: 1> alignment */ | |
575 U16 fn_offset; /*< 12: 2> TDMA Frame Offset */ | |
576 U8 _align2; /*< 14: 1> alignment */ | |
577 U8 _align3; /*< 15: 1> alignment */ | |
578 T_ncells ncells; /*< 16: 76> neighbour cell measurement results */ | |
579 U8 gprs_sync; /*< 92: 1> specifies sync results */ | |
580 U8 bcch_rxlev_of_sc; /*< 93: 1> This is the rxlev of BCCH channel. Used only in dedicated mode */ | |
581 U8 _align4; /*< 94: 1> alignment */ | |
582 U8 _align5; /*< 95: 1> alignment */ | |
583 } T_MPH_MEASUREMENT_IND; | |
584 #endif | |
585 | |
586 #ifndef __T_MPH_NEIGHBOURCELL_REQ__ | |
587 #define __T_MPH_NEIGHBOURCELL_REQ__ | |
588 /* | |
589 * | |
590 * CCDGEN:WriteStruct_Count==1619 | |
591 */ | |
592 typedef struct | |
593 { | |
594 U8 multi_band; /*< 0: 1> multiband report parameter */ | |
595 U8 _align0; /*< 1: 1> alignment */ | |
596 U16 arfcn[MAX_NEIGHBOURCELLS]; /*< 2: 66> channel number */ | |
597 U8 sync_only; /*< 68: 1> specifies if only sync is used */ | |
598 U8 _align1; /*< 69: 1> alignment */ | |
599 U8 _align2; /*< 70: 1> alignment */ | |
600 U8 _align3; /*< 71: 1> alignment */ | |
601 } T_MPH_NEIGHBOURCELL_REQ; | |
602 #endif | |
603 | |
604 #ifndef __T_MPH_DEDICATED_REQ__ | |
605 #define __T_MPH_DEDICATED_REQ__ | |
606 /* | |
607 * | |
608 * CCDGEN:WriteStruct_Count==1620 | |
609 */ | |
610 typedef struct | |
611 { | |
612 U8 mod; /*< 0: 1> idle / dedicated mode scenario */ | |
613 U8 _align0; /*< 1: 1> alignment */ | |
614 U8 _align1; /*< 2: 1> alignment */ | |
615 U8 _align2; /*< 3: 1> alignment */ | |
616 T_start start; /*< 4: 4> starting time */ | |
617 T_ch_type ch_type; /*< 8:136> channel type configuration */ | |
618 T_ch_type2 ch_type2; /*<144:136> channel type */ | |
619 U16 arfcn; /*<280: 2> channel number */ | |
620 U8 bsic; /*<282: 1> base station identification code */ | |
621 U8 _align3; /*<283: 1> alignment */ | |
622 T_ho_param ho_param; /*<284: 4> handover parameter */ | |
623 T_tr_para tr_para; /*<288: 8> transmission parameter */ | |
624 T_ciph ciph; /*<296: 12> ciphering parameters */ | |
625 T_amr_conf amr_conf; /*<308: 20> Parameters for AMR */ | |
626 } T_MPH_DEDICATED_REQ; | |
627 #endif | |
628 | |
629 #ifndef __T_MPH_DEDICATED_CNF__ | |
630 #define __T_MPH_DEDICATED_CNF__ | |
631 /* | |
632 * | |
633 * CCDGEN:WriteStruct_Count==1621 | |
634 */ | |
635 typedef struct | |
636 { | |
637 U8 dedi_res; /*< 0: 1> dedicated configuration result */ | |
638 U8 _align0; /*< 1: 1> alignment */ | |
639 U8 _align1; /*< 2: 1> alignment */ | |
640 U8 _align2; /*< 3: 1> alignment */ | |
641 } T_MPH_DEDICATED_CNF; | |
642 #endif | |
643 | |
644 #ifndef __T_MPH_DEDICATED_FAIL_REQ__ | |
645 #define __T_MPH_DEDICATED_FAIL_REQ__ | |
646 /* | |
647 * | |
648 * CCDGEN:WriteStruct_Count==1622 | |
649 */ | |
650 typedef struct | |
651 { | |
652 U8 param; /*< 0: 1> dummy parameter */ | |
653 U8 _align0; /*< 1: 1> alignment */ | |
654 U8 _align1; /*< 2: 1> alignment */ | |
655 U8 _align2; /*< 3: 1> alignment */ | |
656 } T_MPH_DEDICATED_FAIL_REQ; | |
657 #endif | |
658 | |
659 #ifndef __T_MPH_DEDICATED_FAIL_CNF__ | |
660 #define __T_MPH_DEDICATED_FAIL_CNF__ | |
661 /* | |
662 * | |
663 * CCDGEN:WriteStruct_Count==1623 | |
664 */ | |
665 typedef struct | |
666 { | |
667 U8 param; /*< 0: 1> dummy parameter */ | |
668 U8 _align0; /*< 1: 1> alignment */ | |
669 U8 _align1; /*< 2: 1> alignment */ | |
670 U8 _align2; /*< 3: 1> alignment */ | |
671 } T_MPH_DEDICATED_FAIL_CNF; | |
672 #endif | |
673 | |
674 #ifndef __T_MPH_CIPHERING_REQ__ | |
675 #define __T_MPH_CIPHERING_REQ__ | |
676 /* | |
677 * | |
678 * CCDGEN:WriteStruct_Count==1624 | |
679 */ | |
680 typedef struct | |
681 { | |
682 T_ciph ciph; /*< 0: 12> ciphering parameters */ | |
683 } T_MPH_CIPHERING_REQ; | |
684 #endif | |
685 | |
686 #ifndef __T_MPH_FREQ_REDEF_REQ__ | |
687 #define __T_MPH_FREQ_REDEF_REQ__ | |
688 /* | |
689 * | |
690 * CCDGEN:WriteStruct_Count==1625 | |
691 */ | |
692 typedef struct | |
693 { | |
694 T_start start; /*< 0: 4> starting time */ | |
695 T_ch_type ch_type; /*< 4:136> channel type configuration */ | |
696 } T_MPH_FREQ_REDEF_REQ; | |
697 #endif | |
698 | |
699 #ifndef __T_MPH_CHANNEL_MODE_REQ__ | |
700 #define __T_MPH_CHANNEL_MODE_REQ__ | |
701 /* | |
702 * | |
703 * CCDGEN:WriteStruct_Count==1626 | |
704 */ | |
705 typedef struct | |
706 { | |
707 U8 mode; /*< 0: 1> channel mode */ | |
708 U8 ch; /*< 1: 1> channel type */ | |
709 U8 _align0; /*< 2: 1> alignment */ | |
710 U8 _align1; /*< 3: 1> alignment */ | |
711 T_amr_conf amr_conf; /*< 4: 20> Parameters for AMR */ | |
712 } T_MPH_CHANNEL_MODE_REQ; | |
713 #endif | |
714 | |
715 #ifndef __T_MPH_ERROR_IND__ | |
716 #define __T_MPH_ERROR_IND__ | |
717 /* | |
718 * | |
719 * CCDGEN:WriteStruct_Count==1627 | |
720 */ | |
721 typedef struct | |
722 { | |
723 U8 cs; /*< 0: 1> cause */ | |
724 U8 _align0; /*< 1: 1> alignment */ | |
725 U16 arfcn; /*< 2: 2> channel number */ | |
726 } T_MPH_ERROR_IND; | |
727 #endif | |
728 | |
729 #ifndef __T_MPH_DEACTIVATE_REQ__ | |
730 #define __T_MPH_DEACTIVATE_REQ__ | |
731 /* | |
732 * | |
733 * CCDGEN:WriteStruct_Count==1628 | |
734 */ | |
735 typedef struct | |
736 { | |
737 U8 param; /*< 0: 1> dummy parameter */ | |
738 U8 _align0; /*< 1: 1> alignment */ | |
739 U8 _align1; /*< 2: 1> alignment */ | |
740 U8 _align2; /*< 3: 1> alignment */ | |
741 } T_MPH_DEACTIVATE_REQ; | |
742 #endif | |
743 | |
744 #ifndef __T_MPH_CLASSMARK_REQ__ | |
745 #define __T_MPH_CLASSMARK_REQ__ | |
746 /* | |
747 * | |
748 * CCDGEN:WriteStruct_Count==1629 | |
749 */ | |
750 typedef struct | |
751 { | |
752 T_classmark classmark; /*< 0: 4> classmark */ | |
753 } T_MPH_CLASSMARK_REQ; | |
754 #endif | |
755 | |
756 #ifndef __T_MPH_TCH_LOOP_REQ__ | |
757 #define __T_MPH_TCH_LOOP_REQ__ | |
758 /* | |
759 * | |
760 * CCDGEN:WriteStruct_Count==1630 | |
761 */ | |
762 typedef struct | |
763 { | |
764 U8 tch_loop; /*< 0: 1> TCH loop command */ | |
765 U8 _align0; /*< 1: 1> alignment */ | |
766 U8 _align1; /*< 2: 1> alignment */ | |
767 U8 _align2; /*< 3: 1> alignment */ | |
768 } T_MPH_TCH_LOOP_REQ; | |
769 #endif | |
770 | |
771 #ifndef __T_MPH_DAI_REQ__ | |
772 #define __T_MPH_DAI_REQ__ | |
773 /* | |
774 * | |
775 * CCDGEN:WriteStruct_Count==1631 | |
776 */ | |
777 typedef struct | |
778 { | |
779 U8 device; /*< 0: 1> DAI testing device */ | |
780 U8 _align0; /*< 1: 1> alignment */ | |
781 U8 _align1; /*< 2: 1> alignment */ | |
782 U8 _align2; /*< 3: 1> alignment */ | |
783 } T_MPH_DAI_REQ; | |
784 #endif | |
785 | |
786 #ifndef __T_MPH_CBCH_REQ__ | |
787 #define __T_MPH_CBCH_REQ__ | |
788 /* | |
789 * | |
790 * CCDGEN:WriteStruct_Count==1632 | |
791 */ | |
792 typedef struct | |
793 { | |
794 T_cbch cbch; /*< 0:140> cell broadcast channel */ | |
795 } T_MPH_CBCH_REQ; | |
796 #endif | |
797 | |
798 #ifndef __T_MPH_IDENTITY_REQ__ | |
799 #define __T_MPH_IDENTITY_REQ__ | |
800 /* | |
801 * | |
802 * CCDGEN:WriteStruct_Count==1633 | |
803 */ | |
804 typedef struct | |
805 { | |
806 T_mid mid; /*< 0: 40> Mobile identities */ | |
807 } T_MPH_IDENTITY_REQ; | |
808 #endif | |
809 | |
810 #ifndef __T_MPH_PAGING_IND__ | |
811 #define __T_MPH_PAGING_IND__ | |
812 /* | |
813 * | |
814 * CCDGEN:WriteStruct_Count==1634 | |
815 */ | |
816 typedef struct | |
817 { | |
818 U8 identity_type; /*< 0: 1> Identity type */ | |
819 U8 channel_needed; /*< 1: 1> Channel needed */ | |
820 U8 _align0; /*< 2: 1> alignment */ | |
821 U8 _align1; /*< 3: 1> alignment */ | |
822 } T_MPH_PAGING_IND; | |
823 #endif | |
824 | |
825 #ifndef __T_MPH_MON_CTRL_REQ__ | |
826 #define __T_MPH_MON_CTRL_REQ__ | |
827 /* | |
828 * | |
829 * CCDGEN:WriteStruct_Count==1635 | |
830 */ | |
831 typedef struct | |
832 { | |
833 U8 action; /*< 0: 1> start or stop reading of BCCH resp. CCCH */ | |
834 U8 si_to_read; /*< 1: 1> SI to read */ | |
835 U8 _align0; /*< 2: 1> alignment */ | |
836 U8 _align1; /*< 3: 1> alignment */ | |
837 } T_MPH_MON_CTRL_REQ; | |
838 #endif | |
839 | |
840 #ifndef __T_MPH_SYNC_REQ__ | |
841 #define __T_MPH_SYNC_REQ__ | |
842 /* | |
843 * | |
844 * CCDGEN:WriteStruct_Count==1636 | |
845 */ | |
846 typedef struct | |
847 { | |
848 U8 cs; /*< 0: 1> cause */ | |
849 U8 _align0; /*< 1: 1> alignment */ | |
850 U8 _align1; /*< 2: 1> alignment */ | |
851 U8 _align2; /*< 3: 1> alignment */ | |
852 } T_MPH_SYNC_REQ; | |
853 #endif | |
854 | |
855 #ifndef __T_MPH_SYNC_IND__ | |
856 #define __T_MPH_SYNC_IND__ | |
857 /* | |
858 * | |
859 * CCDGEN:WriteStruct_Count==1637 | |
860 */ | |
861 typedef struct | |
862 { | |
863 U8 cs; /*< 0: 1> cause */ | |
864 U8 _align0; /*< 1: 1> alignment */ | |
865 U16 arfcn; /*< 2: 2> channel number */ | |
866 } T_MPH_SYNC_IND; | |
867 #endif | |
868 | |
869 #ifndef __T_MPH_MEAS_ORDER_CNF__ | |
870 #define __T_MPH_MEAS_ORDER_CNF__ | |
871 /* | |
872 * | |
873 * CCDGEN:WriteStruct_Count==1638 | |
874 */ | |
875 typedef struct | |
876 { | |
877 U8 no_of_ncells; /*< 0: 1> Number of ncells */ | |
878 U8 _align0; /*< 1: 1> alignment */ | |
879 U8 _align1; /*< 2: 1> alignment */ | |
880 U8 _align2; /*< 3: 1> alignment */ | |
881 T_meas_results meas_results[MAX_NEIGHBOURCELLS]; /*< 4:132> neighbourcell measurement results */ | |
882 } T_MPH_MEAS_ORDER_CNF; | |
883 #endif | |
884 | |
885 #ifndef __T_MPH_EMO_REQ__ | |
886 #define __T_MPH_EMO_REQ__ | |
887 /* | |
888 * | |
889 * CCDGEN:WriteStruct_Count==1639 | |
890 */ | |
891 typedef struct | |
892 { | |
893 U8 ba_id; /*< 0: 1> link frequency list and measurement report */ | |
894 U8 c_arfcn; /*< 1: 1> counter */ | |
895 U16 arfcn[MAX_EMO_CHANNELS]; /*< 2: 42> channel number */ | |
896 } T_MPH_EMO_REQ; | |
897 #endif | |
898 | |
899 #ifndef __T_MPH_EMO_MEAS_IND__ | |
900 #define __T_MPH_EMO_MEAS_IND__ | |
901 /* | |
902 * | |
903 * CCDGEN:WriteStruct_Count==1640 | |
904 */ | |
905 typedef struct | |
906 { | |
907 U8 ba_id; /*< 0: 1> link frequency list and measurement report */ | |
908 U8 dtx; /*< 1: 1> discontinuous transmission */ | |
909 U8 _align0; /*< 2: 1> alignment */ | |
910 U8 c_meas_results; /*< 3: 1> counter */ | |
911 T_meas_results meas_results[MAX_EMO_CHANNELS + 1]; /*< 4: 88> neighbourcell measurement results */ | |
912 } T_MPH_EMO_MEAS_IND; | |
913 #endif | |
914 | |
915 #ifndef __T_MPH_EXT_MEAS_REQ__ | |
916 #define __T_MPH_EXT_MEAS_REQ__ | |
917 /* | |
918 * | |
919 * CCDGEN:WriteStruct_Count==1641 | |
920 */ | |
921 typedef struct | |
922 { | |
923 U8 pch_interrupt; /*< 0: 1> PCH Interrupt */ | |
924 U8 freq_bands; /*< 1: 1> Bitmap of frequency bands */ | |
925 U8 num_of_chan; /*< 2: 1> Number of detected channels */ | |
926 U8 _align0; /*< 3: 1> alignment */ | |
927 U16 arfcn[MAX_CHANNELS]; /*< 4:320> channel number */ | |
928 } T_MPH_EXT_MEAS_REQ; | |
929 #endif | |
930 | |
931 #ifndef __T_MPH_EXT_MEAS_CNF__ | |
932 #define __T_MPH_EXT_MEAS_CNF__ | |
933 /* | |
934 * | |
935 * CCDGEN:WriteStruct_Count==1642 | |
936 */ | |
937 typedef struct | |
938 { | |
939 U8 num_of_chan; /*< 0: 1> Number of detected channels */ | |
940 U8 num_of_white_list_chan; /*< 1: 1> The number of 'White List'carriers included in the list */ | |
941 U16 arfcn[MAX_CHANNELS]; /*< 2:320> channel number */ | |
942 U8 rx_lev[MAX_CHANNELS]; /*<322:160> received field strength */ | |
943 U8 _align0; /*<482: 1> alignment */ | |
944 U8 _align1; /*<483: 1> alignment */ | |
945 T_inactive_carrier_list inactive_carrier_list; /*<484:256> Contains the bitmap of inactive carriers in the current location */ | |
946 } T_MPH_EXT_MEAS_CNF; | |
947 #endif | |
948 | |
949 #ifndef __T_MPH_NCELL_POS_REQ__ | |
950 #define __T_MPH_NCELL_POS_REQ__ | |
951 /* | |
952 * | |
953 * CCDGEN:WriteStruct_Count==1643 | |
954 */ | |
955 typedef struct | |
956 { | |
957 U16 req_id; /*< 0: 2> Request Identifier */ | |
958 U8 _align0; /*< 2: 1> alignment */ | |
959 U8 c_ncell_eotd; /*< 3: 1> counter */ | |
960 T_ncell_eotd ncell_eotd[MAX_NCELL_EOTD_ALR]; /*< 4:180> Parameters of a neighbour cell */ | |
961 } T_MPH_NCELL_POS_REQ; | |
962 #endif | |
963 | |
964 #ifndef __T_MPH_NCELL_POS_IND__ | |
965 #define __T_MPH_NCELL_POS_IND__ | |
966 /* | |
967 * | |
968 * CCDGEN:WriteStruct_Count==1644 | |
969 */ | |
970 typedef struct | |
971 { | |
972 U16 req_id; /*< 0: 2> Request Identifier */ | |
973 U8 eotd_res; /*< 2: 1> EOTD Result */ | |
974 U8 ta; /*< 3: 1> timing advance */ | |
975 U32 fn; /*< 4: 4> full frame number; format: absolute frame number */ | |
976 T_eotd_sc_res eotd_sc_res; /*< 8: 48> EOTD SC Results at start of measurement */ | |
977 T_eotd_sc_res1 eotd_sc_res1; /*< 56: 48> EOTD SC Results at stop of measurement */ | |
978 U8 _align0; /*<104: 1> alignment */ | |
979 U8 _align1; /*<105: 1> alignment */ | |
980 U8 _align2; /*<106: 1> alignment */ | |
981 U8 c_eotd_nc_res; /*<107: 1> counter */ | |
982 T_eotd_nc_res eotd_nc_res[MAX_NCELL_EOTD_RES]; /*<108:576> EOTD NC Results */ | |
983 } T_MPH_NCELL_POS_IND; | |
984 #endif | |
985 | |
986 #ifndef __T_MPH_CLEAN_BUF_REQ__ | |
987 #define __T_MPH_CLEAN_BUF_REQ__ | |
988 /* | |
989 * | |
990 * CCDGEN:WriteStruct_Count==1645 | |
991 */ | |
992 typedef struct | |
993 { | |
994 U16 si_to_clean; /*< 0: 2> SI to clean */ | |
995 U8 _align0; /*< 2: 1> alignment */ | |
996 U8 _align1; /*< 3: 1> alignment */ | |
997 } T_MPH_CLEAN_BUF_REQ; | |
998 #endif | |
999 | |
1000 #ifndef __T_MPH_STOP_DEDICATED_REQ__ | |
1001 #define __T_MPH_STOP_DEDICATED_REQ__ | |
1002 /* | |
1003 * | |
1004 * CCDGEN:WriteStruct_Count==1646 | |
1005 */ | |
1006 typedef struct | |
1007 { | |
1008 U8 param; /*< 0: 1> dummy parameter */ | |
1009 U8 _align0; /*< 1: 1> alignment */ | |
1010 U8 _align1; /*< 2: 1> alignment */ | |
1011 U8 _align2; /*< 3: 1> alignment */ | |
1012 } T_MPH_STOP_DEDICATED_REQ; | |
1013 #endif | |
1014 | |
1015 #ifndef __T_MPH_STOP_DEDICATED_CNF__ | |
1016 #define __T_MPH_STOP_DEDICATED_CNF__ | |
1017 /* | |
1018 * | |
1019 * CCDGEN:WriteStruct_Count==1647 | |
1020 */ | |
1021 typedef struct | |
1022 { | |
1023 U8 param; /*< 0: 1> dummy parameter */ | |
1024 U8 _align0; /*< 1: 1> alignment */ | |
1025 U8 _align1; /*< 2: 1> alignment */ | |
1026 U8 _align2; /*< 3: 1> alignment */ | |
1027 } T_MPH_STOP_DEDICATED_CNF; | |
1028 #endif | |
1029 | |
1030 #ifndef __T_MPH_MEAS_REP_REQ__ | |
1031 #define __T_MPH_MEAS_REP_REQ__ | |
1032 /* | |
1033 * | |
1034 * CCDGEN:WriteStruct_Count==1648 | |
1035 */ | |
1036 typedef struct | |
1037 { | |
1038 U8 cause; /*< 0: 1> Meas report */ | |
1039 U8 _align0; /*< 1: 1> alignment */ | |
1040 U8 _align1; /*< 2: 1> alignment */ | |
1041 U8 _align2; /*< 3: 1> alignment */ | |
1042 } T_MPH_MEAS_REP_REQ; | |
1043 #endif | |
1044 | |
1045 #ifndef __T_MPH_MEAS_REP_CNF__ | |
1046 #define __T_MPH_MEAS_REP_CNF__ | |
1047 /* | |
1048 * | |
1049 * CCDGEN:WriteStruct_Count==1649 | |
1050 */ | |
1051 typedef struct | |
1052 { | |
1053 T_meas_rep meas_rep[RR_ALR_MEAS_REPORT_SIZE]; /*< 0: 28> meas report to RR */ | |
1054 } T_MPH_MEAS_REP_CNF; | |
1055 #endif | |
1056 | |
1057 | |
1058 #include "CDG_LEAVE.h" | |
1059 | |
1060 | |
1061 #endif |