comparison src/g23m-gprs/llc/llc_itxf.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
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 : Definitions for llc_itxf.c
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef LLC_ITXF_H
22 #define LLC_ITXF_H
23
24
25 EXTERN void itx_init (void);
26
27 EXTERN void itx_init_sapi (void);
28
29 EXTERN void itx_send_next_frame (T_ABIT_REQ_TYPE req);
30
31 EXTERN void itx_i_queue_clean (void);
32
33 EXTERN void itx_i_queue_store
34 (
35 #ifdef LL_DESC
36 T_LL_DESC_REQ*, BOOL *store_failed
37 #else
38 T_LL_DATA_REQ*, BOOL *store_failed
39 #endif
40 );
41 EXTERN void itx_i_queue_set_status (T_IQ_STATUS status, T_FRAME_NUM num);
42
43 #ifdef LL_2to1
44 EXTERN void itx_i_queue_get_ready (BOOL* found, T_LL_reference1* reference, UBYTE state);
45 #else
46 EXTERN void itx_i_queue_get_ready (BOOL* found, T_reference1* reference, UBYTE state);
47 #endif
48
49 #ifdef LL_2to1
50 EXTERN void itx_send_ll_data_cnf (T_LL_reference1* reference);
51 #else
52 EXTERN void itx_send_ll_data_cnf (T_reference1* reference);
53 #endif
54
55 EXTERN void itx_handle_ll_ready_ind(BOOL data_send);
56
57 EXTERN void itx_s_queue_store (T_COMMAND, T_ABIT_REQ_TYPE, T_FRAME_NUM nr,
58 T_SACK_BITMAP*);
59
60 EXTERN void itx_s_queue_clean (void);
61
62
63 #endif /* !LLC_ITXF_H */
64