comparison src/g23m-gprs/llc/llc_txf.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 : Definitions for llc_txf.c
18 +-----------------------------------------------------------------------------
19 */
20
21
22 #ifndef LLC_TXF_H
23 #define LLC_TXF_H
24
25
26 EXTERN void llc_tx_init (void);
27
28 EXTERN void tx_clear_buffer (void);
29
30 EXTERN void tx_send_cipher_req
31 (
32 #ifdef LL_DESC
33 T_CCI_CIPHER_DESC_REQ *cci_cipher_desc_req,
34 #else
35 T_CCI_CIPHER_REQ *cci_cipher_desc_req,
36 #endif
37 T_PDU_TYPE frame_type,
38 UBYTE protected_mode,
39 T_FRAME_NUM ns,
40 UBYTE cipher,
41 ULONG oc
42 );
43
44 GLOBAL void tx_reserve_buffer
45 (
46 #ifdef LL_DESC
47 T_LL_UNITDESC_REQ *ll_unitdesc_req,
48 #else
49 T_LL_UNITDATA_REQ *ll_unitdesc_req,
50 #endif
51 T_PRIM_TYPE prim_type,
52 UBYTE cause,
53 T_SERVICE rx_service,
54 ULONG *reservation_no,
55 BOOL *buffer_available
56 );
57
58
59 GLOBAL void tx_store_buffer (T_GRLC_DATA_REQ *grlc_data_req);
60
61 EXTERN void tx_get_next_frame (T_GRLC_DATA_REQ **grlc_data_req,
62 T_GRLC_UNITDATA_REQ **grlc_unitdata_req,
63 T_PRIM_TYPE *prim_type,
64 T_SERVICE *rx_service,
65 UBYTE *sapi);
66
67 EXTERN void tx_get_first_data_frame (T_TX_QUEUE **elem);
68
69 EXTERN void tx_remove_data_frames (T_SERVICE service, T_SAPI sapi);
70
71
72 #endif /* !LLC_TXS_H */
73