comparison gsm-fw/g23m-aci/aci/psa_sm.h @ 775:eedbf248bac0

gsm-fw/g23m-aci subtree: initial import from LoCosto source
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Oct 2014 01:45:14 +0000
parents
children
comparison
equal deleted inserted replaced
774:40a721fd9854 775:eedbf248bac0
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 the protocol stack adapter
18 | GPRS session management ( SM ).
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifdef GPRS
23
24 #ifndef PSA_SM_H
25 #define PSA_SM_H
26
27
28
29 /*==== CONSTANTS ==================================================*/
30
31 /*==== TYPES ======================================================*/
32 typedef struct SMSetParm
33 {
34 T_SMREG_PDP_ACTIVATE_REQ *pact; /* primitive parameter */
35 T_SMREG_PDP_ACTIVATE_REQ act; /* primitive parameter */
36 } T_SM_SET_PRM;
37
38 typedef struct SMShrdParm
39 {
40 /* state parameter */
41 UBYTE direc; /* parameter for primitive SMREG_PDP_ACTIVATE_REQ */
42
43 /* set parameter */
44 UBYTE owner; /* identifies the used set */
45 T_SM_SET_PRM setPrm[OWN_SRC_MAX]; /* possible sets */
46
47 /* answer parameter */
48 T_SMREG_PDP_ACTIVATE_CNF *pdp_cnf; /* primitive parameter */
49 T_SMREG_PDP_ACTIVATE_REJ *pdp_rej; /* primitive parameter */
50 T_SMREG_PDP_ACTIVATE_IND act_ind; /* primitive parameter */
51 T_CAUSE_ps_cause mod_rej_cause; /* smreg_pdp_modify_rej cause parameter */
52 USHORT nsapi_set; /* 1 - 15 N-SAPI - ... */
53 T_PS_ctrl_qos ctrl_mod_qos; /* */
54 T_PS_qos mod_qos; /* QOS - modify indication */
55 } T_SM_SHRD_PRM;
56
57 /*==== PROTOTYPES =================================================*/
58
59 void psaSM_Init ( void );
60
61 #ifdef DTI
62 EXTERN void psaSM_smreg_configure_req(U8 rat, U8 cn_release);
63 EXTERN void psaSM_PDP_Deactivate ( USHORT nsapi_set,
64 UBYTE smreg_local );
65 EXTERN void psaSM_smreg_pdp_activate_req( U8 cid,
66 U8 hcomp,
67 U8 dcomp);
68 #ifdef REL99
69 EXTERN void psaSM_smreg_pdp_activate_sec_req( U8 cid );
70 #endif /* REL99 */
71
72 EXTERN void psaSM_PDP_Modify( void );
73 EXTERN void psaSM_PDP_No_activate ( UBYTE smreg_ti, USHORT smreg_cause );
74 #endif /*DTI*/
75 EXTERN void psaSM_ActivateReq ( SHORT cid,
76 UBYTE hcomp,
77 ULONG dti_linkid,
78 ULONG dti_neighbor,
79 UBYTE dti_direction );
80
81 /*==== EXPORT =====================================================*/
82
83 #ifdef PSA_SMF_C
84
85 GLOBAL T_SM_SHRD_PRM smShrdPrm;
86
87 #else
88
89 EXTERN T_SM_SHRD_PRM smShrdPrm;
90
91 #endif /* PSA_SMF_C */
92
93 #endif /* PSA_SM_H */
94
95 #endif /* GPRS */
96 /*==== EOF =======================================================*/