comparison src/g23m-gprs/sndcp/sndcp_sdf.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_sdf.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_sdf.c
18 +-----------------------------------------------------------------------------
19 */
20
21 /*---- HISTORY --------------------------------------------------------------*/
22 #if 0
23
24 $Log:: /GPRS/Condat/MS/SRC/SNDCP/sndcp_sdf.h $
25 *
26 * 16 15.05.00 16:55 Hk
27 * T H E E N D.
28 *
29 * 15 15.05.00 16:16 Hk
30 * backup.
31 *
32 * 14 9.05.00 18:59 Hk
33 * XID negotiation work in progress. Backup.
34 *
35 * 13 18.04.00 18:47 Hk
36 * Backup. Work on XID negotiation.
37 *
38 * 12 30.03.00 16:04 Hk
39 *
40 * 11 17.03.00 18:03 Hk
41 * Acknowledged data transfer is now implemented and tested uplink and
42 * downlink.
43 *
44 * 10 10.03.00 17:49 Hk
45 * Backup. First downlink ack data transfer ok (case 700).
46 *
47 * 9 7.03.00 18:24 Hk
48 * Backup. Last check in before adding extra downlink service for timeout and
49 * re-ordering.
50 *
51 * 8 25.02.00 18:27 Hk
52 * Backup, test case 346 runs (deactivation of ack context including ll
53 * release.
54 *
55 * 7 17.02.00 14:32 Hk
56 * Last checkin before maybe splitting sd in two services for 1.unack and 2.
57 * ack op mode.
58 *
59 * 6 11.02.00 18:49 Hk
60 * Establishment of LLC acknowledged operation mode. First test case SNDCP035
61 * successful. Backup.
62 *
63 * 5 9.02.00 15:02 Hk
64 * Backup. Unacknowledged data transfer possible. Up to testcase SNDCP034.
65 *
66 * 4 7.02.00 18:02 Hk
67 * Backup, error situations in service sd, up to testcase 028.
68 *
69 * 3 3.02.00 18:08 Hk
70 * Backup, downlink transfer up to test case 016.
71 *
72 * 2 26.01.00 16:24 Hk
73 * Made services sd and nd compilable.
74 *
75 * 1 25.01.00 17:31 Hk
76 * Initial.
77
78 #endif
79
80 #ifndef SNDCP_SDF_H
81 #define SNDCP_SDF_H
82
83 /*
84 * Convenience functions, not in SDL
85 */
86 EXTERN BOOL sd_f_bit (T_LL_UNITDATA_IND* ll_unitdata_ind);
87
88 EXTERN UBYTE sd_get_pcomp (T_LL_UNITDATA_IND* ll_unitdata_ind);
89 EXTERN BOOL sd_m_bit (T_LL_UNITDATA_IND* ll_unitdata_ind);
90
91 EXTERN void sd_is_nsapi_rec (UBYTE nsapi, BOOL* b);
92
93 EXTERN void sd_is_seg_valid(T_LL_UNITDATA_IND* ll_unitdata_ind,
94 BOOL* valid);
95
96 EXTERN void sd_set_nsapi_rec(UBYTE nsapi, BOOL b);
97
98 EXTERN void sd_un_d_f0_m0 (T_LL_UNITDATA_IND* ll_unitdata_ind);
99
100 EXTERN void sd_un_d_f0_m1 (T_LL_UNITDATA_IND* ll_unitdata_ind);
101
102 EXTERN void sd_un_d_f1_m0 (T_LL_UNITDATA_IND* ll_unitdata_ind);
103
104 EXTERN void sd_un_d_f1_m1 (T_LL_UNITDATA_IND* ll_unitdata_ind);
105
106 EXTERN void sd_un_f_f0_m0 (T_LL_UNITDATA_IND* ll_unitdata_ind);
107
108 EXTERN void sd_un_f_f0_m1 (T_LL_UNITDATA_IND* ll_unitdata_ind);
109
110 EXTERN void sd_un_f_f1_m0 (T_LL_UNITDATA_IND* ll_unitdata_ind);
111
112 EXTERN void sd_un_f_f1_m1 (T_LL_UNITDATA_IND* ll_unitdata_ind);
113
114 EXTERN void sd_un_s_f0_m0 (T_LL_UNITDATA_IND* ll_unitdata_ind);
115
116 EXTERN void sd_un_s_f0_m1 (T_LL_UNITDATA_IND* ll_unitdata_ind);
117
118 EXTERN void sd_un_s_f1_m0 (T_LL_UNITDATA_IND* ll_unitdata_ind);
119
120 EXTERN void sd_un_s_f1_m1 (T_LL_UNITDATA_IND* ll_unitdata_ind);
121
122 EXTERN void sd_delete_cur_sn_unitdata_ind (U8 nsapi);
123
124 EXTERN void sd_get_unitdata_if_nec (UBYTE sapi);
125
126 EXTERN void sd_init (void);
127
128 EXTERN void sd_get_nsapi (T_LL_UNITDATA_IND* ll_unitdata_ind, UBYTE* nsapi);
129
130 #endif /* !SNDCP_SDF_H */
131