comparison src/g23m-gprs/grlc/grlc_func.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 : GPRS (8441)
4 | Modul : GRLC
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 for grlc_func.c. Only in Target used.
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef GRLC_FUNC_H
22 #define GRLC_FUNC_H
23
24 /*
25 * Mapping of TI-types to Condat-types
26 */
27 #define UWORD8 UBYTE
28 #define WORD8 UBYTE
29 #define WORD16 SHORT
30 #define UWORD16 USHORT
31 #define UWORD32 ULONG
32 #define API USHORT
33
34 EXTERN void maca_power_control ( UWORD8 assignment_id,
35 BOOL crc_error,
36 WORD8 bcch_level,
37 UWORD16 radio_freq[MAC_BURST_PER_BLOCK],
38 WORD8 burst_level[MAC_BURST_PER_BLOCK],
39 UWORD8 *pch );
40
41 #ifdef _TARGET_
42
43 EXTERN void rlc_uplink ( UWORD8 assignment_id,
44 UWORD8 tx_data_no,
45 UWORD32 fn,
46 UWORD8 timing_advance_value,
47 T_ul_poll_resp * ul_poll_response,
48 T_ul_data * ul_data,
49 BOOL allocation_exhausted);
50
51
52 EXTERN void rlc_downlink ( UWORD8 assignment_id,
53 UWORD32 fn,
54 T_dl_struct *data_ptr,
55 UWORD8 rlc_blocks_sent,
56 UWORD8 last_poll_response);
57 #endif /* _TARGET_*/
58
59
60 #endif /* !GRLC_FUNC_H */
61