comparison src/g23m-gsm/alr/cus_alr.h @ 104:27a4235405c6

src/g23m-gsm: import from LoCosto source
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 04 Oct 2016 18:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
103:76d139c7a25e 104:27a4235405c6
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS
4 | Modul : CUS_ALR
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Custom dependent definitions for TI-Add on of the
18 | mobile station
19 |
20 | Use this header for definitions to integrate the
21 | protocol stack entity TI-Add on in your target system !
22 +-----------------------------------------------------------------------------
23 */
24 #ifndef CUS_ALR_H
25 #define CUS_ALR_H
26
27 /*==== CONSTANTS ==================================================*/
28
29 /*
30 * FAST_SEARCH_ATTEMPTS
31 *
32 * Description : The constant defines the number of single shots
33 * to measure the fieldstrength of all channels.
34 * for Fast Search Mode.
35 */
36 #define FAST_SEARCH_MODE_ATTEMPTS 1
37
38 /*
39 * BLACK_LIST_SEARCH_ATTEMPTS
40 *
41 * Description : The constant defines the number of single shots
42 * to measure the fieldstrength of all channels.
43 * for Black List Search Mode.
44 */
45 #define BLACK_LIST_SEARCH_MODE_ATTEMPTS 1
46
47 /*
48 * FAST_SEARCH_POWERMEAS_VALUE
49 *
50 * Description : The constant defines the spreading time
51 * to measure the fieldstrength of all channels.
52 * for Fast Search Mode.
53 */
54 #define TIM_FAST_SEARCH_POWERMEAS_VAL 800
55
56 /*
57 * BLACK_LIST_SEARCH_POWERMEAS_VALUE
58 *
59 * Description : The constant defines the spreading time
60 * to measure the fieldstrength of all channels.
61 * for Black List Search Mode.
62 */
63 #define TIM_BLACK_LIST_SEARCH_POWERMEAS_VAL 800
64
65 /*
66 * VERSION
67 *
68 * Description : The constants define the type and the value
69 * of a version identification. The version
70 * is part of the monitor struct.
71 */
72
73
74 #define T_VERSION char
75 #define VERSION_ALR "ALR 1.0"
76
77 /*
78 * VSI_CALLER
79 *
80 * Description : For multithread applications the constant VSI_CALLER
81 * must be defined to identify the calling thread of the
82 * VSI-Interface. This must be done correponding to the
83 * type of T_VSI_CALLER in VSI.H. The comma symbol is
84 * neccessary because the vsi-functions are called
85 * like this vsi_xxx (VSI_CALLER par2, par3 ...)
86 */
87
88 #if defined (NEW_FRAME)
89 #ifdef OPTION_MULTITHREAD
90 #define VSI_CALLER pl_handle,
91 #define VSI_CALLER_SINGLE pl_handle
92 #else
93 #define VSI_CALLER
94 #define VSI_CALLER_SINGLE
95 #endif
96
97 #else
98
99 #ifdef OPTION_MULTITHREAD
100 #define VSI_CALLER PL_NAME,
101 #define VSI_CALLER_SINGLE PL_NAME
102 #else
103 #define VSI_CALLER
104 #define VSI_CALLER_SINGLE
105 #endif
106 #endif
107
108 #endif