comparison src/g23m-gprs/llc/llc_par.h @ 183:219afcfc6250

src/g23m-gprs: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Oct 2016 04:24:13 +0000
parents
children
comparison
equal deleted inserted replaced
182:f02d0a0e1849 183:219afcfc6250
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul :
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 : Default values of the LLC layer parameters
18 | (conforming to GSM 04.64)
19 +-----------------------------------------------------------------------------
20 */
21
22
23 #ifndef LLC_PAR_H
24 #define LLC_PAR_H
25
26
27 /*
28 * Default values for the LLC layer parameters (conforming to GSM 04.64).
29 */
30
31 #define LLC_VERSION_ALL_SAPIS 0
32
33 #define LLC_IOV_UI_ALL_SAPIS 0
34
35 /*
36 * The default IOV-I values are calculated with the following formula:
37 * 2^27 * SAPI
38 */
39 #define LLC_IOV_I_SAPI_3 402653184L
40 #define LLC_IOV_I_SAPI_5 671088640L
41 #define LLC_IOV_I_SAPI_9 1207959552L
42 #define LLC_IOV_I_SAPI_11 1476395008L
43
44 /*
45 * Timer values are negotiated in units of 0.1 seconds but are stored
46 * in milliseconds.
47 * NOTE: T201 uses value of T200.
48 */
49 #define LLC_T200_SAPI_1 (50 * XID_TIMER_CONVERSION)
50 #define LLC_T200_SAPI_3 (50 * XID_TIMER_CONVERSION)
51 #define LLC_T200_SAPI_5 (100 * XID_TIMER_CONVERSION)
52 #define LLC_T200_SAPI_7 (200 * XID_TIMER_CONVERSION)
53 #define LLC_T200_SAPI_9 (200 * XID_TIMER_CONVERSION)
54 #define LLC_T200_SAPI_11 (400 * XID_TIMER_CONVERSION)
55
56 #define LLC_N200_SAPI_1 3
57 #define LLC_N200_SAPI_3 3
58 #define LLC_N200_SAPI_5 3
59 #define LLC_N200_SAPI_7 3
60 #define LLC_N200_SAPI_9 3
61 #define LLC_N200_SAPI_11 3
62
63 #define LLC_N201_U_SAPI_1 400
64 #define LLC_N201_U_SAPI_3 500
65 #define LLC_N201_U_SAPI_5 500
66 #define LLC_N201_U_SAPI_7 270
67 #define LLC_N201_U_SAPI_9 500
68 #define LLC_N201_U_SAPI_11 500
69
70 #define LLC_N201_I_SAPI_3 1503
71 #define LLC_N201_I_SAPI_5 1503
72 #define LLC_N201_I_SAPI_9 1503
73 #define LLC_N201_I_SAPI_11 1503
74
75 #define LLC_MD_SAPI_3 1520
76 #define LLC_MD_SAPI_5 760
77 #define LLC_MD_SAPI_9 380
78 #define LLC_MD_SAPI_11 190
79
80 #define LLC_MU_SAPI_3 1520
81 #define LLC_MU_SAPI_5 760
82 #define LLC_MU_SAPI_9 380
83 #define LLC_MU_SAPI_11 190
84
85 #define LLC_KD_SAPI_3 16
86 #define LLC_KD_SAPI_5 8
87 #define LLC_KD_SAPI_9 4
88 #define LLC_KD_SAPI_11 2
89
90 #define LLC_KU_SAPI_3 16
91 #define LLC_KU_SAPI_5 8
92 #define LLC_KU_SAPI_9 4
93 #define LLC_KU_SAPI_11 2
94
95
96 #endif /* LLC_PAR_H */