comparison src/aci2/aci/psa_pktio.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*
2 +------------------------------------------------------------------------------
3 | File: psa_pktio.h
4 +------------------------------------------------------------------------------
5 | Copyright 2002 Texas Instruments Berlin, AG
6 | All rights reserved.
7 |
8 | This file is confidential and a trade secret of Texas
9 | Instruments Berlin, AG
10 | The receipt of or possession of this file does not convey
11 | any rights to reproduce or disclose its contents or to
12 | manufacture, use, or sell anything it may describe, in
13 | whole, or in part, without the specific written consent of
14 | Texas Instruments Berlin, AG.
15 +------------------------------------------------------------------------------
16 | Purpose: Definitions for the protocol stack adapter
17 | packet i/o managment (MNPKTIO).
18 +------------------------------------------------------------------------------
19 */
20
21 #ifdef GPRS
22 #ifdef FF_PKTIO
23 #ifndef PSA_PKTIO_H
24 #define PSA_PKTIO_H
25
26
27
28 /*==== CONSTANTS ==================================================*/
29
30 /*==== TYPES ======================================================*/
31 typedef T_dio_dcb T_ACI_PKTIO_CAP; /* structure for capabilities of DIO */
32 typedef struct
33 {
34 UBYTE device_no;
35 T_ACI_PKTIO_CAP pktio_cap;
36 } T_ACI_PKTIO;
37 /* only for test purposes */
38 typedef enum{
39 PKT_CONNECT_DTI = 0,
40 PKT_DISCONNECT_DTI
41 }T_DTI_MNG_PKT_MODE;
42
43
44
45
46 /*==== PROTOTYPES =================================================*/
47
48 EXTERN void psaPKT_ConnectRej ( UBYTE device_no);
49 EXTERN void psaPKT_ConnectRes ( UBYTE device_no, T_ACI_PKTIO_CAP * pktio_cap);
50 EXTERN void psaPKT_DTICloseReq ( UBYTE device_no);
51 EXTERN void psaPKT_DTIOpenReq ( UBYTE device_no, const char * peer_name,
52 ULONG link_id, UBYTE dti_direction);
53 EXTERN void psaPKT_ModifyReq ( UBYTE device_no, T_ACI_PKTIO_CAP * pktio_cap);
54
55 EXTERN void psaPKT_Dti_Req ( ULONG link_id, UBYTE peer, T_DTI_MNG_PKT_MODE con_mode);
56
57 /*==== EXPORT =====================================================*/
58
59
60 #endif /* PSA_PKTIO_H */
61 #endif /* FF_PKTIO */
62 #endif /* GPRS */
63 /*==== EOF =======================================================*/