blob: 70b374371c3be48f8eaa2c2040c6df6c97b2bc3c [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 * sm.sap
49 *
50 * Project:
51 * --------
52 * MAUI
53 *
54 * Description:
55 * ------------
56 * SM 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 *
73 * removed!
74 * removed!
75 * removed!
76 * removed!
77 *
78 * removed!
79 * removed!
80 * removed!
81 *
82 * removed!
83 * removed!
84 * removed!
85 *
86 * removed!
87 * removed!
88 * removed!
89 *
90 * removed!
91 * removed!
92 * removed!
93 *
94 * removed!
95 * removed!
96 * removed!
97 *
98 * removed!
99 * removed!
100 * removed!
101 *
102 * removed!
103 * removed!
104 * removed!
105 *
106 * removed!
107 * removed!
108 * removed!
109 *
110 * removed!
111 * removed!
112 * removed!
113 *
114 * removed!
115 * removed!
116 * removed!
117 *
118 * removed!
119 * removed!
120 *
121 * removed!
122 * removed!
123 *
124 * removed!
125 * removed!
126 * removed!
127 *
128 * removed!
129 * removed!
130 * removed!
131 *
132 * removed!
133 * removed!
134 * removed!
135 *
136 * removed!
137 * removed!
138 * removed!
139 *
140 * removed!
141 * removed!
142 * removed!
143 *
144 * removed!
145 * removed!
146 * removed!
147 *
148 * removed!
149 * removed!
150 * removed!
151 *
152 * removed!
153 * removed!
154 * removed!
155 *
156 * removed!
157 * removed!
158 * removed!
159 *
160 * removed!
161 * removed!
162 * removed!
163 *
164 * removed!
165 * removed!
166 * removed!
167 *
168 * removed!
169 * removed!
170 * removed!
171 *
172 * removed!
173 * removed!
174 * removed!
175 *
176 *------------------------------------------------------------------------------
177 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
178 *==============================================================================
179 *******************************************************************************/
180
181/********************************************************************************
182* Copyright Statement:
183* --------------------
184*
185* This product has been developed using a protocol stack
186* developed by Sasken Communication Technologies Limited.
187*
188********************************************************************************/
189#include "module_msg_range.h"
190
191#ifndef _SM_MSG_H
192#define _SM_MSG_H
193
194 /*------------------- SM_MSG_CODE_BEGIN---------------------*/
195
196MODULE_MSG_BEGIN( MSG_ID_SM_CODE_BEGIN )
197 MSG_ID_SMREG_PDP_ACTIVATE_REQ = MSG_ID_SM_CODE_BEGIN,
198 MSG_ID_SMREG_PDP_DEACTIVATE_REQ,
199 MSG_ID_SMREG_PDP_MODIFY_REQ,
200 MSG_ID_SMREG_PDP_ACTIVATE_SEC_REQ,
201 MSG_ID_SM_RATDM_ACTIVATE_CNF,
202 MSG_ID_SM_RATDM_MODIFY_CNF,
203 MSG_ID_SM_RATDM_DEACTIVATE_CNF,
204 MSG_ID_SM_RATDM_STATUS_IND,
205 MSG_ID_SM_NSAPI_MSG_CODE_END = MSG_ID_SM_RATDM_STATUS_IND,
206
207 /* Carlson Lin 2012-04-17 LTE MultiMode */
208
209 MSG_ID_ESM_SM_IRAT_INFO_TRANSFER_REQ, /* ESM->SM : 4G23 context transfer req */
210 MSG_ID_SM_ESM_IRAT_INFO_TRANSFER_CNF, /* ESM->SM : 23G4 context transfer cnf */
211
212 MSG_ID_GMMSM_RAT_CHANGE_IND, // (23G4 start)
213 MSG_ID_L4CSM_RAT_CHANGE_RSP, // (23G4 finish)
214 MSG_ID_GMMSM_RAT_CHANGE_CNF, // (4G23 finish) note: need two stage CNF if IRCCO
215 MSG_ID_L4CSM_RAT_CHANGE_REQ, // (4G23 start)
216 MSG_ID_SM_ESM_EPSB_CONTEXT_TRANSFER_IND, // 4G23 success context transfer: ESM --> SM
217 MSG_ID_ESM_SM_IRAT_INFO_TRANSFER_REQ_FOR_SM_UT, // to verify function: sm_irat_local_activate_lte_transferred_context()
218 //MSG_ID_SM_ESM_EPSB_CONTEXT_TRANSFER_RSP, // 4G23 success context transfer: SM --> ESM
219 MSG_ID_SM_ESM_STANDBY_ON_OLD_RAT_IND, // 4G23 success context transfer : ESM --> SM
220 //MSG_ID_SM_ESM_PDP_CONTEXT_TRANSFER_REQ, // 23G4 success context transfer: SM --> ESM
221 MSG_ID_SM_ESM_PDP_CONTEXT_TRANSFER_CNF, // 23G4 success context transfer : ESM --> SM
222 //MSG_ID_SM_ESM_STANDBY_ON_OLD_RAT_REQ, // 23G4 success context transfer: SM --> ESM
223
224 MSG_ID_SM_TRACE_SMREG_PDP_ACTIVATE_REQ, // print structure to trace
225 MSG_ID_SM_TRACE_SMREG_PDP_ACTIVATE_SEC_REQ, // print structure to trace
226 MSG_ID_SMREG_ALLOW_DL_PACKET_IND,
227
228 /*Huifeng: PS Swtich msg*/
229 MSG_ID_GMMSM_PS_SWITCH_CONTEXT_TRANSFER_IND,
230 MSG_ID_L4C_SM_PS_SWITCH_CONTEXT_TRANSFER_RSP,
231 MSG_ID_GMMSM_PS_SWITCH_CONTEXT_TRANSFER_CNF,
232 MSG_ID_L4C_SM_PS_SWITCH_CONTEXT_TRANSFER_REQ,
233 MSG_ID_SM_PS_SWITCH_PDP_CONTEXT_TRANSFER_REQ,
234 MSG_ID_SM_PS_SWITCH_PDP_CONTEXT_TRANSFER_CNF,
235 MSG_ID_SM_PS_SWITCH_STANDBY_ON_OLD_RAT_REQ,
236
237 /* Jeff Wu 2007-03-03: RATDM -> SM */
238 MSG_ID_SM_RATDM_RAB_ACTIVATE_CNF,
239 MSG_ID_SM_RATDM_RAB_ACTIVATE_IND,
240 MSG_ID_SM_RATDM_RAB_DEACTIVATE_IND,
241
242 /* SM Core <-> SM Conn */
243 MSG_ID_SM_CONN_SEND_REQ,
244 MSG_ID_SM_CONN_SEND_CNF,
245 MSG_ID_SM_CONN_ABORT_REQ,
246 MSG_ID_SM_CONN_ABORT_CNF,
247 MSG_ID_SM_CONN_ABORT_FAIL,
248 MSG_ID_SM_CONN_SEND_FAIL,
249 MSG_ID_SM_CONN_ERR_IND,
250 MSG_ID_SM_CONN_DETACH_IND,
251 MSG_ID_SM_CONN_CANCEL_NOTIFY,
252 MSG_ID_SM_CONN_IRAT_SYNC_STATE_NOTIFY,
253 MSG_ID_SM_CONN_STOP_ALL_CONN_TIMER_NOTIFY,
254
255 /* SM UT usage */
256 MSG_ID_SM_CORE_UT_TIMER_EXPIRY_IMMEDICATELY,
257 MSG_ID_SM_CONN_UT_TIMER_EXPIRY_IMMEDICATELY,
258 MSG_ID_SM_CONN_UT_CHECK_GV,
259 MSG_ID_SM_CORE_UT_CHECK_GV,
260 MSG_ID_SM_UT_FRIENDLY_UNITDATA_IND,
261
262 /* 3G, MM -> SM */
263 MSG_ID_GMMSM_ATTACH_CNF,
264 MSG_ID_GMMSM_ATTACH_REJ,
265 MSG_ID_GMMSM_DETACH_IND,
266 MSG_ID_GMMSM_EST_CNF,
267 MSG_ID_GMMSM_EST_REJ,
268 MSG_ID_GMMSM_ERR_IND,
269 MSG_ID_GMMSM_UNITDATA_CNF,
270
271 MSG_ID_GMMSM_UNITDATA_IND,
272 MSG_ID_GMMSM_SUSPEND_REQ,
273 MSG_ID_GMMSM_RESUME_REQ,
274 MSG_ID_GMMSM_NSAPI_STATUS_IND, //__REL4__
275 MSG_ID_GMMSM_RAT_IND, // When 4G23 irat_type==IR_TYPE_SEARCH, SM need to queue ESM transferred context until receiving GMMSM_RAT_IND. SM only need to process this message when __LTE_RAT__ is on because this message is only used when 4G23 IR_TYPE_SEARCH interRAT
276 MSG_ID_SMREG_PDP_ACTIVATE_REJ_RSP,
277 MSG_ID_SMREG_PDP_ACTIVATE_SEC_REJ_RSP,
278 MSG_ID_SMREG_DUAL_PRIORITY_CONFIG_REQ,
279
280 MSG_ID_SM_TEST_SM_CALCULATE_HOW_MANY_PDP_ARE_USED, // UT used
281 MSG_ID_GMMSM_CELL_INFO_UPDATE_IND, /* erica 20051229: for egprs */
282 MSG_ID_SM_DSBP_RECONFIGURE_IND,
283#ifdef __GEMINI__
284 MSG_ID_GMMSM_RSIM_AKA_RSIM_ACCESS_FOR_AUTH_DOWNLOAD_REQ,
285 MSG_ID_GMMSM_VIRTUAL_MODE_IND,
286 MSG_ID_SM_CODE_END = MSG_ID_GMMSM_VIRTUAL_MODE_IND,
287#else
288 MSG_ID_SM_CODE_END = MSG_ID_SM_DSBP_RECONFIGURE_IND,
289#endif /*__GEMINI__*/
290
291MODULE_MSG_END( MSG_ID_SM_CODE_TAIL )
292 /*------------------- SM_MSG_CODE_END-----------------------*/
293
294#endif //_SM_MSG_H