comparison cdg211/cdginc/p_mph.val @ 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.val |
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_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 _Fri_Apr_28_11_06_12_2006
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_NO_ERROR (0xff) /* no error occurred */
241
242 /*
243 * Value constants for VAL_pclass
244 */
245 #define CLASS_1 (0x0) /* class 1 */
246 #define CLASS_2 (0x1) /* class 2 */
247 #define CLASS_3 (0x2) /* class 3 */
248 #define CLASS_4 (0x3) /* class 4 */
249 #define CLASS_5 (0x4) /* class 5 */
250
251 /*
252 * Value constants for VAL_tch_loop
253 */
254 #define VAL_TCH_LOOP___FF (0xff) /* NOT_PRESENT_8BIT, open TCH loop, valid OPEN_LOOP_CMD message has been received */
255 #define TCH_LOOP_A (0x0) /* Internal test TCH loop command A */
256 #define TCH_LOOP_B (0x1) /* Internal test TCH loop command B */
257 #define TCH_LOOP_C (0x2) /* Internal test TCH loop command C */
258 #define TCH_LOOP_D (0x3) /* Internal test TCH loop command D */
259 #define TCH_LOOP_E (0x4) /* Internal test TCH loop command E */
260 #define TCH_LOOP_F (0x5) /* Internal test TCH loop command F */
261 #define TCH_LOOP_I (0x6) /* Internal test TCH loop command I */
262
263 /*
264 * Value constants for VAL_dedi_res
265 */
266 #define DEDI_RES_OK (0x0) /* success */
267 #define DEDI_RES_TIMEOUT (0x1) /* timeout */
268 #define DEDI_RES_TA_OUT_OF_RANGE (0x2) /* timing advance out of range */
269 #define DEDI_RES_CELL_NOT_SYNC (0x3) /* cell not sync by ALR */
270
271 /*
272 * Value constants for VAL_device
273 */
274 #define DAI_NO_TEST (0x0) /* normal operation (no tested device via DAI) */
275 #define DAI_SPEECH_DL (0x1) /* test of speech decoder / DTX downlink */
276 #define DAI_SPEECH_UL (0x2) /* test of speech decoder / DTX uplink */
277 #define DAI_AD_DA (0x4) /* test of acoustic devicesand A/D and D/A */
278
279 /*
280 * Value constants for VAL_ho_pow
281 */
282
283 /*
284 * Value constants for VAL_ho_acc_type
285 */
286 #define VAL_HO_ACC_TYPE___0 (0x0) /* sending of HANDOVER ACCESS is mandatory */
287 #define VAL_HO_ACC_TYPE___1 (0x1) /* sending of HANDOVER ACCESS is optional */
288
289 /*
290 * Value constants for VAL_ho_nci
291 */
292 #define NCI_TA_OUT_OF_RANGE_OK (0x0) /* timing advance out of range allowed */
293 #define NCI_TA_OUT_OF_RANGE_NOT_ALLOWED (0x1) /* timing advance out of range not allowed */
294
295 /*
296 * Value constants for VAL_multi_band
297 */
298 #define MULTI_BAND_0 (0x0) /* normal operation */
299 #define MULTI_BAND_1 (0x1) /* one cell of the non-serving cell band */
300 #define MULTI_BAND_2 (0x2) /* two cells of the non-serving cell band */
301 #define MULTI_BAND_3 (0x3) /* three cells of the non-serving cell band */
302
303 /*
304 * Value constants for VAL_len_imsi
305 */
306 #define VAL_LEN_IMSI___0 (0x0) /* indicates not valid */
307
308 /*
309 * Value constants for VAL_identity_type
310 */
311 #define ID_IMSI (0x1) /* Paged by IMSI */
312 #define ID_TMSI (0x4) /* Paged by TMSI */
313 #define ID_PTMSI (0x8) /* Paged by PTMSI */
314
315 /*
316 * Value constants for VAL_channel_needed
317 */
318 #define CN_ANY (0x0) /* Any channel */
319 #define CN_SDCCH (0x1) /* SDCCH */
320 #define CN_TCH_FULL (0x2) /* TCH Full Rate */
321 #define CN_TCH_H_OR_F (0x3) /* TCH Half Rate or Full Rate */
322 #define CN_PACKET (0x4) /* Packet Channel (GPRS only) */
323
324 /*
325 * Value constants for VAL_pch_interrupt
326 */
327 #define NO_PCH_INTERRUPT (0x0) /* Power measurements with PCH listening */
328 #define PCH_INTERRUPT (0x1) /* Power measurements without PCH listening */
329
330 /*
331 * Value constants for VAL_freq_bands
332 */
333 #define BAND_AUTO (0x0) /* 0b00000000: All bands shall be scanned */
334 #define BAND_GSM_900 (0x1) /* 0b00000001: GSM 900 is supported, shall be scanned */
335 #define BAND_DCS_1800 (0x2) /* 0b00000010: DCS 1800 is supported, shall be scanned */
336 #define BAND_PCS_1900 (0x4) /* 0b00000100: PCS 1900 is supported, shall be scanned */
337 #define BAND_E_GSM (0x8) /* 0b00001000: Extended GSM is supported, shall be scanned */
338 #define BAND_GSM_850 (0x10) /* 0b00010000: GSM 850 is supported, shall be scanned */
339 #define BAND_GSM_450 (0x20) /* 0b00100000: GSM 450 is supported, shall be scanned */
340 #define BAND_GSM_480 (0x40) /* 0b01000000: GSM 480 is supported, shall be scanned */
341 #define BAND_R_GSM (0x80) /* 0b10000000: R-GSM is supported, shall be scanned */
342 #define BAND_DUAL (0x3) /* 0b00000011: GSM 900 and DCS 1800 is supported, shall be scanned */
343 #define BAND_DUAL_EXT (0xb) /* 0b00001011: GSM 900, E-GSM and DCS 1800 is supported, shall be scanned */
344 #define BAND_DUAL_US (0x14) /* 0b00010100: GSM 850 and PCS 1900 is supported, shall be scanned */
345
346 /*
347 * Value constants for VAL_no
348 */
349 #define NO_STP_SND_CONT_SND (0x0) /* stop sending of RACH bursts */
350
351 /*
352 * Value constants for VAL_t1
353 */
354
355 /*
356 * Value constants for VAL_t2
357 */
358
359 /*
360 * Value constants for VAL_t3
361 */
362
363 /*
364 * Value constants for VAL_action
365 */
366 #define START_MON_NBCCH (0x0) /* start reading of BCCH, excluding ext BCCH */
367 #define START_MON_EBCCH (0x1) /* start reading of ext BCCH, excluding BCCH */
368 #define STOP_MON_BCCH (0x2) /* stop reading of BCCH, including both BCCH and ext BCCH (if previously requested) */
369 #define START_MON_CCCH (0x3) /* start reading of CCCH */
370 #define STOP_MON_CCCH (0x4) /* stop reading of CCCH */
371 #define LEAVING_PIM_PBCCH (0x5) /* Leave PIM */
372 #define LEAVING_PAM_PBCCH (0x6) /* Leave PAM */
373 #define LEAVING_PTM_PBCCH (0x7) /* Leave PTM */
374 #define ENTER_PTM_PBCCH (0x8) /* Enter PTM */
375 #define ENTER_PIM_PBCCH (0x9) /* Enter PIM */
376 #define ENTER_PTM_BCCH (0xa) /* Enter PTM for BCCH */
377
378 /*
379 * Value constants for VAL_si_to_read
380 */
381 #define UNSPECIFIED_SI (0x0) /* Update of unspecified SI message or SI messages */
382 #define UPDATE_SI1 (0x1) /* Update of SI1 message */
383 #define UPDATE_SI2_SI2BIS_OR_SI2TER (0x2) /* Update of SI2, SI2 bis or SI2 ter message */
384 #define UPDATE_SI3_SI4_SI7_OR_SI8 (0x3) /* Update of SI3, SI4, SI7 or SI8 message */
385 #define UPDATE_SI9 (0x4) /* Update of SI9 message */
386 #define COMPLETE_SI (0x5) /* Read complete SI */
387 #define UPDATE_SI13_GSM (0x6) /* Read SI13 during GPRS activation */
388 #define UPDATE_SI13 (0xff) /* Update SI13 */
389
390 /*
391 * Value constants for VAL_reorg_only
392 */
393 #define NORMAL_PGM (0x0) /* ignore this parameter (and do not ignore Page Mode IE in PAGING REQUEST messages); used to switch off REORG_ONLY */
394 #define REORG_ONLY (0x1) /* set page mode to paging reorganisation */
395
396 /*
397 * Value constants for VAL_sync_only
398 */
399 #define NORMAL_BA (0x0) /* normal GSM behaviour */
400 #define SYNC_LIST (0x1) /* GPRS sync only */
401 #define RECONFIRM_SYNC_LIST (0x2) /* Reconfirm Sync 10 sec timer for Pbcch Cells */
402
403 /*
404 * Value constants for VAL_gprs_sync
405 */
406 #define NORMAL_MEAS_REP (0x0) /* normal GSM behaviour */
407 #define SYNC_RESULTS (0x1) /* GPRS sync only */
408
409 /*
410 * Value constants for VAL_ba_id
411 */
412
413 /*
414 * Value constants for VAL_stat
415 */
416 #define STAT_INACT (0x0) /* inactive */
417 #define STAT_ACT (0x1) /* active */
418 #define STAT_CIPH_OFF (0x0) /* ciphering off */
419 #define STAT_CIPH_ON (0x1) /* ciphering on */
420
421 /*
422 * Value constants for VAL_eotd_res
423 */
424 #define EOTD_SUCC (0x0) /* success */
425 #define EOTD_REF (0x1) /* wrong reference BTS */
426
427 /*
428 * Value constants for VAL_mfrm_offset
429 */
430
431 /*
432 * Value constants for VAL_otd_type
433 */
434 #define ROUGH_OTD (0x0) /* only roughOTD has been provided by the NW */
435 #define EXPECTED_OTD (0x1) /* only expectedOTD has been provided by the NW */
436 #define BOTH_OTD (0x2) /* Both OTD type have been provided by the NW */
437
438 /*
439 * Value constants for VAL_exp_otd
440 */
441
442 /*
443 * Value constants for VAL_uncertainty
444 */
445 #define UNC_MAX_2BIT (0x0) /* uncertainty in bits. 0 - 2 bits */
446 #define UNC_MAX_4BIT (0x1) /* uncertainty in bits. 3 - 4 bits */
447 #define UNC_MAX_8BIT (0x2) /* uncertainty in bits. 5 - 8 bits */
448 #define UNC_MAX_12BIT (0x3) /* uncertainty in bits. 9 - 12 bits */
449 #define UNC_MAX_16BIT (0x4) /* uncertainty in bits. 13 - 16 bits */
450 #define UNC_MAX_22BIT (0x5) /* uncertainty in bits. 17 - 22 bits */
451 #define UNC_MAX_30BIT (0x6) /* uncertainty in bits. 23 - 30 bits */
452 #define UNC_GT_30BIT (0x7) /* uncertainty in bits. > 30 bits */
453
454 /*
455 * Value constants for VAL_rough_rtd
456 */
457 #define VAL_ROUGH_RTD___0 (0x0) /* roughRTD in bits (see expected OTD) */
458
459 /*
460 * Value constants for VAL_eotd_avail
461 */
462 #define VAL_EOTD_AVAIL___0 (0x0) /* EOTD is not available */
463 #define VAL_EOTD_AVAIL___1 (0x1) /* EOTD is available */
464
465 /*
466 * Value constants for VAL_gprs_support
467 */
468 #define MPH_GPRS_PROCS_USED (0x1) /* yes */
469 #define MPH_GPRS_PROCS_NOT_USED (0x0) /* no */
470
471 /*
472 * Value constants for VAL_si_to_clean
473 */
474 #define IND_SI_1 (0x1) /* Clean SI 1 buffer */
475 #define IND_SI_2 (0x2) /* Clean SI 2 buffer */
476 #define IND_SI_2BIS (0x4) /* Clean SI 2bis buffer */
477 #define IND_SI_2TER (0x8) /* Clean SI 2ter buffer */
478 #define IND_SI_3 (0x10) /* Clean SI 3 buffer */
479 #define IND_SI_4 (0x20) /* Clean SI 4 buffer */
480 #define IND_SI_13 (0x40) /* Clean SI 13 buffer */
481 #define IND_SI_5 (0x100) /* Clean SI 5 buffer */
482 #define IND_SI_5BIS (0x200) /* Clean SI 5bis buffer */
483 #define IND_SI_5TER (0x400) /* Clean SI 5ter buffer */
484 #define IND_SI_6 (0x800) /* Clean SI 6 buffer */
485 #define IND_ALL_IDLE_SI (0x7f) /* Clean all SI of idle mode */
486 #define IND_ALL_IDLE_BA (0xe) /* Clean all SI of idle mode BA list */
487 #define IND_ALL_DEDI_SI (0xf00) /* Clean all SI of dedicated mode */
488 #define IND_ALL_DEDI_BA (0x700) /* Clean all SI of dedicated mode BA list */
489 #define IND_ALL_SI (0xf7f) /* Clean all SI buffers */
490
491 /*
492 * Value constants for VAL_cause
493 */
494 #define NC_STOP_MEAS (0x0) /* Stop the measurement */
495 #define NC_START_MEAS (0x1) /* Start Averaging the measurements */
496 #define NC_REPORT_MEAS (0x2) /* get the meas report from RR */
497
498 /*
499 * Value constants for VAL_region
500 */
501 #define EUROPEAN_REGION (0x0) /* Indicates European region */
502 #define AMERICAN_REGION (0x1) /* Indicates American region */
503
504 /*
505 * Value constants for VAL_search_mode
506 */
507 #define FULL_SEARCH_MODE (0x0) /* Identifies 'Full Search' mode, default mode */
508 #define NORMAL_SEARCH_MODE (0x1) /* Identifies 'Normal Search' mode */
509 #define FAST_SEARCH_MODE (0x2) /* Identifies 'Fast Search' mode */
510 #define BLACK_LIST_SEARCH_MODE (0x3) /* Identifies 'Black List Search' mode */
511
512 /*
513 * Value constants for VAL_whitelist_valid
514 */
515 #define WHITELIST_NOT_VALID (0x0) /* not valid */
516 #define WHITELIST_VALID (0x1) /* valid */
517
518 /*
519 * user defined constants
520 */
521 #define MAX_MA_CHANNELS (0x40)
522 #define MAX_NEIGHBOURCELLS (0x21)
523 #define MAX_CHANNELS (0xa0)
524 #define MAX_NCELL_EOTD_ALR (0xf)
525 #define MAX_NCELL_EOTD_RES (0xc)
526 #define XCOR_NO (0x12)
527 #define STD_900 (0x1)
528 #define STD_EGSM (0x2)
529 #define STD_1900 (0x3)
530 #define STD_1800 (0x4)
531 #define STD_DUAL (0x5)
532 #define STD_DUAL_EGSM (0x6)
533 #define STD_850 (0x7)
534 #define STD_DUAL_US (0x8)
535 #define US_BIT (0x8000)
536 #define STD_BIT_MASK (0x7800)
537 #define STD_BIT_SHIFT (0xb)
538 #define ARFCN_MASK (0x7ff)
539 #define EUROPEAN_FREQ_AREA (0x1)
540 #define AMERICAN_FREQ_AREA (0x2)
541 #define ALL_FREQ_AREA (0x3)
542 #define NEXT_AMERICAN_AREA (0x80)
543 #define LOW_CHANNEL_900 (0x1)
544 #define HIGH_CHANNEL_900 (0x7c)
545 #define LOW_CHANNEL_EGSM (0x3cf)
546 #define HIGH_CHANNEL_EGSM (0x400)
547 #define CHANNEL_0 (0x0)
548 #define CHANNEL_0_INTERNAL (0x400)
549 #define LOW_CHANNEL_1900 (0x200)
550 #define HIGH_CHANNEL_1900 (0x32a)
551 #define LOW_CHANNEL_1800 (0x200)
552 #define HIGH_CHANNEL_1800 (0x375)
553 #define LOW_CHANNEL_850 (0x80)
554 #define HIGH_CHANNEL_850 (0xfb)
555 #define MAX_CARRIERS_GSM900 (0x7c)
556 #define MAX_CARRIERS_EGSM900 (0xae)
557 #define MAX_CARRIERS_PCS1900 (0x12b)
558 #define MAX_CARRIERS_DCS1800 (0x176)
559 #define MAX_CARRIERS_DUAL (0x1f2)
560 #define MAX_CARRIERS_DUAL_EGSM (0x224)
561 #define MAX_CARRIERS_GSM850 (0x7c)
562 #define MAX_CARRIERS_DUAL_US (0x1a7)
563 #define MAX_EMO_CHANNELS (0x15)
564 #define RR_BA_HIGH (0xff)
565 #define RR_BA_LOW (0x80)
566 #define ALR_BA_HIGH (0x7f)
567 #define ALR_BA_LOW (0x0)
568 #define KC_STRING_SIZE (0x8)
569 #define MAX_RACH_REQ (0x8)
570 #define RR_ALR_MEAS_REPORT_SIZE (0x7)
571 #define LIST_MAX_SIZE (0x80)
572 #define MAX_REGIONS (0x2)
573 #define MAX_NUM_BANDS (0x5)
574 #define LOWER_RXLEV_THRESHOLD (0x4)
575 #define LOWER_RXLEV_THRESHOLD_850 (0x7)
576 #define B_GSM_850 (0x0)
577 #define B_GSM_900 (0x1)
578 #define B_DCS_1800 (0x2)
579 #define B_PCS_1900 (0x3)
580 #define B_E_GSM (0x4)
581 #define FULL_SEARCH_MODE_ATTEMPTS (0x5)
582 #define NORMAL_SEARCH_MODE_ATTEMPTS (0x5)
583 #define TIM_FULL_SEARCH_POWERMEAS_VAL (0xfa0)
584 #define TIM_NORMAL_SEARCH_POWERMEAS_VAL (0xfa0)
585 #define MIN_CHANNELS_PER_BAND (0x28)
586 #define MAX_CHANNELS_PER_BAND (0x3c)
587
588 #include "CDG_LEAVE.h"
589
590
591 #endif