blob: 39ce4079428d821bd7d1708e1d7e70264440aaf5 [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/*******************************************************************************
37 * Filename:
38 * ---------
39 * cm2mm_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 *
66 * removed!
67 * removed!
68 *
69 * removed!
70 * removed!
71 * removed!
72 *
73 * removed!
74 * removed!
75 * removed!
76 * removed!
77 * removed!
78 *
79 * removed!
80 * removed!
81 * removed!
82 *
83 * removed!
84 * removed!
85 * removed!
86 *
87 * removed!
88 * removed!
89 * removed!
90 *
91 * removed!
92 * removed!
93 * removed!
94 *
95 * removed!
96 * removed!
97 * removed!
98 *
99 * removed!
100 * removed!
101 * removed!
102 *
103 *------------------------------------------------------------------------------
104 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
105 *==============================================================================
106 *******************************************************************************/
107
108/********************************************************************************
109* Copyright Statement:
110* --------------------
111*
112* This product has been developed using a protocol stack
113* developed by Sasken Communication Technologies Limited.
114*
115********************************************************************************/
116
117
118#ifndef _CM2MM_STRUCT_H
119#define _CM2MM_STRUCT_H
120
121#define MAX_SUPPORTED_CALLS 7
122
123#include "kal_general_types.h"
124#include "l3_inc_enums.h"
125#include "mmcm_enums.h"
126#include "kal_public_defs.h"
127
128typedef struct {
129 LOCAL_PARA_HDR
130 kal_uint8 ti;
131 est_cause_enum cause;
132 kal_bool send_priority;
133 emlpp_priority_enum priority;
134 kal_bool need_preemption;
135 kal_bool is_ecall;
136 kal_uint8 ecall_type;
137} mmcm_est_req_struct;
138
139typedef struct {
140 LOCAL_PARA_HDR
141 kal_uint8 ti;
142//#ifdef __UMTS_TDD128_MODE__
143 kal_bool force_release; /*For TDD call clearing optimization*/
144//#endif
145} mmcm_rel_req_struct;
146
147typedef struct {
148 LOCAL_PARA_HDR
149 kal_uint8 ti;
150} mmcm_prompt_rsp_struct;
151
152typedef struct {
153 LOCAL_PARA_HDR
154 prompt_rej_cause reject_cause;
155} mmcm_prompt_rej_struct;
156
157#ifdef __REL6__
158typedef struct {
159 LOCAL_PARA_HDR
160 kal_uint8 ti_count;
161 kal_uint8 ti_list[MAX_SUPPORTED_CALLS];
162} mmcc_reest_req_struct;
163#endif
164
165typedef struct {
166 LOCAL_PARA_HDR
167} mmcm_start_call_req_struct;
168
169typedef struct {
170 LOCAL_PARA_HDR
171} mmcm_abort_call_req_struct;
172
173typedef struct {
174 LOCAL_PARA_HDR
175 kal_uint8 ti_count;
176 kal_uint8 ti_list[MAX_SUPPORTED_CALLS];
177 kal_uint8 ecc_ti; /* if no ecc, this value should be 0xFF */
178} mmcc_srvcc_est_req_struct;
179
180typedef mmcm_est_req_struct mmcc_est_req_struct;
181typedef mmcm_rel_req_struct mmcc_rel_req_struct;
182typedef mmcm_prompt_rsp_struct mmcc_prompt_rsp_struct;
183typedef mmcm_prompt_rej_struct mmcc_prompt_rej_struct;
184
185typedef mmcm_est_req_struct mmss_est_req_struct;
186typedef mmcm_rel_req_struct mmss_rel_req_struct;
187
188typedef mmcm_est_req_struct mmsms_est_req_struct;
189typedef mmcm_rel_req_struct mmsms_rel_req_struct;
190
191#endif
192
193