FreeCalypso > hg > tcs211-l1-reconst
comparison g23m/condat/ms/src/aci/cmh_smt.c @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
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 : This module implements the test fuinctions related to the | |
18 | protocol stack adapter for GPRS session management ( SM ). | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 | |
22 #ifdef GPRS | |
23 | |
24 #ifndef CMH_SMT_C | |
25 #define CMH_SMT_C | |
26 #endif | |
27 | |
28 #include "aci_all.h" | |
29 /*==== INCLUDES ===================================================*/ | |
30 #include "dti.h" /* functionality of the dti library */ | |
31 #include "aci_cmh.h" | |
32 | |
33 #include "dti_conn_mng.h" | |
34 #include "dti_cntrl_mng.h" | |
35 | |
36 #include "gaci.h" | |
37 #include "gaci_cmh.h" | |
38 #include "psa.h" | |
39 #include "psa_sm.h" | |
40 #include "psa_gppp.h" | |
41 #include "psa_gmm.h" | |
42 | |
43 #include "cmh.h" | |
44 #include "cmh_sm.h" | |
45 #include "cmh_gppp.h" | |
46 #include "cmh_gmm.h" | |
47 | |
48 | |
49 /*==== CONSTANTS ==================================================*/ | |
50 | |
51 /*==== EXPORT =====================================================*/ | |
52 | |
53 /*==== VARIABLES ==================================================*/ | |
54 | |
55 /*==== FUNCTIONS ==================================================*/ | |
56 | |
57 /* | |
58 +--------------------------------------------------------------------+ | |
59 | PROJECT : GSM-PS (8441) MODULE : CMH_SMS | | |
60 | STATE : finnished ROUTINE : tAT_PlusCGPADDR | | |
61 +--------------------------------------------------------------------+ | |
62 | |
63 PURPOSE : This is the functional counterpart to the +CGPADDR= AT | |
64 command which sets the requested QOS. | |
65 */ | |
66 | |
67 GLOBAL T_ACI_RETURN tAT_PlusCGPADDR ( T_ACI_CMD_SRC srcId, SHORT *cids) | |
68 { | |
69 SHORT cid = 1, index = 0; | |
70 | |
71 TRACE_FUNCTION ("tAT_PlusCGPADDR()"); | |
72 | |
73 for (; cid <= MAX_CID; cid++) | |
74 if ( get_state_over_cid(cid) NEQ CS_UNDEFINED ) | |
75 cids[index ++] = cid; | |
76 | |
77 cids[index] = INVALID_CID; | |
78 | |
79 return AT_CMPL; | |
80 } | |
81 | |
82 GLOBAL T_ACI_RETURN tAT_PlusCGSMS ( T_ACI_CMD_SRC srcId, SHORT *service_list) | |
83 { | |
84 | |
85 TRACE_FUNCTION ("tAT_PlusCGSMS()"); | |
86 | |
87 *service_list = 15; | |
88 | |
89 return AT_CMPL; | |
90 } | |
91 | |
92 #endif /* GPRS */ | |
93 /*==== EOF ========================================================*/ |