comparison src/aci2/aci/psa_pppf_w.c @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : WAP
4 | Modul : PSA_PPPF
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 : Shared
18 +-----------------------------------------------------------------------------
19 */
20 #if defined (FF_WAP) || defined (FF_TCP_IP) || defined (FF_GPF_TCPIP) || defined (FF_SAT_E)
21
22 #ifndef PSA_PPPF_C
23 #define PSA_PPPF_C
24 #endif
25
26 #include "aci_all.h"
27 /*==== INCLUDES ===================================================*/
28 #include "aci_cmh.h"
29 #include "ati_cmd.h"
30 #include "aci_cmd.h"
31
32 #include "dti.h" /* functionality of the dti library */
33 #include "dti_conn_mng.h"
34
35 #include "aci_fd.h"
36 #include "psa.h"
37 #include "wap_aci.h"
38 #include "psa_ppp_w.h"
39
40 /*==== CONSTANTS ==================================================*/
41
42 /*==== TYPES ======================================================*/
43
44
45 /*==== EXPORT =====================================================*/
46
47 /*==== VARIABLES ==================================================*/
48
49 /*==== FUNCTIONS ==================================================*/
50
51 /*
52 +-------------------------------------------------------------------+
53 | PROJECT : WAP MODULE : PSA_PPP |
54 | ROUTINE : psaPPP_Init |
55 +-------------------------------------------------------------------+
56
57 PURPOSE : Initialize the protocol stack adapter for PPP.
58
59 */
60
61 GLOBAL void psaPPP_Init ( void )
62 {
63 /* All shared parameter set to zero */
64 memset (&pppShrdPrm, 0, sizeof (T_PPP_SHRD_PRM));
65 /* Dafault is PAP prot for PPP */
66 pppShrdPrm.auth_prot = PPP_AP_PAP;
67 pppShrdPrm.state = PPP_UNDEFINED;
68 }
69
70 #endif /* FF_WAP or FF_TCP_IP OR FF_GPF_TCPIP or SAT E */
71
72 /*==== EOF ========================================================*/
73