blob: b279699b6a8bb0f5b3f6fff6f50380589dbbe571 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
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/*******************************************************************************
37 * Filename:
38 * ---------
39 * mm2cm_struct.h
40 *
41 * Project:
42 * --------
43 * MAUI
44 *
45 * Description:
46 * ------------
47 * This file is intends for structure definition between MM and Cm layers.
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 *==============================================================================
54 * HISTORY
55 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
56 *------------------------------------------------------------------------------
57 * removed!
58 *
59 * removed!
60 * removed!
61 * removed!
62 *
63 * removed!
64 * removed!
65 * removed!
66 *
67 * removed!
68 * removed!
69 * removed!
70 *
71 * removed!
72 * removed!
73 * removed!
74 *
75 * removed!
76 * removed!
77 * removed!
78 *
79 * removed!
80 * removed!
81 *
82 * removed!
83 * removed!
84 * removed!
85 *
86 * removed!
87 * removed!
88 *
89 * removed!
90 * removed!
91 * removed!
92 *
93 * removed!
94 * removed!
95 * removed!
96 *
97 * removed!
98 * removed!
99 * removed!
100 *
101 * removed!
102 * removed!
103 * removed!
104 *
105 * removed!
106 * removed!
107 * removed!
108 *
109 * removed!
110 * removed!
111 * removed!
112 *
113 * removed!
114 * removed!
115 * removed!
116 *
117 *------------------------------------------------------------------------------
118 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
119 *==============================================================================
120 *******************************************************************************/
121
122/********************************************************************************
123* Copyright Statement:
124* --------------------
125*
126* This product has been developed using a protocol stack
127* developed by Sasken Communication Technologies Limited.
128*
129********************************************************************************/
130
131
132#ifndef _MM2CM_STRUCT_H
133#define _MM2CM_STRUCT_H
134
135#include "kal_general_types.h"
136#include "mcd_l3_inc_struct.h"
137#include "l3_inc_enums.h"
138#include "kal_public_defs.h"
139
140typedef struct {
141 LOCAL_PARA_HDR
142 kal_uint8 ti;
143} mmcm_est_ind_struct;
144
145typedef struct {
146 LOCAL_PARA_HDR
147 kal_uint8 ti;
148} mmcm_est_cnf_struct;
149
150typedef struct {
151 LOCAL_PARA_HDR
152 kal_uint8 ti;
153} mmcm_data_ind_struct;
154
155typedef struct {
156 LOCAL_PARA_HDR
157 ps_cause_enum cause;
158} mmcm_rel_ind_struct;
159
160typedef struct {
161 LOCAL_PARA_HDR
162 ps_cause_enum cause;
163 kal_bool remain_ecc; /* 1: emergency call is kept */
164} mmcc_rel_ind_struct;
165
166typedef struct {
167 LOCAL_PARA_HDR
168 kal_bool is_successful;
169} mmcc_srvcc_ho_ind_struct;
170
171typedef struct {
172 LOCAL_PARA_HDR
173 kal_uint8 ti;
174} mmcm_est_intr_struct;
175
176typedef struct {
177 LOCAL_PARA_HDR
178 kal_uint8 ti;
179 ps_cause_enum cause;
180} mmcm_est_rej_struct;
181
182typedef struct {
183 LOCAL_PARA_HDR
184 sync_ind_cause_enum cause;
185 channel_type_enum channel_type;
186 channel_mode_enum channel_mode;
187} mmcm_sync_ind_struct;
188
189typedef struct {
190 LOCAL_PARA_HDR
191 rat_enum rat; /* RATCM_RAT_ENUM */
192} mmcm_rat_ind_struct;
193
194typedef struct {
195 // When 4G23 irat_type==IR_TYPE_SEARCH, SM need to queue ESM transferred context until receiving MSG_ID_GMMSM_RAT_IND.
196 // SM only need to process this message when __LTE_RAT__ is on because this message is only used when 4G23 IR_TYPE_SEARCH interRAT
197 // in 2G single mode project or 23G dual mode project, SM will drop this message
198 LOCAL_PARA_HDR
199 rat_enum rat; /* RATCM_RAT_ENUM */
200 kal_bool is_suitable_cell;
201 kal_bool is_in_no_service;
202} gmmsm_rat_ind_struct;
203
204
205typedef struct {
206 LOCAL_PARA_HDR
207 plmn_id_struct plmn_id;
208} mmcm_plmn_info_ind_struct;
209
210typedef struct {
211 LOCAL_PARA_HDR
212} mmcm_dummy_local_para_struct;
213
214typedef mmcm_est_ind_struct mmcc_est_ind_struct;
215typedef mmcm_est_cnf_struct mmcc_est_cnf_struct;
216typedef mmcm_data_ind_struct mmcc_data_ind_struct;
217typedef mmcm_est_intr_struct mmcc_est_intr_struct;
218typedef mmcm_est_rej_struct mmcc_est_rej_struct;
219typedef mmcm_sync_ind_struct mmcc_sync_ind_struct;
220
221typedef mmcm_rat_ind_struct mmcc_rat_ind_struct;
222
223typedef mmcm_plmn_info_ind_struct mmcc_plmn_info_ind_struct;
224
225typedef mmcm_est_ind_struct mmss_est_ind_struct;
226typedef mmcm_est_cnf_struct mmss_est_cnf_struct;
227typedef mmcm_data_ind_struct mmss_data_ind_struct;
228typedef mmcm_rel_ind_struct mmss_rel_ind_struct;
229typedef mmcm_est_intr_struct mmss_est_intr_struct;
230typedef mmcm_est_rej_struct mmss_est_rej_struct;
231typedef mmcm_rat_ind_struct mmss_rat_ind_struct;
232
233
234typedef mmcm_est_ind_struct mmsms_est_ind_struct;
235typedef mmcm_est_cnf_struct mmsms_est_cnf_struct;
236typedef mmcm_data_ind_struct mmsms_data_ind_struct;
237typedef mmcm_rel_ind_struct mmsms_rel_ind_struct;
238typedef mmcm_est_intr_struct mmsms_est_intr_struct;
239typedef mmcm_est_rej_struct mmsms_est_rej_struct;
240typedef mmcm_rat_ind_struct mmsms_rat_ind_struct;
241
242#endif
243
244