[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/modem/net/inc/oss_ppp.h b/cp/ps/modem/net/inc/oss_ppp.h
new file mode 100644
index 0000000..ccd6ea3
--- /dev/null
+++ b/cp/ps/modem/net/inc/oss_ppp.h
@@ -0,0 +1,102 @@
+/**************************************************************************

+*

+*                  Copyright (c) 2012 ZTE Corporation.

+*

+***************************************************************************

+* Ä£ ¿é Ãû : P98C_OSS

+* ÎÄ ¼þ Ãû : oss_ppp.h

+* Ïà¹ØÎļþ : 

+* ʵÏÖ¹¦ÄÜ : pppÄ£¿é¶ÔÍâÍ·Îļþ

+* ×÷    Õß : zhangpeirong

+* °æ    ±¾ : V1.0

+* Íê³ÉÈÕÆÚ : 2012-08-06 

+* ÆäËü˵Ã÷ : 

+**************************************************************************/

+

+/**************************************************************************

+* Ð޸ļǼ

+**************************************************************************/

+/**************************************************************************

+* Ð޸ıàºÅ : 0001

+* ÐÞ ¸Ä ÈË : zpr

+* ÐÞ¸ÄÈÕÆÚ : 2012-06-20

+* ÐÞ¸ÄÄÚÈÝ : EC:617001563315,PSBUFλÖøüÐÂ

+**************************************************************************/

+#ifndef _OSS_PPP_H

+#define _OSS_PPP_H

+

+/**************************************************************************

+* #includeÇø

+**************************************************************************/

+#include "ppp_api.h"

+

+#ifdef __cplusplus

+extern "C"  

+{

+#endif

+

+/**************************************************************************

+* ³£Á¿¶¨ÒåÇø

+**************************************************************************/

+#define PPPIOCTL_PDP_TYPE                   ZPPP_CTRL_GET_PDP_TYPE                  

+#define PPPIOCTL_SET_PDPTYPE                ZPPP_CTRL_SET_PDP_TYPE               

+#define PPPIOCTL_MTU                        ZPPP_CTRL_GET_MRU                       

+#define PPPIOCTL_SET_MTU                    ZPPP_CTRL_SET_MRU                     

+#define PPPIOCTL_SET_PPPOE_INPUTPACKET_CB   ZPPP_CTRL_SET_PPPOE_INPUTPACKET_CB  

+#define PPPIOCTL_SET_ATI2_IPADDRS_CB        ZPPP_CTRL_SET_ATI_IPADDRS_CB       

+#define PPPIOCTL_SET_ATI2_NOTREADY          ZPPP_CTRL_SET_ATI_NOTREADY   

+

+#define PPPERR_NONE         ZPPP_ERR_NONE      

+#define PPPERR_PARAM        ZPPP_ERR_PARAM     

+#define PPPERR_OPEN         ZPPP_ERR_OPEN      

+#define PPPERR_DEVICE       ZPPP_ERR_DEVICE    

+#define PPPERR_ALLOC        ZPPP_ERR_ALLOC     

+#define PPPERR_USER         ZPPP_ERR_USER      

+#define PPPERR_CONNECT      ZPPP_ERR_CONNECT   

+#define PPPERR_AUTHFAIL     ZPPP_ERR_AUTHFAIL  

+#define PPPERR_PROTOCOL     ZPPP_ERR_PROTOCOL  

+#define PPPERR_RECVATEND    ZPPP_ERR_RECVATEND 

+#define PPPERR_EXITPPP      ZPPP_ERR_EXITPPP   

+

+/**************************************************************************

+* Êý¾Ý½á¹¹¶¨ÒåÇø

+**************************************************************************/

+typedef enum

+{

+    PPP_PPPOE_DOING,                /* ЭÉÌ̬     */

+    PPP_PPPOE_SUCCESS,              /* ЭÉÌÍê³É   */

+    PPP_PPPOE_FAIL,                 /* ЭÉÌʧ°Ü   */

+    PPP_PPPOE_IPPACKET,             /* IP°ü»Ø´«   */

+    PPP_PPPOE_UNKNOWPACKET_ERROR    /* ²»Ê¶±ðµÄ°ü */

+}E_ZOss_PppoeStatusNotify;

+

+typedef T_zPpp_Sio T_ZOss_PppSio;

+

+typedef T_zPpp_IpAddrs T_ZOss_PppIpAddrs;

+

+typedef T_zPpp_LinkCtrl T_ZOss_PppLinkCtl;

+

+/* ¶¨Òå֪ͨ¹¤¾ß·µ»ØIP°ü»Øµ÷µÄº¯ÊýÀàÐÍ */          

+typedef BOOL (*OutputPacket_CB)(UINT32 pppNum, VOID *packet, UINT32 packetLen, UINT8 flag);

+

+/**************************************************************************

+* º¯ÊýÉùÃ÷Çø

+**************************************************************************/ 

+#define zOss_PppOpen                    zPpp_Open

+#define zOss_PppClose                   zPpp_Close

+#define zOss_PppStart                   zPpp_Start

+#define zOss_PppWriteIp                 zPpp_WriteIp

+#define zOss_InputDataFromPppoe         zPpp_InputDataFromPppoe

+#define zOss_PppIOCtl                   zPpp_Ctrl

+#define zOss_PppRegOutputPppPacketCb    zPpp_RegOutputPppPacketCb

+

+/**************************************************************************

+* È«¾Ö±äÁ¿ÉùÃ÷Çø

+**************************************************************************/

+

+#ifdef __cplusplus

+} 

+#endif

+

+#endif  /* _OSS_PPP_H */

+