comparison cdg3/cdginc-conservative/p_mph.val @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_mph.val |
5 | SOURCE : "sap\mph.pdf" |
6 | LastModified : "2003-02-04" |
7 | IdAndVersion : "6148.109.01.207" |
8 | SrcFileTime : "Mon Aug 11 13:32:48 2008" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 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_MPH_VAL
24 #define P_MPH_VAL
25
26
27 #define CDG_ENTER__P_MPH_VAL
28
29 #define CDG_ENTER__FILENAME _P_MPH_VAL
30 #define CDG_ENTER__P_MPH_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_MPH_VAL__LAST_MODIFIED _2003_02_04
32 #define CDG_ENTER__P_MPH_VAL__ID_AND_VERSION _6148_109_01_207
33
34 #define CDG_ENTER__P_MPH_VAL__SRC_FILE_TIME _Mon_Aug_11_13_32_48_2008
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_MPH_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_arfcn
45 */
46 #define VAL_ARFCN___0 (0x0) /* E-GSM 900 */
47 #define VAL_ARFCN___1000 (0x1000) /* E-GSM 900 (E-GSM mode, std=2) */
48 #define VAL_ARFCN___3000 (0x3000) /* E-GSM 900 (Extended dual mode, std=6) */
49
50 /*
51 * Value constants for VAL_comb_ccch
52 */
53 #define COMB_CCCH_NOT_COMB (0x0) /* CCCH not combined with SDCCH */
54 #define COMB_CCCH_COMB (0x1) /* CCCH combined with SDCCH */
55
56 /*
57 * Value constants for VAL_tn
58 */
59
60 /*
61 * Value constants for VAL_dlt
62 */
63
64 /*
65 * Value constants for VAL_pg
66 */
67
68 /*
69 * Value constants for VAL_bs_ag_blocks_res
70 */
71
72 /*
73 * Value constants for VAL_bs_pa_mfrms
74 */
75 #define VAL_BS_PA_MFRMS___0 (0x0) /* 2 Multiframe Periods */
76 #define VAL_BS_PA_MFRMS___1 (0x1) /* 3 Multiframe Periods */
77 #define VAL_BS_PA_MFRMS___2 (0x2) /* 4 Multiframe Periods */
78 #define VAL_BS_PA_MFRMS___3 (0x3) /* 5 Multiframe Periods */
79 #define VAL_BS_PA_MFRMS___4 (0x4) /* 6 Multiframe Periods */
80 #define VAL_BS_PA_MFRMS___5 (0x5) /* 7 Multiframe Periods */
81 #define VAL_BS_PA_MFRMS___6 (0x6) /* 8 Multiframe Periods */
82 #define VAL_BS_PA_MFRMS___7 (0x7) /* 9 Multiframe Periods */
83
84 /*
85 * Value constants for VAL_power
86 */
87
88 /*
89 * Value constants for VAL_rx_lev
90 */
91
92 /*
93 * Value constants for VAL_rx_qual_full
94 */
95
96 /*
97 * Value constants for VAL_bsic
98 */
99 #define MPH_BSIC_UNKNOWN (0x40) /* Cell is removed from list (GPRS) */
100
101 /*
102 * Value constants for VAL_dtx
103 */
104 #define DTX_NOT_USED (0x0) /* DTX is not used */
105 #define DTX_USED (0x1) /* DTX is used */
106
107 /*
108 * Value constants for VAL_otd
109 */
110
111 /*
112 * Value constants for VAL_ta
113 */
114 #define TA_NOT_AVAIL (0xff) /* timing advance is not available in Idle Mode */
115
116 /*
117 * Value constants for VAL_v_start
118 */
119 #define VAL_V_START___0 (0x0) /* not valid */
120 #define VAL_V_START___1 (0x1) /* valid */
121
122 /*
123 * Value constants for VAL_ch
124 */
125 #define CH_TCH_F (0x1) /* TCH/F, FACCH Full Rate */
126 #define CH_TCH_H_1 (0x2) /* TCH/H(1), FACCH Half Rate */
127 #define CH_TCH_H_2 (0x3) /* TCH/H(2), FACCH Half Rate */
128 #define CH_SDCCH_4_0 (0x4) /* SDCCH/4(0) */
129 #define CH_SDCCH_4_1 (0x5) /* SDCCH/4(1) */
130 #define CH_SDCCH_4_2 (0x6) /* SDCCH/4(2) */
131 #define CH_SDCCH_4_3 (0x7) /* SDCCH/4(3) */
132 #define CH_SDCCH_8_0 (0x8) /* SDCCH/8(0) */
133 #define CH_SDCCH_8_1 (0x9) /* SDCCH/8(1) */
134 #define CH_SDCCH_8_2 (0xa) /* SDCCH/8(2) */
135 #define CH_SDCCH_8_3 (0xb) /* SDCCH/8(3) */
136 #define CH_SDCCH_8_4 (0xc) /* SDCCH/8(4) */
137 #define CH_SDCCH_8_5 (0xd) /* SDCCH/8(5) */
138 #define CH_SDCCH_8_6 (0xe) /* SDCCH/8(6) */
139 #define CH_SDCCH_8_7 (0xf) /* SDCCH/8(7) */
140
141 /*
142 * Value constants for VAL_tsc
143 */
144
145 /*
146 * Value constants for VAL_h
147 */
148 #define H_NO (0x0) /* no hopping */
149 #define H_FREQ (0x1) /* frequency hopping */
150
151 /*
152 * Value constants for VAL_maio
153 */
154
155 /*
156 * Value constants for VAL_hsn
157 */
158
159 /*
160 * Value constants for VAL_rlt
161 */
162
163 /*
164 * Value constants for VAL_pwrc
165 */
166 #define PWRC_NOT_SET (0x0) /* PWRC is not set, exact meaning is defined in GSM 05.08 */
167 #define PWRC_SET (0x1) /* PWRC is set, exact meaning is defined in GSM 05.08 */
168
169 /*
170 * Value constants for VAL_tav
171 */
172
173 /*
174 * Value constants for VAL_algo
175 */
176 #define ALGO_A5_1 (0x0) /* A5/1 */
177 #define ALGO_A5_2 (0x1) /* A5/2 */
178 #define ALGO_A5_3 (0x2) /* A5/3 */
179 #define ALGO_A5_4 (0x3) /* A5/4 */
180 #define ALGO_A5_5 (0x4) /* A5/5 */
181 #define ALGO_A5_6 (0x5) /* A5/6 */
182 #define ALGO_A5_7 (0x6) /* A5/7 */
183
184 /*
185 * Value constants for VAL_mod
186 */
187 #define MODE_CELL_SELECTION (0x0) /* cell selection */
188 #define MODE_CELL_RESELECTION (0x1) /* cell reselection */
189 #define VAL_MOD___2 (0x2) /* unused */
190 #define MODE_IMM_ASSIGN (0x3) /* immediate assignment */
191 #define MODE_CHAN_ASSIGN (0x4) /* channel assignment */
192 #define MODE_ASYNC_HANDOVER (0x5) /* asynchronous handover */
193 #define MODE_SYNC_HANDOVER (0x6) /* synchronous handover */
194 #define MODE_PRE_SYNC_HANDOVER (0x7) /* pre synchronous handover */
195 #define MODE_PSEUDO_SYNC_HANDOVER (0x8) /* pseudo synchronous handover */
196 #define MODE_SYS_INFO_CHANGE (0x9) /* sys info has changed */
197 #define MODE_PACKET_TRANSFER (0xa) /* enter packet transfer mode */
198 #define MODE_PDCH_ASSIGN (0xb) /* PDCH assignment */
199 #define MODE_CELL_CHANGE_ORDER (0xc) /* network controlled cell change */
200 #define MODE_CELL_RESELECTION_SYNC_ONLY (0xd) /* Sync only */
201 #define MODE_CONFIG_PL (0xe) /* Config idle mode params, but don't start processes in L1 */
202
203 /*
204 * Value constants for VAL_mode
205 */
206 #define MODE_SIG_ONLY (0x0) /* signalling only */
207 #define MODE_SPEECH_VER1 (0x1) /* speech (full rate or half rate), version 1 */
208 #define MODE_SPEECH_VER2 (0x21) /* speech (full rate or half rate), version 2 */
209 #define MODE_SPEECH_VER3 (0x41) /* speech (full rate or half rate), version 3 */
210 #define MODE_DATA_14_5 (0xf) /* data, 14.5 kbit/s radio interface rate, corresponds to 14.4 kbit/s user rate */
211 #define MODE_DATA_12_0 (0x3) /* data, 12.0 kbit/s radio interface rate, corresponds to 9.6 kbit/s user rate */
212 #define MODE_DATA_6_0 (0xb) /* data, 6.0 kbit/s radio interface rate, corresponds to 4.8 kbit/s user rate */
213 #define MODE_DATA_3_6 (0x13) /* data, 3.6 kbit/s radio interface rate, corresponds to 2.4 kbit/s user rate */
214
215 /*
216 * Value constants for VAL_st_mode
217 */
218 #define CODEC_MODE_1 (0x0) /* lowest codec mode */
219 #define CODEC_MODE_2 (0x1) /* second lowest mode */
220 #define CODEC_MODE_3 (0x2) /* third lowest mode */
221 #define CODEC_MODE_4 (0x3) /* highest mode */
222
223 /*
224 * Value constants for VAL_cs
225 */
226 #define CS_NO_BCCH_AVAIL (0x0) /* no BCCH available */
227 #define CS_DOWN_LINK_FAIL (0x1) /* down link failure */
228 #define CS_RADIO_LINK_FAIL (0x2) /* radio link failure */
229 #define CS_NO_HBCCH_AVAIL (0x3) /* no HPLMN BCCH available */
230 #define CS_BCCH_READ_ERROR (0x8) /* error during BCCH reading */
231 #define CS_STOP_BCCH_READING (0xa) /* stop BCCH reading */
232 #define CS_STOP_PLMN_SEARCH (0xb) /* Stop PLMN search */
233 #define CS_CLEAN_SYS_INFO (0xc) /* Clean System Information buffer */
234 #define CS_SYS_INFO_1_NOT_NEEDED (0xd) /* System info 1 is not needed */
235 #define CS_RXLEV_VAL_REQ (0xe) /* Rxlev values are requested */
236 #define CS_STOP_PLMN_SEARCH_AND_DEACTIVATE (0xf) /* Stop PLMN search and enter sleep mode */
237 #define CS_SCELL_IS_SYNCED (0x10) /* Synchronization done */
238 #define CS_START_PCCO (0x11) /* start of packet cell change order and the cell is not in the BA list */
239 #define CS_NC_SYNC_FAILED (0x12) /* Lost synchronization with neighbour cell */
240 #define CS_SYS_INFO_2BIS_SUPPORT_CHANGED (0x13) /* Started/stopped broadcasting of SI2bis in idle */
241 #define CS_SYS_INFO_2TER_SUPPORT_CHANGED (0x14) /* Started/stopped broadcasting of SI2ter in idle */
242 #define CS_NO_ERROR (0xff) /* no error occurred */
243
244 /*
245 * Value constants for VAL_pclass
246 */
247 #define CLASS_1 (0x0) /* class 1 */
248 #define CLASS_2 (0x1) /* class 2 */
249 #define CLASS_3 (0x2) /* class 3 */
250 #define CLASS_4 (0x3) /* class 4 */
251 #define CLASS_5 (0x4) /* class 5 */
252
253 /*
254 * Value constants for VAL_tch_loop
255 */
256 #define VAL_TCH_LOOP___FF (0xff) /* NOT_PRESENT_8BIT, open TCH loop, valid OPEN_LOOP_CMD message has been received */
257 #define TCH_LOOP_A (0x0) /* Internal test TCH loop command A */
258 #define TCH_LOOP_B (0x1) /* Internal test TCH loop command B */
259 #define TCH_LOOP_C (0x2) /* Internal test TCH loop command C */
260 #define TCH_LOOP_D (0x3) /* Internal test TCH loop command D */
261 #define TCH_LOOP_E (0x4) /* Internal test TCH loop command E */
262 #define TCH_LOOP_F (0x5) /* Internal test TCH loop command F */
263 #define TCH_LOOP_I (0x6) /* Internal test TCH loop command I */
264
265 /*
266 * Value constants for VAL_dedi_res
267 */
268 #define DEDI_RES_OK (0x0) /* success */
269 #define DEDI_RES_TIMEOUT (0x1) /* timeout */
270 #define DEDI_RES_TA_OUT_OF_RANGE (0x2) /* timing advance out of range */
271 #define DEDI_RES_CELL_NOT_SYNC (0x3) /* cell not sync by ALR */
272
273 /*
274 * Value constants for VAL_device
275 */
276 #define DAI_NO_TEST (0x0) /* normal operation (no tested device via DAI) */
277 #define DAI_SPEECH_DL (0x1) /* test of speech decoder / DTX downlink */
278 #define DAI_SPEECH_UL (0x2) /* test of speech decoder / DTX uplink */
279 #define DAI_AD_DA (0x4) /* test of acoustic devicesand A/D and D/A */
280
281 /*
282 * Value constants for VAL_ho_pow
283 */
284
285 /*
286 * Value constants for VAL_ho_acc_type
287 */
288 #define VAL_HO_ACC_TYPE___0 (0x0) /* sending of HANDOVER ACCESS is mandatory */
289 #define VAL_HO_ACC_TYPE___1 (0x1) /* sending of HANDOVER ACCESS is optional */
290
291 /*
292 * Value constants for VAL_ho_nci
293 */
294 #define NCI_TA_OUT_OF_RANGE_OK (0x0) /* timing advance out of range allowed */
295 #define NCI_TA_OUT_OF_RANGE_NOT_ALLOWED (0x1) /* timing advance out of range not allowed */
296
297 /*
298 * Value constants for VAL_multi_band
299 */
300 #define MULTI_BAND_0 (0x0) /* normal operation */
301 #define MULTI_BAND_1 (0x1) /* one cell of the non-serving cell band */
302 #define MULTI_BAND_2 (0x2) /* two cells of the non-serving cell band */
303 #define MULTI_BAND_3 (0x3) /* three cells of the non-serving cell band */
304
305 /*
306 * Value constants for VAL_len_imsi
307 */
308 #define VAL_LEN_IMSI___0 (0x0) /* indicates not valid */
309
310 /*
311 * Value constants for VAL_identity_type
312 */
313 #define ID_IMSI (0x1) /* Paged by IMSI */
314 #define ID_TMSI (0x4) /* Paged by TMSI */
315 #define ID_PTMSI (0x8) /* Paged by PTMSI */
316
317 /*
318 * Value constants for VAL_channel_needed
319 */
320 #define CN_ANY (0x0) /* Any channel */
321 #define CN_SDCCH (0x1) /* SDCCH */
322 #define CN_TCH_FULL (0x2) /* TCH Full Rate */
323 #define CN_TCH_H_OR_F (0x3) /* TCH Half Rate or Full Rate */
324 #define CN_PACKET (0x4) /* Packet Channel (GPRS only) */
325
326 /*
327 * Value constants for VAL_pch_interrupt
328 */
329 #define NO_PCH_INTERRUPT (0x0) /* Power measurements with PCH listening */
330 #define PCH_INTERRUPT (0x1) /* Power measurements without PCH listening */
331
332 /*
333 * Value constants for VAL_freq_bands
334 */
335 #define BAND_AUTO (0x0) /* 0b00000000: All bands shall be scanned */
336 #define BAND_GSM_900 (0x1) /* 0b00000001: GSM 900 is supported, shall be scanned */
337 #define BAND_DCS_1800 (0x2) /* 0b00000010: DCS 1800 is supported, shall be scanned */
338 #define BAND_PCS_1900 (0x4) /* 0b00000100: PCS 1900 is supported, shall be scanned */
339 #define BAND_E_GSM (0x8) /* 0b00001000: Extended GSM is supported, shall be scanned */
340 #define BAND_GSM_850 (0x10) /* 0b00010000: GSM 850 is supported, shall be scanned */
341 #define BAND_GSM_450 (0x20) /* 0b00100000: GSM 450 is supported, shall be scanned */
342 #define BAND_GSM_480 (0x40) /* 0b01000000: GSM 480 is supported, shall be scanned */
343 #define BAND_R_GSM (0x80) /* 0b10000000: R-GSM is supported, shall be scanned */
344 #define BAND_DUAL (0x3) /* 0b00000011: GSM 900 and DCS 1800 is supported, shall be scanned */
345 #define BAND_DUAL_EXT (0xb) /* 0b00001011: GSM 900, E-GSM and DCS 1800 is supported, shall be scanned */
346 #define BAND_DUAL_US (0x14) /* 0b00010100: GSM 850 and PCS 1900 is supported, shall be scanned */
347 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
348 // #define BAND_850_1800 (0x12) /* 0b00010010: GSM 850 and DCS 1800 is supported, shall be scanned */
349 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
350 // #define BAND_900_1900 (0xd) /* 0b00001101: GSM 900, E-GSM and PCS 1900 is supported, shall be scanned */
351 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
352 // #define BAND_850_900_1800 (0x1b) /* 0b00011011: GSM 850, GSM 900, E-GSM and DCS 1800 is supported, shall be scanned */
353 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
354 // #define BAND_850_900_1900 (0x1d) /* 0b00011101: GSM 850, GSM 900, E-GSM and PCS 1900 is supported, shall be scanned */
355
356 /*
357 * Value constants for VAL_no
358 */
359 #define NO_STP_SND_CONT_SND (0x0) /* stop sending of RACH bursts */
360
361 /*
362 * Value constants for VAL_t1
363 */
364
365 /*
366 * Value constants for VAL_t2
367 */
368
369 /*
370 * Value constants for VAL_t3
371 */
372
373 /*
374 * Value constants for VAL_action
375 */
376 #define START_MON_NBCCH (0x0) /* start reading of BCCH, excluding ext BCCH */
377 #define START_MON_EBCCH (0x1) /* start reading of ext BCCH, excluding BCCH */
378 #define STOP_MON_BCCH (0x2) /* stop reading of BCCH, including both BCCH and ext BCCH (if previously requested) */
379 #define START_MON_CCCH (0x3) /* start reading of CCCH */
380 #define STOP_MON_CCCH (0x4) /* stop reading of CCCH */
381 #define LEAVING_PIM_PBCCH (0x5) /* Leave PIM */
382 #define LEAVING_PAM_PBCCH (0x6) /* Leave PAM */
383 #define LEAVING_PTM_PBCCH (0x7) /* Leave PTM */
384 #define ENTER_PTM_PBCCH (0x8) /* Enter PTM */
385 #define ENTER_PIM_PBCCH (0x9) /* Enter PIM */
386 #define ENTER_PTM_BCCH (0xa) /* Enter PTM for BCCH */
387
388 /*
389 * Value constants for VAL_si_to_read
390 */
391 #define UNSPECIFIED_SI (0x0) /* Update of unspecified SI message or SI messages */
392 #define UPDATE_SI1 (0x1) /* Update of SI1 message */
393 #define UPDATE_SI2_SI2BIS_OR_SI2TER (0x2) /* Update of SI2, SI2 bis or SI2 ter message */
394 #define UPDATE_SI3_SI4_SI7_OR_SI8 (0x3) /* Update of SI3, SI4, SI7 or SI8 message */
395 #define UPDATE_SI9 (0x4) /* Update of SI9 message */
396 #define COMPLETE_SI (0x5) /* Read complete SI */
397 #define UPDATE_SI13_GSM (0x6) /* Read SI13 during GPRS activation */
398 #define UPDATE_SI2QUATER (0x7) /* Request to update SI-2quater */
399 #define UPDATE_SI2QUATER_AGAIN (0x8) /* Request to update SI-2quater again as the prev si-2quater BA-IND was not correct */
400 #define UPDATE_SI13 (0xff) /* Update SI13 */
401
402 /*
403 * Value constants for VAL_reorg_only
404 */
405 #define NORMAL_PGM (0x0) /* ignore this parameter (and do not ignore Page Mode IE in PAGING REQUEST messages); used to switch off REORG_ONLY */
406 #define REORG_ONLY (0x1) /* set page mode to paging reorganisation */
407
408 /*
409 * Value constants for VAL_sync_only
410 */
411 #define NORMAL_BA (0x0) /* normal GSM behaviour */
412 #define SYNC_LIST (0x1) /* GPRS sync only */
413 #define RECONFIRM_SYNC_LIST (0x2) /* Reconfirm Sync 10 sec timer for Pbcch Cells */
414
415 /*
416 * Value constants for VAL_gprs_sync
417 */
418 #define NORMAL_MEAS_REP (0x0) /* normal GSM behaviour */
419 #define SYNC_RESULTS (0x1) /* GPRS sync only */
420
421 /*
422 * Value constants for VAL_ba_id
423 */
424
425 /*
426 * Value constants for VAL_stat
427 */
428 #define STAT_INACT (0x0) /* inactive */
429 #define STAT_ACT (0x1) /* active */
430 #define STAT_CIPH_OFF (0x0) /* ciphering off */
431 #define STAT_CIPH_ON (0x1) /* ciphering on */
432
433 /*
434 * Value constants for VAL_eotd_res
435 */
436 #define EOTD_SUCC (0x0) /* success */
437 #define EOTD_REF (0x1) /* wrong reference BTS */
438
439 /*
440 * Value constants for VAL_mfrm_offset
441 */
442
443 /*
444 * Value constants for VAL_otd_type
445 */
446 #define ROUGH_OTD (0x0) /* only roughOTD has been provided by the NW */
447 #define EXPECTED_OTD (0x1) /* only expectedOTD has been provided by the NW */
448 #define BOTH_OTD (0x2) /* Both OTD type have been provided by the NW */
449
450 /*
451 * Value constants for VAL_exp_otd
452 */
453
454 /*
455 * Value constants for VAL_uncertainty
456 */
457 #define UNC_MAX_2BIT (0x0) /* uncertainty in bits. 0 - 2 bits */
458 #define UNC_MAX_4BIT (0x1) /* uncertainty in bits. 3 - 4 bits */
459 #define UNC_MAX_8BIT (0x2) /* uncertainty in bits. 5 - 8 bits */
460 #define UNC_MAX_12BIT (0x3) /* uncertainty in bits. 9 - 12 bits */
461 #define UNC_MAX_16BIT (0x4) /* uncertainty in bits. 13 - 16 bits */
462 #define UNC_MAX_22BIT (0x5) /* uncertainty in bits. 17 - 22 bits */
463 #define UNC_MAX_30BIT (0x6) /* uncertainty in bits. 23 - 30 bits */
464 #define UNC_GT_30BIT (0x7) /* uncertainty in bits. > 30 bits */
465
466 /*
467 * Value constants for VAL_rough_rtd
468 */
469 #define VAL_ROUGH_RTD___0 (0x0) /* roughRTD in bits (see expected OTD) */
470
471 /*
472 * Value constants for VAL_eotd_avail
473 */
474 #define VAL_EOTD_AVAIL___0 (0x0) /* EOTD is not available */
475 #define VAL_EOTD_AVAIL___1 (0x1) /* EOTD is available */
476
477 /*
478 * Value constants for VAL_gprs_support
479 */
480 #define MPH_GPRS_PROCS_USED (0x1) /* yes */
481 #define MPH_GPRS_PROCS_NOT_USED (0x0) /* no */
482
483 /*
484 * Value constants for VAL_si_to_clean
485 */
486 #define IND_SI_1 (0x1) /* Clean SI 1 buffer */
487 #define IND_SI_2 (0x2) /* Clean SI 2 buffer */
488 #define IND_SI_2BIS (0x4) /* Clean SI 2bis buffer */
489 #define IND_SI_2TER (0x8) /* Clean SI 2ter buffer */
490 #define IND_SI_3 (0x10) /* Clean SI 3 buffer */
491 #define IND_SI_4 (0x20) /* Clean SI 4 buffer */
492 #define IND_SI_13 (0x40) /* Clean SI 13 buffer */
493 #define IND_SI_2QUATER (0x80) /* Clean SI 2quater buffer */
494 #define IND_SI_5 (0x100) /* Clean SI 5 buffer */
495 #define IND_SI_5BIS (0x200) /* Clean SI 5bis buffer */
496 #define IND_SI_5TER (0x400) /* Clean SI 5ter buffer */
497 #define IND_SI_6 (0x800) /* Clean SI 6 buffer */
498 #define IND_ALL_IDLE_SI (0x7f) /* Clean all SI of idle mode */
499 #define IND_ALL_IDLE_BA (0xe) /* Clean all SI of idle mode BA list */
500 #define IND_ALL_DEDI_SI (0xf00) /* Clean all SI of dedicated mode */
501 #define IND_ALL_DEDI_BA (0x700) /* Clean all SI of dedicated mode BA list */
502 #define IND_ALL_SI (0xf7f) /* Clean all SI buffers */
503
504 /*
505 * Value constants for VAL_cause
506 */
507 #define NC_STOP_MEAS (0x0) /* Stop the measurement */
508 #define NC_START_MEAS (0x1) /* Start Averaging the measurements */
509 #define NC_REPORT_MEAS (0x2) /* get the meas report from RR */
510
511 /*
512 * Value constants for VAL_region
513 */
514 #define EUROPEAN_REGION (0x0) /* Indicates European region */
515 #define AMERICAN_REGION (0x1) /* Indicates American region */
516 // VAL-FF: TI_PS_FF_QUAD_BAND_SUPPORT
517 // #define BOTH_REGIONS (0x2) /* Indicates both European and American region */
518
519 /*
520 * Value constants for VAL_search_mode
521 */
522 #define FULL_SEARCH_MODE (0x0) /* Identifies 'Full Search' mode, default mode */
523 #define NORMAL_SEARCH_MODE (0x1) /* Identifies 'Normal Search' mode */
524 #define FAST_SEARCH_MODE (0x2) /* Identifies 'Fast Search' mode */
525 #define BLACK_LIST_SEARCH_MODE (0x3) /* Identifies 'Black List Search' mode */
526
527 /*
528 * Value constants for VAL_whitelist_valid
529 */
530 #define WHITELIST_NOT_VALID (0x0) /* not valid */
531 #define WHITELIST_VALID (0x1) /* valid */
532
533 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
534 //
535 // Value constants for VAL_rep_rate
536 //
537 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
538 // #define NORMAL_REP_RATE (0x0) /* Normal(SACCH)reporting rate */
539 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
540 // #define REDUCED_REP_RATE (0x1) /* Reduced reporting rate */
541
542 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
543 //
544 // Value constants for Val_inv_bsic
545 //
546 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
547 // #define INV_BSIC_REPORTING_DISABLED (0x0) /* Invalid BSIC reporting not enabled */
548 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
549 // #define INV_BSIC_REPORTING_ENABLED (0x1) /* Invalid BSIC reporting enabled */
550
551 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
552 //
553 // Value constants for Val_si2quater_status
554 //
555 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
556 // #define SI2QUATER_ABSENT (0x0) /* Not present/Not required */
557 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
558 // #define SI2QUATER_CONFIGURE (0x1) /* Has to be configured */
559 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
560 // #define SI2QUATER_ACQ_PENDING (0x2) /* Acquisition is pending. */
561 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
562 // #define SI2QUATER_ACQ_COMP (0x3) /* Acquisition is complete */
563 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
564 // #define SI2QUATER_ACQ_FULL_BCCH (0x4) /* Acquisition is on going as part of full BCCH reading */
565 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
566 // #define SI2QUATER_ACQ_WRONG_BAIND (0x5) /* Acquired with wrong BA-IND */
567
568 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
569 //
570 // Value constants for Val_si2quater_pos
571 //
572 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
573 // #define SI2QUATER_ON_NBCCH (0x0) /* SI-2quater on NBCCH */
574 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
575 // #define SI2QUATER_ON_EBCCH (0x1) /* SI-2quater on EBCCH */
576
577 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
578 //
579 // Value constants for Val_mean_bep
580 //
581 // #define MEAN_BEP_0 (0x0) /* mapped value */
582 // #define MEAN_BEP_1 (0x1) /* mapped value */
583 // #define MEAN_BEP_2 (0x2) /* mapped value */
584 // #define MEAN_BEP_3 (0x3) /* mapped value */
585 // #define MEAN_BEP_4 (0x4) /* mapped value */
586 // #define MEAN_BEP_5 (0x5) /* mapped value */
587 // #define MEAN_BEP_6 (0x6) /* mapped value */
588 // #define MEAN_BEP_7 (0x7) /* mapped value */
589 // #define MEAN_BEP_8 (0x8) /* mapped value */
590 // #define MEAN_BEP_9 (0x9) /* mapped value */
591 // #define MEAN_BEP_10 (0xa) /* mapped value */
592 // #define MEAN_BEP_11 (0xb) /* mapped value */
593 // #define MEAN_BEP_12 (0xc) /* mapped value */
594 // #define MEAN_BEP_13 (0xd) /* mapped value */
595 // #define MEAN_BEP_14 (0xe) /* mapped value */
596 // #define MEAN_BEP_15 (0xf) /* mapped value */
597 // #define MEAN_BEP_16 (0x10) /* mapped value */
598 // #define MEAN_BEP_17 (0x11) /* mapped value */
599 // #define MEAN_BEP_18 (0x12) /* mapped value */
600 // #define MEAN_BEP_19 (0x13) /* mapped value */
601 // #define MEAN_BEP_20 (0x14) /* mapped value */
602 // #define MEAN_BEP_21 (0x15) /* mapped value */
603 // #define MEAN_BEP_22 (0x16) /* mapped value */
604 // #define MEAN_BEP_23 (0x17) /* mapped value */
605 // #define MEAN_BEP_24 (0x18) /* mapped value */
606 // #define MEAN_BEP_25 (0x19) /* mapped value */
607 // #define MEAN_BEP_26 (0x1a) /* mapped value */
608 // #define MEAN_BEP_27 (0x1b) /* mapped value */
609 // #define MEAN_BEP_28 (0x1c) /* mapped value */
610 // #define MEAN_BEP_29 (0x1d) /* mapped value */
611 // #define MEAN_BEP_30 (0x1e) /* mapped value */
612 // #define MEAN_BEP_31 (0x1f) /* mapped value */
613
614 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
615 //
616 // Value constants for Val_cv_bep
617 //
618 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
619 // #define CV_BEP_0 (0x0) /* Values Item */
620 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
621 // #define CV_BEP_1 (0x1) /* Values Item */
622 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
623 // #define CV_BEP_2 (0x2) /* Values Item */
624 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
625 // #define CV_BEP_3 (0x3) /* Values Item */
626 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
627 // #define CV_BEP_4 (0x4) /* Values Item */
628 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
629 // #define CV_BEP_5 (0x5) /* Values Item */
630 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
631 // #define CV_BEP_6 (0x6) /* Values Item */
632 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
633 // #define CV_BEP_7 (0x7) /* Values Item */
634
635 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
636 //
637 // Value constants for Val_scale_ord
638 //
639 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
640 // #define SCALE_0dB (0x0) /* Scaling by 0dB */
641 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
642 // #define SCALE_10dB (0x1) /* Scaling by 10dB */
643 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
644 // #define SCALE_AUTO (0x2) /* Automatic scaling */
645
646 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
647 //
648 // Value constants for VAL_rep_priority
649 //
650 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
651 // #define REP_PRIOR_NORM (0x0) /* Normal reporting priority */
652 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
653 // #define REP_PRIOR_HIGH (0x1) /* High reporting priority */
654
655 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
656 //
657 // Value constants for Val_rep_threshold
658 //
659 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
660 // #define REP_THRESHOLD_0 (0x0) /* 0 dB */
661 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
662 // #define REP_THRESHOLD_6 (0x1) /* 6 dB */
663 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
664 // #define REP_THRESHOLD_12 (0x2) /* 12 dB */
665 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
666 // #define REP_THRESHOLD_18 (0x3) /* 18 dB */
667 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
668 // #define REP_THRESHOLD_24 (0x4) /* 24 dB */
669 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
670 // #define REP_THRESHOLD_30 (0x5) /* 30 dB */
671 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
672 // #define REP_THRESHOLD_36 (0x6) /* 36 dB */
673 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
674 // #define REP_THRESHOLD_INF (0x7) /* Report Never */
675 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
676 // #define REP_THRESHOLD_NONE (0xff) /* Report Always, default value */
677
678 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
679 //
680 // Value constants for Val_rep_offset
681 //
682 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
683 // #define REP_OFFSET_0 (0x0) /* 0dB (Default) */
684 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
685 // #define REP_OFFSET_6 (0x1) /* 6 dB */
686 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
687 // #define REP_OFFSET_12 (0x2) /* 12 dB */
688 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
689 // #define REP_OFFSET_18 (0x3) /* 18 dB */
690 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
691 // #define REP_OFFSET_24 (0x4) /* 24 dB */
692 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
693 // #define REP_OFFSET_30 (0x5) /* 30 dB */
694 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
695 // #define REP_OFFSET_36 (0x6) /* 36 dB */
696 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
697 // #define REP_OFFSET_42 (0x7) /* 42 dB */
698
699 // VALTAB-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
700 //
701 // Value constants for Val_rep_type
702 //
703 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
704 // #define REP_TYPE_ENH (0x0) /* Report type is 'Enhanced' */
705 // VAL-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
706 // #define REP_TYPE_NORM (0x1) /* Report type is 'Normal' */
707
708 /*
709 * user defined constants
710 */
711 #define MAX_MA_CHANNELS (0x40)
712 #define MAX_NEIGHBOURCELLS (0x21)
713 #define MAX_CHANNELS (0x64)
714 #define MAX_NCELL_EOTD_ALR (0xf)
715 #define MAX_NCELL_EOTD_RES (0xc)
716 #define XCOR_NO (0x12)
717 #define STD_900 (0x1)
718 #define STD_EGSM (0x2)
719 #define STD_1900 (0x3)
720 #define STD_1800 (0x4)
721 #define STD_DUAL (0x5)
722 #define STD_DUAL_EGSM (0x6)
723 #define STD_850 (0x7)
724 #define STD_DUAL_US (0x8)
725 // CONST-FF: TI_PS_FF_QUAD_BAND_SUPPORT
726 // #define STD_850_1800 (0x9)
727 // CONST-FF: TI_PS_FF_QUAD_BAND_SUPPORT
728 // #define STD_900_1900 (0xa)
729 // CONST-FF: TI_PS_FF_QUAD_BAND_SUPPORT
730 // #define STD_850_900_1800 (0xb)
731 // CONST-FF: TI_PS_FF_QUAD_BAND_SUPPORT
732 // #define STD_850_900_1900 (0xc)
733 #define US_BIT (0x8000)
734 #define STD_BIT_MASK (0x7800)
735 #define STD_BIT_SHIFT (0xb)
736 #define ARFCN_MASK (0x7ff)
737 #define EUROPEAN_FREQ_AREA (0x1)
738 #define AMERICAN_FREQ_AREA (0x2)
739 #define ALL_FREQ_AREA (0x3)
740 #define NEXT_AMERICAN_AREA (0x80)
741 #define LOW_CHANNEL_900 (0x1)
742 #define HIGH_CHANNEL_900 (0x7c)
743 #define LOW_CHANNEL_EGSM (0x3cf)
744 #define HIGH_CHANNEL_EGSM (0x400)
745 #define CHANNEL_0 (0x0)
746 #define CHANNEL_0_INTERNAL (0x400)
747 #define LOW_CHANNEL_1900 (0x200)
748 #define HIGH_CHANNEL_1900 (0x32a)
749 #define LOW_CHANNEL_1800 (0x200)
750 #define HIGH_CHANNEL_1800 (0x375)
751 #define LOW_CHANNEL_850 (0x80)
752 #define HIGH_CHANNEL_850 (0xfb)
753 // CONST-FF: TI_PS_FF_QUAD_BAND_SUPPORT
754 // #define LOW_CHANNEL_1900_INTERNAL (0x400)
755 #define MAX_CARRIERS_GSM900 (0x7c)
756 #define MAX_CARRIERS_EGSM900 (0xae)
757 #define MAX_CARRIERS_PCS1900 (0x12b)
758 #define MAX_CARRIERS_DCS1800 (0x176)
759 #define MAX_CARRIERS_DUAL (0x1f2)
760 #define MAX_CARRIERS_DUAL_EGSM (0x224)
761 #define MAX_CARRIERS_GSM850 (0x7c)
762 #define MAX_CARRIERS_DUAL_US (0x1a7)
763 #define MAX_EMO_CHANNELS (0x15)
764 #define RR_BA_HIGH (0xff)
765 #define RR_BA_LOW (0x80)
766 #define ALR_BA_HIGH (0x7f)
767 #define ALR_BA_LOW (0x0)
768 #define KC_STRING_SIZE (0x10)
769 #define MAX_RACH_REQ (0x8)
770 #define RR_ALR_MEAS_REPORT_SIZE (0x7)
771 #define LIST_MAX_SIZE (0x80)
772 #define MAX_REGIONS (0x2)
773 #define MAX_NUM_BANDS (0x5)
774 #define LOWER_RXLEV_THRESHOLD (0x4)
775 #define LOWER_RXLEV_THRESHOLD_850 (0x7)
776 #define B_GSM_850 (0x0)
777 #define B_GSM_900 (0x1)
778 #define B_DCS_1800 (0x2)
779 #define B_PCS_1900 (0x3)
780 #define B_E_GSM (0x4)
781 #define FULL_SEARCH_MODE_ATTEMPTS (0x5)
782 #define NORMAL_SEARCH_MODE_ATTEMPTS (0x5)
783 #define TIM_FULL_SEARCH_POWERMEAS_VAL (0xfa0)
784 #define TIM_NORMAL_SEARCH_POWERMEAS_VAL (0xfa0)
785 #define MIN_CHANNELS_PER_BAND (0x19)
786 #define MAX_CHANNELS_PER_BAND (0x1e)
787 // CONST-FF: REL99 AND ( TI_PS_FF_EMR OR TI_PS_FF_RTD )
788 // #define MAX_NUM_CELLS_IN_REPORT (0x20)
789 // CONST-FF: !REL99 OR !( TI_PS_FF_EMR OR TI_PS_FF_RTD )
790 #define MAX_NUM_CELLS_IN_REPORT (0x6)
791 // CONST-FF: REL99 AND TI_PS_FF_RTD
792 // #define MAX_NUM_OF_RTD_VALUES (0x3)
793
794 #include "CDG_LEAVE.h"
795
796
797 #endif