comparison src/g23m-aci/aci/cmh_pppr.c @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6147)
4 | Modul : CMH_PPPR
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 :
18 +-----------------------------------------------------------------------------
19 */
20 #if defined (FF_WAP) || defined (FF_PPP) || defined (FF_GPF_TCPIP) || defined (FF_SAT_E)
21 /* Only for APP's over UDP/IP or TCP/IP or RNET */
22
23
24 #ifndef CMH_PPPR_C
25 #define CMH_PPPR_C
26 #endif
27
28 #include "aci_all.h"
29
30 /*==== INCLUDES ===================================================*/
31 #include "aci_cmh.h"
32 #include "ati_cmd.h"
33 #include "aci_cmd.h"
34
35 #ifdef FAX_AND_DATA
36 #include "aci_fd.h"
37 #endif
38
39 #include "aci_io.h"
40
41 #include "psa.h"
42 #include "psa_ra.h"
43 #include "psa_cc.h"
44
45 #include "cmh.h"
46
47 #include "cmh_ra.h"
48
49 #include "wap_aci.h"
50
51 /*==== CONSTANTS ==================================================*/
52
53 /*==== EXPORT =====================================================*/
54 EXTERN SHORT cmhCC_PPP_Established (ULONG ip_address, USHORT max_receive_unit,
55 ULONG dns1, ULONG dns2) ;
56 EXTERN SHORT cmhCC_PPP_Terminated ( void );
57
58 EXTERN T_ACI_WAP_STATES wap_state;
59 EXTERN SHORT wapId;
60
61 /*==== VARIABLES ==================================================*/
62
63 /*==== FUNCTIONS ==================================================*/
64
65
66 /*
67 +-------------------------------------------------------------------+
68 | PROJECT : GSM-PS (6147) MODULE : CMH_IPAS |
69 | ROUTINE : cmhPPP_Established |
70 +-------------------------------------------------------------------+
71
72 PURPOSE : PPP Established
73 */
74
75 GLOBAL T_ACI_RETURN cmhPPP_Established (ULONG ip, USHORT mru,
76 ULONG dns1, ULONG dns2)
77 {
78 TRACE_FUNCTION ("cmhPPP_established()");
79
80 cmhCC_PPP_Established(ip, mru, dns1, dns2) ;
81 return (AT_CMPL);
82 }
83
84 /*
85 +-------------------------------------------------------------------+
86 | PROJECT : GSM-PS (6147) MODULE : CMH_IPAS |
87 | ROUTINE : cmhPPP_Terminated |
88 +-------------------------------------------------------------------+
89
90 PURPOSE : PPP Terminated
91 */
92
93 GLOBAL T_ACI_RETURN cmhPPP_Terminated ( void )
94 {
95
96
97 TRACE_FUNCTION ("cmhPPP_Terminated()");
98
99
100 cmhCC_PPP_Terminated( );
101
102 return (AT_CMPL);
103 }
104
105 #endif /* WAP or TCPIP OR FF_GPF_TCPIP or SAT E */