comparison src/g23m-gprs/grlc/grlc_rdf.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 service RD.
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef GRLC_RDF_H
22 #define GRLC_RDF_H
23
24
25 EXTERN void rd_init ( void );
26
27
28 EXTERN void rd_tbf_init ( void );
29
30
31 EXTERN BOOL rd_read_li_m_of_block ( UBYTE * ptr_data_i, UBYTE e_bit_i );
32
33
34 EXTERN void rd_out_grlc_data_ind( void );
35
36
37 EXTERN void rd_out_grlc_data_ind_test( void );
38
39
40 EXTERN void rd_send_grlc_data_ind ( UBYTE bsn_i );
41
42
43 EXTERN BOOL rd_check_window_size ( UBYTE bsn_i );
44
45
46 EXTERN void rd_save_block ( UBYTE bsn_i, UBYTE * ptr_data_block_i, UBYTE fbi_i );
47
48
49 EXTERN void rd_comp_rec_par ( UBYTE bsn_i );
50
51
52 EXTERN UBYTE rd_check_fbi ( UBYTE fbi_i, UBYTE sp, ULONG fn, UBYTE rrbp );
53
54
55 EXTERN UBYTE* rd_set_acknack ( void );
56
57
58 EXTERN UBYTE rd_calc_rlc_data_len ( USHORT block_status_i );
59
60
61 EXTERN void rd_fill_blocks ( UBYTE bsn_i );
62
63
64 EXTERN ULONG rd_calc_delta_fn ( ULONG fn_i );
65
66
67 EXTERN void rd_free_desc_list_partions ( void );
68
69
70 EXTERN void rd_free_database_partions ( void );
71
72
73 EXTERN void rd_cgrlc_st_time_ind ( void );
74
75 #endif /* !GRLC_RDF_H */
76