comparison g23m-aci/aci/psa_upms.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 signalling functions of the
18 | protocol stack adapter for the registration part of
19 | the UPM entity.
20 +-----------------------------------------------------------------------------
21 */
22 #if defined GPRS
23
24 #ifndef PSA_UPMS_C
25 #define PSA_SNDS_C
26 #endif
27
28 /*==== INCLUDES ===================================================*/
29 #include "aci_all.h"
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
45 #include "cmh.h"
46 #include "cmh_sm.h"
47
48 #ifdef FF_WAP
49 #include "psa_tcpip.h"
50 #include "wap_aci.h"
51 #endif /* FF_WAP */
52 /*==== CONSTANTS ==================================================*/
53
54 /*==== TYPES ======================================================*/
55
56 /*==== EXPORT =====================================================*/
57
58 /*==== VARIABLES ==================================================*/
59
60 /*==== FUNCTIONS ==================================================*/
61
62 /*
63 +-------------------------------------------------------------------+
64 | PROJECT : UMTS MODULE : PSA_UPM |
65 | STATE : finished ROUTINE : psa_upm_count_req |
66 +-------------------------------------------------------------------+
67
68 PURPOSE : Requests UPM count.
69
70 */
71 GLOBAL void psa_upm_count_req ( UBYTE c_id, BOOL reset )
72 {
73 PALLOC (upm_count_req, UPM_COUNT_REQ);
74
75 TRACE_FUNCTION ("psa_upm_count_req()");
76
77 upm_count_req -> nsapi = c_id;
78
79 if( reset )
80 {
81 upm_count_req -> reset = NAS_RESET_YES;
82 }
83 else
84 {
85 upm_count_req -> reset = NAS_RESET_NO;
86 }
87
88 PSENDX (UPM, upm_count_req);
89 }
90
91
92 #endif /* GPRS */