comparison g23m/condat/com/include/cl_rlcmac.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : COMLIB
4 | Modul : RLCMAC
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 : Definitions of global types used by common library functions
18 | and the prototypes of those functions: RLC/MAC layer.
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef CL_RLCMAC_H
23 #define CL_RLCMAC_H
24
25 /*==== CONST ================================================================*/
26 /*
27 * Start defintions from entity RR
28 */
29
30 /*
31 ******************************************************************************
32 * The following declarations shall be identical with the corresponding
33 * declarations located in RR.
34 ******************************************************************************
35 */
36
37 EXTERN UBYTE rr_csf_get_radio_access_capability( T_ra_cap *ra_cap );
38 EXTERN void RX_SetRxQual ( UBYTE new_rx_qual );
39
40 /*
41 ******************************************************************************
42 * The above declarations shall be identical with the corresponding
43 * declarations located in RR.
44 ******************************************************************************
45 */
46
47 /*
48 * End defintions from entity RR
49 */
50
51 /*
52 * Used for tracing purposes, see also function cl_rlcmac_get_msg_name
53 */
54
55 #define RLC_MAC_MAX_LEN_CHANNEL_REQ 2
56
57 #define D_MSG_TYPE_CRC_ERROR_c 0xFD
58 #define D_MSG_TYPE_2ND_SEGMENT_c 0xFE
59 #define D_MSG_TYPE_UNKNOWN_c 0xFF
60
61 #define U_MSG_TYPE_CHANNEL_REQ_c 0xFE
62 #define U_MSG_TYPE_UNKNOWN_c 0xFF
63
64 typedef enum /* T_RLC_MAC_ROUTE */
65 {
66 RLC_MAC_ROUTE_UL,
67 RLC_MAC_ROUTE_DL
68 } T_RLC_MAC_ROUTE;
69
70 /*==== VARS =================================================================*/
71
72 /*==== TYPES =================================================================*/
73
74 /*==== FUNCTIONS ============================================================*/
75
76 #if !defined (NTRACE)
77
78 EXTERN char* cl_rlcmac_get_msg_name ( UBYTE msg_type,
79 T_RLC_MAC_ROUTE route );
80
81 #endif /* #if !defined (NTRACE) */
82
83 #endif /* #ifndef CL_RLCMAC_H */
84