blob: be9835203c5a76029a7262a9efe8e54453fdf9cd [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2005
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35 /*******************************************************************************
36 * Copyright Statement:
37 * --------------------
38 * This software is protected by Copyright and the information contained
39 * herein is confidential. The software may not be copied and the information
40 * contained herein may not be used or disclosed except with the written
41 * permission of MediaTek Inc. (C) 2001
42 *
43 *******************************************************************************/
44
45 /*******************************************************************************
46 * Filename:
47 * ---------
48 * ppp.sap
49 *
50 * Project:
51 * --------
52 * MAUI
53 *
54 * Description:
55 * ------------
56 * PPP related message identity definition
57 *
58 * Author:
59 * -------
60 * -------
61 *
62 *==============================================================================
63 * HISTORY
64 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
65 *------------------------------------------------------------------------------
66 * removed!
67 *
68 * removed!
69 * removed!
70 * removed!
71 * removed!
72 * removed!
73 * removed!
74 * removed!
75 *
76 * removed!
77 * removed!
78 * removed!
79 *
80 * removed!
81 * removed!
82 * removed!
83 *
84 * removed!
85 * removed!
86 * removed!
87 *
88 * removed!
89 * removed!
90 * removed!
91 *
92 * removed!
93 * removed!
94 * removed!
95 *
96 * removed!
97 * removed!
98 * removed!
99 *
100 * removed!
101 * removed!
102 * removed!
103 *
104 * removed!
105 * removed!
106 * removed!
107 * removed!
108 * removed!
109 * removed!
110 * removed!
111 * removed!
112 * removed!
113 * removed!
114 *
115 * removed!
116 * removed!
117 * removed!
118 *
119 * removed!
120 * removed!
121 * removed!
122 *
123 *------------------------------------------------------------------------------
124 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
125 *==============================================================================
126 *******************************************************************************/
127#include "module_msg_range.h"
128
129#ifndef _PPP_MSG_H
130#define _PPP_MSG_H
131
132 /*-------------- PPP_MSG_CODE_BEGIN ------------------------*/
133
134MODULE_MSG_BEGIN( MSG_ID_PPP_CODE_BEGIN )
135 /*-------------- PPP for GPRS messages ---------------------*/
136 /* msg from L4C */
137
138 MSG_TAG_PPP_FIRST_GPRS_MSG = MSG_ID_PPP_CODE_BEGIN,
139 MSG_ID_L4CPPP_ACTIVATE_REQ = MSG_TAG_PPP_FIRST_GPRS_MSG,
140 MSG_ID_L4CPPP_DEACTIVATE_REQ,
141 MSG_ID_L4CPPP_RESUME_REQ,
142 MSG_ID_L4CPPP_PPPTYPEPDP_UART_TRANSFER_IND, // PPP Type PDP Dialup Feature
143 MSG_ID_L4CPPP_IPV4V6_FALLBACK_RSP, //__IPV4V6__
144
145 /* msg from TCM */
146 MSG_ID_TAF_EXT_PDP_ACTIVATE_ACK_RSP,
147 MSG_ID_TAF_EXT_PDP_ACTIVATE_REJ_RSP,
148 MSG_ID_TAF_EXT_PDP_DEACTIVATE_ACK_RSP,
149 MSG_ID_TAF_EXT_PDP_DEACTIVATE_REQ,
150 MSG_ID_TAF_DATA_REQ,
151 MSG_ID_TAF_EXT_UPDATE_PDP_ADDR_REQ,
152 MSG_ID_TAF_EXT_PDP_SET_IP_AND_DNS_INFO_CNF,
153 //mtk04121
154 /* PPP Dial-up */
155 MSG_ID_TAF_EXT_ENTER_DATA_MODE_CNF,
156
157 /* msg to self(PPP) */
158 MSG_ID_PPP_FLC_DATA_RESUME_IND,
159 MSG_ID_PPP_STATUS_REPORT_IND,
160 MSG_ID_PPP_PROCESS_PKT_IND,
161
162 MSG_ID_TAF_PS_SUSPEND_IND,
163 MSG_ID_TAF_PS_RESUME_IND,
164 MSG_TAG_PPP_LAST_GPRS_MSG = MSG_ID_TAF_PS_RESUME_IND,
165
166
167 /*-------------- PPP for CSD messages ---------------------*/
168 /* msg from L4C */
169 MSG_TAG_PPP_FIRST_CSD_MSG,
170 MSG_ID_L4CPPP_CSD_ACTIVATE_REQ = MSG_TAG_PPP_FIRST_CSD_MSG,
171 MSG_ID_L4CPPP_CSD_DEACTIVATE_REQ,
172
173 /* msg from TCPIP */
174 MSG_ID_TCPIP_PPP_DATA_REQ,
175 MSG_ID_SOC_PPP_DL_SRPDU_RESUME,
176
177 /* msg from CSD */
178 MSG_ID_FLC_PPP_UL_APPDU_RESUME,
179 MSG_ID_PPP_TDT_DATA_IND,
180
181#ifdef __PPP_UT__
182 MSG_ID_PPP_TST_DATA_REQ,
183#endif /* ~ __PPP_UT__ */
184 MSG_ID_PPP_L2R_DATA_IND,
185
186 MSG_TAG_PPP_LAST_CSD_MSG = MSG_ID_PPP_L2R_DATA_IND,
187
188 /*------------- EXT MODEM related messages ----------------*/
189 MSG_TAG_PPP_FIRST_EXT_MODEM_MSG,
190 /* EXT_MODEM <--> PPP */
191 MSG_ID_PPP_EXT_MODEM_DATA_REQ = MSG_TAG_PPP_FIRST_EXT_MODEM_MSG,
192 MSG_ID_PPP_EXT_MODEM_DATA_IND,
193 MSG_ID_EXT_MODEM_PPP_ACTIVATE_REQ,
194 MSG_ID_EXT_MODEM_PPP_ACTIVATE_CNF,
195 MSG_ID_EXT_MODEM_PPP_DEACTIVATE_REQ,
196 MSG_ID_EXT_MODEM_PPP_DEACTIVATE_CNF,
197 MSG_ID_EXT_MODEM_PPP_DEACTIVATE_IND,
198
199 MSG_TAG_PPP_LAST_EXT_MODEM_MSG = MSG_ID_EXT_MODEM_PPP_DEACTIVATE_IND,
200
201 MSG_ID_PPP_CODE_END = MSG_TAG_PPP_LAST_EXT_MODEM_MSG,
202MODULE_MSG_END( MSG_ID_PPP_CODE_TAIL )
203
204 /*--------------- PPP_MSG_CODE_END--------------------*/
205
206#endif //_PPP_MSG_H