comparison gsm-fw/cdg/cdginc-locosto/p_mphc.val @ 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_mphc.val |
5 | SOURCE : "sap\mphc.pdf" |
6 | LastModified : "2003-04-03" |
7 | IdAndVersion : "10.10.10.011" |
8 | SrcFileTime : "Thu Nov 29 09:49:44 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: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_MPHC_VAL
24 #define P_MPHC_VAL
25
26
27 #define CDG_ENTER__P_MPHC_VAL
28
29 #define CDG_ENTER__FILENAME _P_MPHC_VAL
30 #define CDG_ENTER__P_MPHC_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_MPHC_VAL__LAST_MODIFIED _2003_04_03
32 #define CDG_ENTER__P_MPHC_VAL__ID_AND_VERSION _10_10_10_011
33
34 #define CDG_ENTER__P_MPHC_VAL__SRC_FILE_TIME _Thu_Nov_29_09_49_44_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_MPHC_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_bs_pa_mfrms
45 */
46 #define VAL_BS_PA_MFRMS___2 (0x2) /* 2 Multiframe Periods */
47 #define VAL_BS_PA_MFRMS___3 (0x3) /* 3 Multiframe Periods */
48 #define VAL_BS_PA_MFRMS___4 (0x4) /* 4 Multiframe Periods */
49 #define VAL_BS_PA_MFRMS___5 (0x5) /* 5 Multiframe Periods */
50 #define VAL_BS_PA_MFRMS___6 (0x6) /* 6 Multiframe Periods */
51 #define VAL_BS_PA_MFRMS___7 (0x7) /* 7 Multiframe Periods */
52 #define VAL_BS_PA_MFRMS___8 (0x8) /* 8 Multiframe Periods */
53 #define VAL_BS_PA_MFRMS___9 (0x9) /* 9 Multiframe Periods */
54
55 /*
56 * Value constants for VAL_bcch_combined
57 */
58 #define COMB_CCCH_NOT_COMB (0x0) /* CCCH not combined with SDCCH */
59 #define COMB_CCCH_COMB (0x1) /* CCCH combined with SDCCH */
60
61 /*
62 * Value constants for VAL_ccch_group
63 */
64 #define CCCH_GROUP_TS0 (0x0) /* equal to timeslot 0 */
65 #define CCCH_GROUP_TS2 (0x1) /* equal to timeslot 2 */
66 #define CCCH_GROUP_TS4 (0x2) /* equal to timeslot 4 */
67 #define CCCH_GROUP_TS6 (0x3) /* equal to timeslot 6 */
68
69 /*
70 * Value constants for VAL_page_block_index
71 */
72
73 /*
74 * Value constants for VAL_page_mode
75 */
76 #define PGM_NORMAL (0x0) /* Use normal paging */
77 #define PGM_EXTENDED (0x1) /* Use extended paging */
78 #define PGM_REORG (0x2) /* use reorganise paging */
79
80 /*
81 * Value constants for VAL_modulus
82 */
83
84 /*
85 * Value constants for VAL_radio_freq
86 */
87
88 // VALTAB-FF: !TI_DUAL_MODE
89 /*
90 * Value constants for VAL_l2_channel
91 */
92 #define L2_CHANNEL_SACCH (0x1) /* SACCH block */
93 #define L2_CHANNEL_SDCCH (0x2) /* SDCCH block */
94 #define L2_CHANNEL_FACCH_H (0x3) /* FACCH halfrate block */
95 #define L2_CHANNEL_FACCH_F (0x4) /* FACCH fullrate block */
96 #define L2_CHANNEL_CCCH (0x5) /* CCCH block */
97 #define L2_CHANNEL_NBCCH (0x6) /* normal BCCH block */
98 #define L2_CHANNEL_PCH (0x7) /* PCH block */
99 #define L2_CHANNEL_EPCH (0x8) /* extended PCH block */
100 #define L2_CHANNEL_CBCH (0x9) /* CBCH block */
101 #define L2_CHANNEL_EBCCH (0xa) /* extended BCCH */
102
103 /*
104 * Value constants for VAL_error_flag
105 */
106 #define VALID_BLOCK (0x0) /* valid block received */
107 #define INVALID_BLOCK (0x1) /* invalid block received */
108
109 /*
110 * Value constants for VAL_tc
111 */
112
113 /*
114 * Value constants for VAL_fn_offset
115 */
116
117 /*
118 * Value constants for VAL_time_alignment
119 */
120
121 /*
122 * Value constants for VAL_timing_validity
123 */
124 #define TV_INVALID_TIMING_INFO (0x0) /* timing info shall not be used, do full FB and SB detection */
125 #define TV_APPROX_TIMING_INFO (0x1) /* timing info may be used, do full FB and SB detection */
126 #define TV_VALID_TIMING_INFO (0x2) /* read SB based based on timing info (only for ncell) */
127 // VAL-FF: REL99 AND TI_PS_FF_RTD
128 #define TV_RTD_TIMING_INFO (0x3) /* Timing information is based on Real Time Difference information provided by the network for synchronized and non synchronized neighbor cell. Layer 1 shall carry out a full FB and SB detect but may delay the opening of the receive window based upon the fn_offset, time_alignment infor-mation supplied and the margin time due to un-known of exact OTD of the neighbor cell. */
129
130 /*
131 * Value constants for VAL_search_mode
132 */
133 #define SM_WIDE_MODE (0x0) /* wideband capture and open-loop afc algorithm */
134 #define SM_NARROW_MODE (0x1) /* narrowband capture and open-loop afc algorithm */
135
136 /*
137 * Value constants for VAL_bsic
138 */
139
140 /*
141 * Value constants for VAL_tsc
142 */
143
144 /*
145 * Value constants for VAL_bcch_blocks_required
146 */
147 #define SI_NBLOCK_0 (0x1) /* TC 0 normal */
148 #define SI_NBLOCK_1 (0x2) /* TC 1 normal */
149 #define SI_NBLOCK_2 (0x4) /* TC 2 normal */
150 #define SI_NBLOCK_3 (0x8) /* TC 3 normal */
151 #define SI_NBLOCK_4 (0x10) /* TC 4 normal */
152 #define SI_NBLOCK_5 (0x20) /* TC 5 normal */
153 #define SI_NBLOCK_6 (0x40) /* TC 6 normal */
154 #define SI_NBLOCK_7 (0x80) /* TC 7 normal */
155 #define SI_EBLOCK_0 (0x100) /* TC 0 extended */
156 #define SI_EBLOCK_1 (0x200) /* TC 1 extended */
157 #define SI_EBLOCK_2 (0x400) /* TC 2 extended */
158 #define SI_EBLOCK_3 (0x800) /* TC 3 extended */
159 #define SI_EBLOCK_4 (0x1000) /* TC 4 extended */
160 #define SI_EBLOCK_5 (0x2000) /* TC 5 extended */
161 #define SI_EBLOCK_6 (0x4000) /* TC 6 extended */
162 #define SI_EBLOCK_7 (0x8000) /* TC 7 extended */
163 #define NCELL_BCCH_SI_2 (0x2) /* PLMN Search */
164 #define NCELL_BCCH_SI_3_4 (0xcc) /* Ncell BCCH */
165 #define NCELL_BCCH_SI_2_3_4 (0xce) /* PLMN Search */
166 #define NCELL_BCCH_SI_3_7_8 (0x8844) /* Ncell BCCH */
167
168 /*
169 * Value constants for VAL_channel_type
170 */
171 #define CH_TCH_F (0x1) /* TCH/F */
172 #define CH_TCH_H (0x2) /* TCH/H */
173 #define CH_SDCCH_4 (0x3) /* SDCCH/4 */
174 #define CH_SDCCH_8 (0x4) /* SDCCH/8 */
175
176 /*
177 * Value constants for VAL_timeslot_no
178 */
179
180 /*
181 * Value constants for VAL_h
182 */
183 #define NO_HOPPING (0x0) /* no hopping */
184 #define HOPPING (0x1) /* hopping */
185
186 /*
187 * Value constants for VAL_hsn
188 */
189
190 /*
191 * Value constants for VAL_maio
192 */
193
194 /*
195 * Value constants for VAL_cbch_select
196 */
197 #define CBCH_READ_EXT (0x1) /* read extended CBCH */
198 #define CBCH_READ_NORM (0x0) /* read normal CBCH */
199
200 /*
201 * Value constants for VAL_schedule_length
202 */
203 #define CBCH_NO_SCHED (0x0) /* no scheduling provided */
204
205 /*
206 * Value constants for VAL_tb_bitmap
207 */
208 #define CBCH_NORM_BLOCK2 (0x1) /* norm block 2 */
209 #define CBCH_NORM_BLOCK3 (0x2) /* norm block 3 */
210 #define CBCH_NORM_BLOCK4 (0x4) /* norm block 4 */
211 #define CBCH_EXT_BLOCK2 (0x8) /* ext block 2 */
212 #define CBCH_EXT_BLOCK3 (0x10) /* ext block 3 */
213 #define CBCH_EXT_BLOCK4 (0x20) /* ext block 4 */
214 #define CBCH_NORM_BLOCK234 (0x7) /* request all blocks */
215 #define CBCH_EXT_BLOCK234 (0x38) /* all ext blocks */
216
217 /*
218 * Value constants for VAL_normal_cbch
219 */
220 #define CBCH_DONT_STOP (0x0) /* dont stop cbch */
221 #define CBCH_STOP (0x1) /* stop cbch */
222
223 /*
224 * Value constants for VAL_txpwr
225 */
226
227 /*
228 * Value constants for VAL_powerclass_gsm
229 */
230 #define POW_CLASS_1 (0x1) /* Class 1 */
231 #define POW_CLASS_2 (0x2) /* Class 2 */
232 #define POW_CLASS_3 (0x3) /* Class 3 */
233 #define POW_CLASS_4 (0x4) /* Class 4 */
234 #define POW_CLASS_5 (0x5) /* Class 5 */
235
236 /*
237 * Value constants for VAL_dtx_allowed
238 */
239 #define DTX_NOTALLOWED (0x0) /* DTX is not allowed */
240 #define DTX_ALLOWED (0x1) /* DTX is allowed */
241
242 /*
243 * Value constants for VAL_pwrc
244 */
245 #define PWRC_NOT_SET (0x0) /* PWRC is not set */
246 #define PWRC_SET (0x1) /* PWRC is set */
247
248 /*
249 * Value constants for VAL_channel_mode
250 */
251 #define CM_SIGNALLING_ONLY (0x0) /* signalling only */
252 #define CM_TCH_FS (0x1) /* TCH full rate speech */
253 #define CM_TCH_HS (0x2) /* TCH half rate speech */
254 #define CM_TCH_96 (0x3) /* TCH data 9600 */
255 #define CM_TCH_F_48 (0x4) /* TCH data full rate 4800 */
256 #define CM_TCH_H_48 (0x5) /* TCH data half rate 4800 */
257 #define CM_TCH_F_24 (0x6) /* TCH data full rate 2400 */
258 #define CM_TCH_H_24 (0x7) /* TCH data half rate 2400 */
259 #define CM_TCH_EFR (0x8) /* TCH */
260 #define CM_TCH_144 (0x9) /* TCH */
261 #define CM_TCH_AHS (0xa) /* TCH AMR half rate */
262 #define CM_TCH_AFS (0xb) /* TCH AMR full rate */
263
264 /*
265 * Value constants for VAL_cipher_mode
266 */
267 #define CI_NO_CIPHERING (0x0) /* ciphering off */
268 #define CI_CIPHERING (0x1) /* ciphering on */
269
270 /*
271 * Value constants for VAL_a5_algorithm
272 */
273 #define A5_1 (0x0) /* A5/1 algorithm */
274 #define A5_2 (0x1) /* A5/2 algorithm */
275 #define A5_3 (0x2) /* A5/3 algorithm */
276 #define A5_4 (0x3) /* A5/4 algorithm */
277 #define A5_5 (0x4) /* A5/5 algorithm */
278 #define A5_6 (0x5) /* A5/6 algorithm */
279 #define A5_7 (0x6) /* A5/7 algorithm */
280
281 /*
282 * Value constants for VAL_cause
283 */
284 #define HO_COMPLETE (0x0) /* success */
285 #define HO_TIMEOUT (0x1) /* timeout */
286 // VAL-FF: REL99 AND FF_BHO
287 #define HO_SYNC_FAIL (0x2) /* BSIC error: Synchronization failure or BSIC mismatch (blind HO) */
288
289 /*
290 * Value constants for VAL_nci
291 */
292 #define HO_TA_OUT_IGNORED (0x0) /* timing advance out of range is ignored */
293 #define HO_TA_OUT_NOT_IGNORED (0x1) /* timing advance out of range is not ignored */
294
295 /*
296 * Value constants for VAL_timing_advance_valid
297 */
298 #define HO_TA_NOT_VALID (0x0) /* timing advance information is not valid */
299 #define HO_TA_VALID (0x1) /* timing advance information is valid */
300
301 /*
302 * Value constants for VAL_dtx_used
303 */
304 #define DTX_NOT_USED (0x0) /* DTX was not used */
305 #define DTX_USED (0x1) /* DTX was used */
306
307 /*
308 * Value constants for VAL_meas_valid
309 */
310 #define MEAS_ARE_NOT_VALID (0x0) /* measurement values are not valid */
311 #define MEAS_ARE_VALID (0x1) /* measurement values are valid */
312
313 /*
314 * Value constants for VAL_bcch_freq
315 */
316
317 /*
318 * Value constants for VAL_sub_channel
319 */
320 #define SUB_CH_0 (0x0) /* sub channel 0 */
321 #define SUB_CH_1 (0x1) /* sub channel 1 */
322
323 /*
324 * Value constants for VAL_frame_erasure
325 */
326 #define TCH_LOOP_A (0x0) /* TCH loop A */
327 #define TCH_LOOP_B (0x1) /* TCH loop B */
328 #define TCH_LOOP_C (0x2) /* TCH loop C */
329 #define TCH_LOOP_D (0x3) /* TCH loop D */
330 #define TCH_LOOP_E (0x4) /* TCH loop E */
331 #define TCH_LOOP_F (0x5) /* TCH loop F */
332 #define TCH_LOOP_I (0x6) /* TCH loop I */
333
334 /*
335 * Value constants for VAL_tested_device
336 */
337 #define DAI_NO_TEST (0x0) /* no test */
338 #define DAI_S_DEC (0x1) /* speech decoder */
339 #define DAI_S_COD (0x2) /* speech coder */
340 #define DAI_ACOUSTIC (0x4) /* acoustic tests */
341
342 /*
343 * Value constants for VAL_sleep_mode
344 */
345 #define NO_SLEEP (0x0) /* no sleep mode */
346 #define SMALL_SLEEP (0x1) /* small sleep mode */
347 #define BIG_SLEEP (0x2) /* big sleep mode */
348 #define DEEP_SLEEP (0x3) /* deep sleep mode */
349 #define ALL_SLEEP (0x4) /* all sleep modes */
350
351 /*
352 * Value constants for VAL_Clocks
353 */
354 #define CL_ARMIO (0x1) /* ARMIO_CLK */
355 #define CL_RIFR (0x2) /* RIF_CLKR */
356 #define CL_RIFX (0x4) /* RIF_CLKX */
357 #define CL_RIF13 (0x10) /* RIF_CLK13 */
358 #define CL_NCLK (0x20) /* UWIRE_CLK */
359 #define CL_SIM (0x40) /* SIM_CLK */
360 #define CL_TSP (0x80) /* TSP_CLK */
361 #define CL_TIMER (0x100) /* TIMER_CLK */
362 #define CL_TPU (0x200) /* TPU_CLK */
363 #define CL_UART (0x400) /* UART_CLK */
364 #define CL_SW_CLOCK (0x800) /* SWITCH_IRQ_CLK */
365
366 /*
367 * Value constants for VAL_sb_flag
368 */
369 #define NO_SB_FOUND (0x0) /* synchron burst not found (fn_offset, time_alignment and bsic are not valid) */
370 #define SB_FOUND (0x1) /* synchron burst found (fn_offset, time_alignment and bsic are valid */
371
372 /*
373 * Value constants for VAL_gprs_prio
374 */
375 #define GPRS_PRIO_TOP (0x0) /* Higher than serving cell */
376 #define GPRS_PRIO_HIGH (0x1) /* Higher than normal ncell bcch reading */
377 #define GPRS_PRIO_NORM (0x2) /* Normal */
378
379 /*
380 * Value constants for VAL_radio_band_config
381 */
382 #define STD_900 (0x1) /* GSM 900 */
383 #define STD_EGSM (0x2) /* extended GSM */
384 #define STD_1900 (0x3) /* PCS 1900 */
385 #define STD_1800 (0x4) /* DCS 1800 */
386 #define STD_DUAL (0x5) /* GSM 900 / DCS 1800 */
387 #define STD_DUAL_EGSM (0x6) /* extended GSM / DCS 1800 */
388 #define STD_850 (0x7) /* GSM 850 */
389 #define STD_DUAL_US (0x8) /* GSM 850 / PCS 1900 */
390
391 /*
392 * Value constants for VAL_initial_codec_mode
393 */
394 #define CODEC_MODE_1 (0x0) /* lowest codec mode */
395 #define CODEC_MODE_2 (0x1) /* second lowest mode */
396 #define CODEC_MODE_3 (0x2) /* third lowest mode */
397 #define CODEC_MODE_4 (0x3) /* highest mode */
398
399 /*
400 * Value constants for VAL_eodt_data_valid
401 */
402 #define EOTD_NOT_PRES (0x0) /* EOTD data not present */
403 #define EOTD_PRES (0x1) /* EOTD data present */
404
405 /*
406 * Value constants for VAL_eotd
407 */
408 #define NC_MON (0x0) /* neighbour cell monitoring */
409 #define EOTD_MON (0x1) /* EOTD monitoring */
410
411 /*
412 * Value constants for VAL_mode
413 */
414 #define MODE_IDLE (0x0) /* idle */
415 #define MODE_DEDIC (0x1) /* dedicated or packet transfer */
416
417 // VALTAB-FF: REL99 AND FF_BHO
418 /*
419 * Value constants for VAL_handover_type
420 */
421 // VAL-FF: REL99 AND FF_BHO
422 #define HOT_REGULAR (0x0) /* regular handover (time difference information provided) */
423 // VAL-FF: REL99 AND FF_BHO
424 #define HOT_BLIND (0x1) /* blind handover (cell not synchronized) */
425 // VAL-FF: REL99 AND FF_BHO
426 #define HOT_NONE (0xff) /* Invalid handover type */
427
428 // VALTAB-FF: TI_PS_FF_QUAD_BAND_SUPPORT
429 /*
430 * Value constants for VAL_radio_band
431 */
432 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
433 #define RADIO_BAND_PGSM900 (0x0) /* PGSM 900 */
434 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
435 #define RADIO_BAND_GSM850 (0x1) /* GSM 850 */
436 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
437 #define RADIO_BAND_PCS1900 (0x2) /* PCS 1900 */
438 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
439 #define RADIO_BAND_DCS1800 (0x3) /* DCS 1800 */
440 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
441 #define RADIO_BAND_GSM750 (0x4) /* GSM 750 */
442 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
443 #define RADIO_BAND_GSM480 (0x5) /* GSM 480 */
444 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
445 #define RADIO_BAND_GSM450 (0x6) /* GSM 450 */
446 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
447 #define RADIO_BAND_T_GSM380 (0x7) /* T GSM 380 */
448 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
449 #define RADIO_BAND_T_GSM410 (0x8) /* T GSM 410 */
450 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
451 #define RADIO_BAND_T_GSM900 (0x9) /* T GSM 900 */
452 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
453 #define RADIO_BAND_EGSM900 (0xa) /* EGSM 900 */
454 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
455 #define RADIO_BAND_RGSM900 (0xb) /* RGSM 900 */
456
457 /*
458 * user defined constants
459 */
460 #define BA_LIST_SIZE (0x21)
461 #define MAX_NCELL_EOTD_L1 (0xc)
462 #define MAX_NCELL (0x6)
463 #define MAX_CARRIERS (0x224)
464 #define BCCH_LIST_SIZE (0x20)
465 #define MAX_MEAS_VALUES (0x8)
466 #define MAX_L2_FRAME_SIZE (0x17)
467 #define MAX_MA_CARRIER (0x40)
468 #define MAX_SCHED_SIZE (0xa)
469 #define ADC_LIST_SIZE (0x5)
470 #define MAX_KC_STRING_SIZE (0x10)
471 // CONST-FF: TI_PS_FF_QUAD_BAND_SUPPORT
472 #define NB_MAX_GSM_BANDS (0xc)
473
474 #include "CDG_LEAVE.h"
475
476
477 #endif