FreeCalypso > hg > fc-magnetite
comparison cdg-hybrid/cdginc/p_mphc.val @ 212:e7a67accfad9
cdg-hybrid cdginc headers created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 14 Oct 2016 21:52:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
211:02269c474131 | 212:e7a67accfad9 |
---|---|
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 : "Mon Sep 26 14:30:48 2005" | | |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 | | |
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 _Mon_Sep_26_14_30_48_2005 | |
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 | |
128 /* | |
129 * Value constants for VAL_search_mode | |
130 */ | |
131 #define SM_WIDE_MODE (0x0) /* wideband capture and open-loop afc algorithm */ | |
132 #define SM_NARROW_MODE (0x1) /* narrowband capture and open-loop afc algorithm */ | |
133 | |
134 /* | |
135 * Value constants for VAL_bsic | |
136 */ | |
137 | |
138 /* | |
139 * Value constants for VAL_tsc | |
140 */ | |
141 | |
142 /* | |
143 * Value constants for VAL_bcch_blocks_required | |
144 */ | |
145 #define SI_NBLOCK_0 (0x1) /* TC 0 normal */ | |
146 #define SI_NBLOCK_1 (0x2) /* TC 1 normal */ | |
147 #define SI_NBLOCK_2 (0x4) /* TC 2 normal */ | |
148 #define SI_NBLOCK_3 (0x8) /* TC 3 normal */ | |
149 #define SI_NBLOCK_4 (0x10) /* TC 4 normal */ | |
150 #define SI_NBLOCK_5 (0x20) /* TC 5 normal */ | |
151 #define SI_NBLOCK_6 (0x40) /* TC 6 normal */ | |
152 #define SI_NBLOCK_7 (0x80) /* TC 7 normal */ | |
153 #define SI_EBLOCK_0 (0x100) /* TC 0 extended */ | |
154 #define SI_EBLOCK_1 (0x200) /* TC 1 extended */ | |
155 #define SI_EBLOCK_2 (0x400) /* TC 2 extended */ | |
156 #define SI_EBLOCK_3 (0x800) /* TC 3 extended */ | |
157 #define SI_EBLOCK_4 (0x1000) /* TC 4 extended */ | |
158 #define SI_EBLOCK_5 (0x2000) /* TC 5 extended */ | |
159 #define SI_EBLOCK_6 (0x4000) /* TC 6 extended */ | |
160 #define SI_EBLOCK_7 (0x8000) /* TC 7 extended */ | |
161 #define NCELL_BCCH_SI_2 (0x2) /* PLMN Search */ | |
162 #define NCELL_BCCH_SI_3_4 (0xcc) /* Ncell BCCH */ | |
163 #define NCELL_BCCH_SI_2_3_4 (0xce) /* PLMN Search */ | |
164 #define NCELL_BCCH_SI_3_7_8 (0x8844) /* Ncell BCCH */ | |
165 | |
166 /* | |
167 * Value constants for VAL_channel_type | |
168 */ | |
169 #define CH_TCH_F (0x1) /* TCH/F */ | |
170 #define CH_TCH_H (0x2) /* TCH/H */ | |
171 #define CH_SDCCH_4 (0x3) /* SDCCH/4 */ | |
172 #define CH_SDCCH_8 (0x4) /* SDCCH/8 */ | |
173 | |
174 /* | |
175 * Value constants for VAL_timeslot_no | |
176 */ | |
177 | |
178 /* | |
179 * Value constants for VAL_h | |
180 */ | |
181 #define NO_HOPPING (0x0) /* no hopping */ | |
182 #define HOPPING (0x1) /* hopping */ | |
183 | |
184 /* | |
185 * Value constants for VAL_hsn | |
186 */ | |
187 | |
188 /* | |
189 * Value constants for VAL_maio | |
190 */ | |
191 | |
192 /* | |
193 * Value constants for VAL_cbch_select | |
194 */ | |
195 #define CBCH_READ_EXT (0x1) /* read extended CBCH */ | |
196 #define CBCH_READ_NORM (0x0) /* read normal CBCH */ | |
197 | |
198 /* | |
199 * Value constants for VAL_schedule_length | |
200 */ | |
201 #define CBCH_NO_SCHED (0x0) /* no scheduling provided */ | |
202 | |
203 /* | |
204 * Value constants for VAL_tb_bitmap | |
205 */ | |
206 #define CBCH_NORM_BLOCK2 (0x1) /* norm block 2 */ | |
207 #define CBCH_NORM_BLOCK3 (0x2) /* norm block 3 */ | |
208 #define CBCH_NORM_BLOCK4 (0x4) /* norm block 4 */ | |
209 #define CBCH_EXT_BLOCK2 (0x8) /* ext block 2 */ | |
210 #define CBCH_EXT_BLOCK3 (0x10) /* ext block 3 */ | |
211 #define CBCH_EXT_BLOCK4 (0x20) /* ext block 4 */ | |
212 #define CBCH_NORM_BLOCK234 (0x7) /* request all blocks */ | |
213 #define CBCH_EXT_BLOCK234 (0x38) /* all ext blocks */ | |
214 | |
215 /* | |
216 * Value constants for VAL_normal_cbch | |
217 */ | |
218 #define CBCH_DONT_STOP (0x0) /* dont stop cbch */ | |
219 #define CBCH_STOP (0x1) /* stop cbch */ | |
220 | |
221 /* | |
222 * Value constants for VAL_txpwr | |
223 */ | |
224 | |
225 /* | |
226 * Value constants for VAL_powerclass_gsm | |
227 */ | |
228 #define POW_CLASS_1 (0x1) /* Class 1 */ | |
229 #define POW_CLASS_2 (0x2) /* Class 2 */ | |
230 #define POW_CLASS_3 (0x3) /* Class 3 */ | |
231 #define POW_CLASS_4 (0x4) /* Class 4 */ | |
232 #define POW_CLASS_5 (0x5) /* Class 5 */ | |
233 | |
234 /* | |
235 * Value constants for VAL_dtx_allowed | |
236 */ | |
237 #define DTX_NOTALLOWED (0x0) /* DTX is not allowed */ | |
238 #define DTX_ALLOWED (0x1) /* DTX is allowed */ | |
239 | |
240 /* | |
241 * Value constants for VAL_pwrc | |
242 */ | |
243 #define PWRC_NOT_SET (0x0) /* PWRC is not set */ | |
244 #define PWRC_SET (0x1) /* PWRC is set */ | |
245 | |
246 /* | |
247 * Value constants for VAL_channel_mode | |
248 */ | |
249 #define CM_SIGNALLING_ONLY (0x0) /* signalling only */ | |
250 #define CM_TCH_FS (0x1) /* TCH full rate speech */ | |
251 #define CM_TCH_HS (0x2) /* TCH half rate speech */ | |
252 #define CM_TCH_96 (0x3) /* TCH data 9600 */ | |
253 #define CM_TCH_F_48 (0x4) /* TCH data full rate 4800 */ | |
254 #define CM_TCH_H_48 (0x5) /* TCH data half rate 4800 */ | |
255 #define CM_TCH_F_24 (0x6) /* TCH data full rate 2400 */ | |
256 #define CM_TCH_H_24 (0x7) /* TCH data half rate 2400 */ | |
257 #define CM_TCH_EFR (0x8) /* TCH */ | |
258 #define CM_TCH_144 (0x9) /* TCH */ | |
259 #define CM_TCH_AHS (0xa) /* TCH AMR half rate */ | |
260 #define CM_TCH_AFS (0xb) /* TCH AMR full rate */ | |
261 | |
262 /* | |
263 * Value constants for VAL_cipher_mode | |
264 */ | |
265 #define CI_NO_CIPHERING (0x0) /* ciphering off */ | |
266 #define CI_CIPHERING (0x1) /* ciphering on */ | |
267 | |
268 /* | |
269 * Value constants for VAL_a5_algorithm | |
270 */ | |
271 #define A5_1 (0x0) /* A5/1 algorithm */ | |
272 #define A5_2 (0x1) /* A5/2 algorithm */ | |
273 #define A5_3 (0x2) /* A5/3 algorithm */ | |
274 #define A5_4 (0x3) /* A5/4 algorithm */ | |
275 #define A5_5 (0x4) /* A5/5 algorithm */ | |
276 #define A5_6 (0x5) /* A5/6 algorithm */ | |
277 #define A5_7 (0x6) /* A5/7 algorithm */ | |
278 | |
279 /* | |
280 * Value constants for VAL_cause | |
281 */ | |
282 #define HO_COMPLETE (0x0) /* success */ | |
283 #define HO_TIMEOUT (0x1) /* timeout */ | |
284 | |
285 /* | |
286 * Value constants for VAL_nci | |
287 */ | |
288 #define HO_TA_OUT_IGNORED (0x0) /* timing advance out of range is ignored */ | |
289 #define HO_TA_OUT_NOT_IGNORED (0x1) /* timing advance out of range is not ignored */ | |
290 | |
291 /* | |
292 * Value constants for VAL_timing_advance_valid | |
293 */ | |
294 #define HO_TA_NOT_VALID (0x0) /* timing advance information is not valid */ | |
295 #define HO_TA_VALID (0x1) /* timing advance information is valid */ | |
296 | |
297 /* | |
298 * Value constants for VAL_dtx_used | |
299 */ | |
300 #define DTX_NOT_USED (0x0) /* DTX was not used */ | |
301 #define DTX_USED (0x1) /* DTX was used */ | |
302 | |
303 /* | |
304 * Value constants for VAL_meas_valid | |
305 */ | |
306 #define MEAS_ARE_NOT_VALID (0x0) /* measurement values are not valid */ | |
307 #define MEAS_ARE_VALID (0x1) /* measurement values are valid */ | |
308 | |
309 /* | |
310 * Value constants for VAL_bcch_freq | |
311 */ | |
312 | |
313 /* | |
314 * Value constants for VAL_sub_channel | |
315 */ | |
316 #define SUB_CH_0 (0x0) /* sub channel 0 */ | |
317 #define SUB_CH_1 (0x1) /* sub channel 1 */ | |
318 | |
319 /* | |
320 * Value constants for VAL_frame_erasure | |
321 */ | |
322 #define TCH_LOOP_A (0x0) /* TCH loop A */ | |
323 #define TCH_LOOP_B (0x1) /* TCH loop B */ | |
324 #define TCH_LOOP_C (0x2) /* TCH loop C */ | |
325 #define TCH_LOOP_D (0x3) /* TCH loop D */ | |
326 #define TCH_LOOP_E (0x4) /* TCH loop E */ | |
327 #define TCH_LOOP_F (0x5) /* TCH loop F */ | |
328 #define TCH_LOOP_I (0x6) /* TCH loop I */ | |
329 | |
330 /* | |
331 * Value constants for VAL_tested_device | |
332 */ | |
333 #define DAI_NO_TEST (0x0) /* no test */ | |
334 #define DAI_S_DEC (0x1) /* speech decoder */ | |
335 #define DAI_S_COD (0x2) /* speech coder */ | |
336 #define DAI_ACOUSTIC (0x4) /* acoustic tests */ | |
337 | |
338 /* | |
339 * Value constants for VAL_sleep_mode | |
340 */ | |
341 #define NO_SLEEP (0x0) /* no sleep mode */ | |
342 #define SMALL_SLEEP (0x1) /* small sleep mode */ | |
343 #define BIG_SLEEP (0x2) /* big sleep mode */ | |
344 #define DEEP_SLEEP (0x3) /* deep sleep mode */ | |
345 #define ALL_SLEEP (0x4) /* all sleep modes */ | |
346 | |
347 /* | |
348 * Value constants for VAL_Clocks | |
349 */ | |
350 #define CL_ARMIO (0x1) /* ARMIO_CLK */ | |
351 #define CL_RIFR (0x2) /* RIF_CLKR */ | |
352 #define CL_RIFX (0x4) /* RIF_CLKX */ | |
353 #define CL_RIF13 (0x10) /* RIF_CLK13 */ | |
354 #define CL_NCLK (0x20) /* UWIRE_CLK */ | |
355 #define CL_SIM (0x40) /* SIM_CLK */ | |
356 #define CL_TSP (0x80) /* TSP_CLK */ | |
357 #define CL_TIMER (0x100) /* TIMER_CLK */ | |
358 #define CL_TPU (0x200) /* TPU_CLK */ | |
359 #define CL_UART (0x400) /* UART_CLK */ | |
360 #define CL_SW_CLOCK (0x800) /* SWITCH_IRQ_CLK */ | |
361 | |
362 /* | |
363 * Value constants for VAL_sb_flag | |
364 */ | |
365 #define NO_SB_FOUND (0x0) /* synchron burst not found (fn_offset, time_alignment and bsic are not valid) */ | |
366 #define SB_FOUND (0x1) /* synchron burst found (fn_offset, time_alignment and bsic are valid */ | |
367 | |
368 /* | |
369 * Value constants for VAL_gprs_prio | |
370 */ | |
371 #define GPRS_PRIO_TOP (0x0) /* Higher than serving cell */ | |
372 #define GPRS_PRIO_HIGH (0x1) /* Higher than normal ncell bcch reading */ | |
373 #define GPRS_PRIO_NORM (0x2) /* Normal */ | |
374 | |
375 /* | |
376 * Value constants for VAL_radio_band_config | |
377 */ | |
378 #define STD_900 (0x1) /* GSM 900 */ | |
379 #define STD_EGSM (0x2) /* extended GSM */ | |
380 #define STD_1900 (0x3) /* PCS 1900 */ | |
381 #define STD_1800 (0x4) /* DCS 1800 */ | |
382 #define STD_DUAL (0x5) /* GSM 900 / DCS 1800 */ | |
383 #define STD_DUAL_EGSM (0x6) /* extended GSM / DCS 1800 */ | |
384 #define STD_850 (0x7) /* GSM 850 */ | |
385 #define STD_DUAL_US (0x8) /* GSM 850 / PCS 1900 */ | |
386 | |
387 /* | |
388 * Value constants for VAL_initial_codec_mode | |
389 */ | |
390 #define CODEC_MODE_1 (0x0) /* lowest codec mode */ | |
391 #define CODEC_MODE_2 (0x1) /* second lowest mode */ | |
392 #define CODEC_MODE_3 (0x2) /* third lowest mode */ | |
393 #define CODEC_MODE_4 (0x3) /* highest mode */ | |
394 | |
395 /* | |
396 * Value constants for VAL_eodt_data_valid | |
397 */ | |
398 #define EOTD_NOT_PRES (0x0) /* EOTD data not present */ | |
399 #define EOTD_PRES (0x1) /* EOTD data present */ | |
400 | |
401 /* | |
402 * Value constants for VAL_eotd | |
403 */ | |
404 #define NC_MON (0x0) /* neighbour cell monitoring */ | |
405 #define EOTD_MON (0x1) /* EOTD monitoring */ | |
406 | |
407 /* | |
408 * Value constants for VAL_mode | |
409 */ | |
410 #define MODE_IDLE (0x0) /* idle */ | |
411 #define MODE_DEDIC (0x1) /* dedicated or packet transfer */ | |
412 | |
413 /* | |
414 * user defined constants | |
415 */ | |
416 #define BA_LIST_SIZE (0x21) | |
417 #define MAX_NCELL_EOTD_L1 (0xc) | |
418 #define MAX_NCELL (0x6) | |
419 #define MAX_CARRIERS (0x224) | |
420 #define BCCH_LIST_SIZE (0x20) | |
421 #define MAX_MEAS_VALUES (0x8) | |
422 #define MAX_L2_FRAME_SIZE (0x17) | |
423 #define MAX_MA_CARRIER (0x40) | |
424 #define MAX_SCHED_SIZE (0xa) | |
425 #define ADC_LIST_SIZE (0x5) | |
426 | |
427 #include "CDG_LEAVE.h" | |
428 | |
429 | |
430 #endif |