comparison src/g23m-gprs/sndcp/sndcp_sdaf.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 : sndcp_sdaf.h
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 sndcp_sdaf.c
18 +-----------------------------------------------------------------------------
19 */
20
21 /*---- HISTORY --------------------------------------------------------------*/
22 #if 0
23
24 $Log:: /GPRS/Condat/MS/SRC/SNDCP/sndcp_sdaf.h $
25 *
26 * 8 15.05.00 16:55 Hk
27 * T H E E N D.
28 *
29 * 7 15.05.00 16:16 Hk
30 * backup.
31 *
32 * 6 9.05.00 18:59 Hk
33 * XID negotiation work in progress. Backup.
34 *
35 * 5 18.04.00 18:47 Hk
36 * Backup. Work on XID negotiation.
37 *
38 * 4 30.03.00 16:04 Hk
39 *
40 * 3 17.03.00 18:03 Hk
41 * Acknowledged data transfer is now implemented and tested uplink and
42 * downlink.
43 *
44 * 2 10.03.00 17:49 Hk
45 * Backup. First downlink ack data transfer ok (case 700).
46 *
47 * 1 10.03.00 11:43 Hk
48 * Initial.
49 *
50
51
52 #endif
53
54 #ifndef SNDCP_SDAF_H
55 #define SNDCP_SDAF_H
56
57 /*
58 * Convenience functions, not in SDL
59 */
60 EXTERN BOOL sda_f_bit (T_LL_DATA_IND* ll_data_ind);
61 EXTERN UBYTE sda_get_pcomp (T_LL_DATA_IND* ll_data_ind);
62 EXTERN BOOL sda_m_bit (T_LL_DATA_IND* ll_data_ind);
63
64 EXTERN void sda_is_seg_valid(T_LL_DATA_IND* ll_data_ind,
65 BOOL* valid);
66 EXTERN void sda_is_nsapi_rec (UBYTE nsapi, BOOL* b);
67
68 EXTERN void sda_set_nsapi_rec(UBYTE nsapi, BOOL b);
69
70 EXTERN void sda_ac_f_f0 (T_LL_DATA_IND* ll_data_ind);
71
72 EXTERN void sda_ac_f_f1_m0 (T_LL_DATA_IND* ll_data_ind);
73
74 EXTERN void sda_ac_f_f1_m1 (T_LL_DATA_IND* ll_data_ind);
75
76 EXTERN void sda_ac_s_f0_m0 (T_LL_DATA_IND* ll_data_ind);
77
78 EXTERN void sda_ac_s_f0_m1 (T_LL_DATA_IND* ll_data_ind);
79
80 EXTERN void sda_ac_s_f1_m0 (T_LL_DATA_IND* ll_data_ind);
81
82 EXTERN void sda_ac_s_f1_m1 (T_LL_DATA_IND* ll_data_ind);
83
84 EXTERN void sda_delete_cur_sn_data_ind (U8 nsapi);
85
86 EXTERN void sda_get_data_if_nec (UBYTE sapi);
87
88 EXTERN void sda_init (void);
89
90 EXTERN void sda_get_nsapi(T_LL_DATA_IND* ll_data_ind, UBYTE* nsapi);
91
92 #endif /* !SNDCP_SDF_H */
93