comparison src/g23m-fad/t30/cus_t30.h @ 174:90eb61ecd093

src/g23m-fad: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2016 05:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
173:bf64d785238a 174:90eb61ecd093
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-F&D (8411)
4 | Modul : CUS_T30
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 the
18 | Protocol Stack Entity
19 | T30
20 +-----------------------------------------------------------------------------
21 */
22
23 #ifndef CUS_T30_H
24 #define CUS_T30_H
25
26 /*==== CONSTANTS ==================================================*/
27 /*
28 * TIMER_VALUES
29 *
30 * Description : The constants define the timer values
31 * for the T30 timers
32 * If the target system uses other units please
33 * change the values.
34 */
35
36
37 #define T1_VALUE 35000 /* ms +/- 5000 ms */
38 #define T2_VALUE 6000 /* ms +/- 1000 ms */
39 #define T4_VALUE 3000 /* ms +/- 15% */
40 #define DCN_VALUE 500
41 #define MSG_VALUE 12500
42 #define FRAMES_400 1846
43
44 /*
45 * TIMER IDENTIFIER
46 *
47 * Description : The constants define the identifier of the
48 * timer resources of T30. The identifier is used
49 * to reference a timer in a config primitive
50 */
51
52 #define T1_NAME "T1"
53 #define T2_NAME "T2"
54 #define T4_NAME "T4"
55
56 /*
57 * MAX_T30_TIMER
58 *
59 * Description : The constant define the number of timer
60 * available in the timer pool. This should be
61 * the amount of timer which can be active
62 * simultaneously.
63 */
64
65 #define MAX_T30_TIMER 3
66
67 /*
68 * VERSION
69 *
70 * Description : The constants define the type and the value
71 * of a version identification. The version
72 * is part of the monitor struct.
73 */
74
75 #define T_VERSION char
76 #define VERSION_T30 "T30 2.0" /* NEW_FRAME only */
77
78 /*
79 * VSI_CALLER
80 *
81 * Description : For multithread applications the constant VSI_CALLER
82 * must be defined to identify the calling thread of the
83 * VSI-Interface. This must be done correponding to the
84 * type of T_VSI_CALLER in VSI.H. The comma symbol is
85 * neccessary because the vsi-functions are called
86 * like this vsi_t30 (VSI_CALLER par2, par3 ...)
87 */
88
89 #ifdef OPTION_MULTITHREAD
90 #define VSI_CALLER t30_handle,
91 #define VSI_CALLER_SINGLE t30_handle
92 #else
93 #define VSI_CALLER
94 #define VSI_CALLER_SINGLE
95 #endif
96
97 #endif