comparison g23m-aci/aci/psa_upmp.c @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
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 defines the processing functions for the
18 | primitives send to the protocol stack adapter by upm.
19 +-----------------------------------------------------------------------------
20 */
21
22 #if defined GPRS
23
24 #ifndef PSA_SNDP_C
25 #define PSA_SNDP_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 #include "ati_cmd.h"
33 #include "aci_cmd.h"
34
35 #include "aci.h"
36
37 #include "dti_conn_mng.h"
38 #include "dti_cntrl_mng.h"
39
40 #include "gaci.h"
41 #include "gaci_cmh.h"
42 #include "psa.h"
43 #include "psa_sm.h"
44 #include "cmh.h"
45 #include "cmh_sm.h"
46
47 #ifdef FF_WAP
48 #include "wap_aci.h"
49 #include "psa_tcpip.h"
50 #endif /* FF_WAP */
51
52 /*==== CONSTANTS ==================================================*/
53
54 /*==== TYPES ======================================================*/
55
56 /*==== EXPORT =====================================================*/
57
58 /*==== IMPORT =====================================================*/
59
60 EXTERN void cmhUPM_Counted( UBYTE nsapi,
61 ULONG octets_uplink,
62 ULONG octets_downlink,
63 ULONG packets_uplink,
64 ULONG packets_downlink );
65
66 /*==== VARIABLES ==================================================*/
67
68 /*==== FUNCTIONS ==================================================*/
69
70
71 /*
72 +-------------------------------------------------------------+
73 | PROJECT : UPM MODULE : PSA_UPM |
74 | STATE : finished ROUTINE : psa_upm_count_cnf |
75 +-------------------------------------------------------------+
76
77 PURPOSE : processes the UPM_COUNT_CNF primitive send by UPM.
78 */
79 GLOBAL void psa_upm_count_cnf ( T_UPM_COUNT_CNF *upm_count_cnf )
80 {
81
82 TRACE_FUNCTION ("psa_upm_count_cnf()");
83
84 cmhUPM_Counted( upm_count_cnf->nsapi,
85 upm_count_cnf->octets_uplink,
86 upm_count_cnf->octets_downlink,
87 upm_count_cnf->packets_uplink,
88 upm_count_cnf->packets_downlink );
89
90 PFREE (upm_count_cnf);
91 }
92
93 #endif /* GPRS */