FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/psa_pppf_w.c @ 775:eedbf248bac0
gsm-fw/g23m-aci subtree: initial import from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 12 Oct 2014 01:45:14 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
774:40a721fd9854 | 775:eedbf248bac0 |
---|---|
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_PPP) || 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 = A_PAP; | |
67 pppShrdPrm.state = PPP_UNDEFINED; | |
68 } | |
69 | |
70 #endif /* FF_WAP or FF_PPP OR FF_GPF_TCPIP or SAT E */ | |
71 | |
72 /*==== EOF ========================================================*/ | |
73 |