1
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /*
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 +-----------------------------------------------------------------------------
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 | Project : GSM-F&D (8411)
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 | Modul : CUS_RLP
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 +-----------------------------------------------------------------------------
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 | Copyright 2002 Texas Instruments Berlin, AG
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 | All rights reserved.
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 | This file is confidential and a trade secret of Texas
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 | Instruments Berlin, AG
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 | The receipt of or possession of this file does not convey
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 | any rights to reproduce or disclose its contents or to
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 | manufacture, use, or sell anything it may describe, in
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 | whole, or in part, without the specific written consent of
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 | Texas Instruments Berlin, AG.
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 +-----------------------------------------------------------------------------
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 | Purpose : Custom dependent definitions for the
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 | Protocol Stack Entity
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 | Radio Link Protocol
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 +-----------------------------------------------------------------------------
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 */
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 #ifndef CUS_RLP_H
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 #define CUS_RLP_H
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 /*==== CONSTANTS ==================================================*/
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 /*
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 * TIMER_VALUES
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 *
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 * Description : The constants define the timer values
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 * for the RLP timers
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 * If the target system uses other units please
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 * change the values.
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 */
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 /* unit is ms */
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 #define TT_VALUE 1000
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 #ifdef _SIMULATION_
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 #define TUL_RCV_VALUE 1000
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 #else
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 #define TUL_RCV_VALUE 50
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 #endif
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 /*
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 * VERSION
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 *
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 * Description : The constants define the type and the value
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 * of a version identification. The version
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 * is part of the monitor struct.
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 */
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 #define T_VERSION char
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 #define VERSION_RLP "RLP 2.0"
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 /*
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 * VSI_CALLER
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 *
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 * Description : For multithread applications the constant VSI_CALLER
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 * must be defined to identify the calling thread of the
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 * VSI-Interface. This must be done correponding to the
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 * type of T_VSI_CALLER in VSI.H. The comma symbol is
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 * neccessary because the vsi-functions are called
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 * like this vsi_xxx (VSI_CALLER par2, par3 ...)
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 */
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 #ifdef OPTION_MULTITHREAD
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 #define VSI_CALLER rlp_handle,
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 #define VSI_CALLER_SINGLE rlp_handle
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 #else
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 #define VSI_CALLER
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 #define VSI_CALLER_SINGLE
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 #endif
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75
|
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 #endif
|