comparison src/g23m-gprs/llc/llc_f.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_f.c
18 +-----------------------------------------------------------------------------
19 */
20
21
22 #ifndef LLC_F_H
23 #define LLC_F_H
24
25
26 EXTERN void llc_init_parameters (void);
27
28 EXTERN void llc_generate_input (UBYTE sapi,
29 T_PDU_TYPE frame_type,
30 T_FRAME_NUM lfn,
31 ULONG *cipher_input,
32 ULONG oc);
33
34 EXTERN ULONG llc_build_crc24 (UBYTE *octets,
35 USHORT len);
36
37 EXTERN BOOL llc_xid_value_acceptable (UBYTE sapi,
38 UBYTE xid_parameter,
39 ULONG xid_value);
40
41 EXTERN void llc_init_requested_xid (void);
42 EXTERN void llc_init_requested_xid_sapi (T_SAPI sapi);
43
44 #ifdef LL_DESC
45 EXTERN T_desc3* llc_palloc_desc (U16 len, U16 offset);
46 EXTERN void llc_cl_desc3_free(T_desc3* p_desc3);
47 #endif
48
49 #ifndef TI_PS_OP_CIPH_DRIVER
50 EXTERN void llc_fbs_init ( void );
51 #endif
52
53 EXTERN void llc_copy_ul_data_to_list(T_CCI_CIPHER_DESC_REQ *cipher_req,
54 T_CIPH_in_data_list *in_data);
55 EXTERN void llc_copy_dl_data_to_list(T_CCI_DECIPHER_REQ *decipher_req,
56 T_CIPH_in_data_list *in_data_list);
57
58 EXTERN void llc_trace_desc_list3_content(T_desc_list3 desc_list3);
59
60 EXTERN void llc_trace_sdu(T_sdu* sdu);
61
62 EXTERN void llc_trace_desc_list(T_desc_list* desc_list);
63
64
65 #endif /* !LLC_F_H */