blob: 4c400b27d4242b6c673885284279907de7142963 [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) 2012
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 * sms_eval_struct.h
40 *
41 * Project:
42 * --------
43 * MOLY
44 *
45 * Description:
46 * ------------
47 * message and common structure definition between SMS and EVAL module
48 *
49 * Author:
50 * -------
51 * -------
52 *
53 * ==========================================================================
54 * $Log$
55 *
56 * 03 17 2021 laxman.nadiminti
57 * [MOLY00585299] FT:LA:MX:2:F:N1:N1 - MUT is not receiving the commands via OTA
58 *
59 * .
60 *
61 * 12 05 2019 ya.li
62 * [MOLY00463909] [Gen97][EMM trigger local release after SGs SMS done]??????P90????????????for patch ??, follow ALPS04388534?
63 *
64 * .
65 *
66 * 10 29 2019 ya.li
67 * [MOLY00455375] ??????P90????????????for patch ??, follow ALPS04388534??EMM trigger local release after SGs SMS done[SMS part]?
68 *
69 * .
70 *
71 * 01 16 2018 ian-yw.chen
72 * [MOLY00302109] [MT6763][Bianco][N1][India FT][Chennai][WW FT][RCOM][TATA DOCOMO][TC_MTK_P1_4G_Gemini_13] [MP1.5] DUT long SMS to sim2 fails (common interface part)
73 * SMS/EVAL
74 *
75 * 02 03 2016 juan.huang
76 * [MOLY00152764][SMS optimization][4G]after SMS send sms data to EVAL, EVAL return the send result to SMS
77 * Merging
78 *
79 * //UMOLY_CBr/jerry-yh.chang/UMOLY_W16.05.LTE.p6/mcu/...
80 *
81 * to //UMOLY/TRUNK/UMOLY/mcu/...
82 *
83 * 01 27 2016 ya.li
84 * 01 28 2016 juan.huang
85 * [MOLY00152764][SMS optimization][4G]after SMS send sms data to EVAL, EVAL return the send result to SMS
86 * Merging
87 *
88 * //MOLY_CBr/allen.keh/MOLY_MP7.W16.05.p1/mcu/...
89 *
90 * to //UMOLY_CBr/jerry-yh.chang/UMOLY_W16.05.LTE.p6/mcu/...
91 *
92 * 01 28 2016 juan.huang
93 * <saved by Perforce>
94 *
95 * 01 27 2016 ya.li
96 * 02 03 2016 ya.li
97 * [MOLY00152757] [MT6290][CMCC 2016 new requirement][SMS][Stop Receiving RP-ACK when UE from 4G connected mode to idle mode]
98 * .
99 *
100 * 03 27 2013 benjamin.kuo
101 * [MOLY00011934] LTE MM IT CBr merge to MOLY
102 * .
103 *
104 * 03 14 2013 tuan-che.chen
105 * [MOLY00009163] LTE Multimode merge back to MOLY
106 * merge back to MOLY.
107 *
108 * 11 06 2012 yu.huang
109 * [MOLY00005322] TATAKA merge to MOLY
110 * [EVAL] Add EVAL related interfaces and common strust
111 ****************************************************************************/
112
113
114#ifndef _SMS_EVAL_STRUCT_INC
115#define _SMS_EVAL_STRUCT_INC
116
117
118#include "sms_eval_enums.h"
119#include "l3_inc_enums.h"
120
121
122/***** message structure definition *****/
123typedef struct
124{
125 LOCAL_PARA_HDR
126 sms_eval_reg_status_enum state;
127
128} sms_eval_reg_status_ind_struct;
129
130
131typedef struct
132{
133 LOCAL_PARA_HDR
134 sms_eval_est_rej_cause_enum cause;
135
136} sms_eval_est_rej_struct;
137
138typedef struct
139{
140 LOCAL_PARA_HDR
141 sms_eval_rel_ind_cause_enum cause;
142
143} sms_eval_rel_ind_struct;
144
145typedef struct
146{
147 LOCAL_PARA_HDR
148 kal_uint16 transaction_id;
149 sms_eval_unitdata_cnf_result_enum result;
150
151} sms_eval_unitdata_cnf_struct;
152
153typedef struct
154{
155 LOCAL_PARA_HDR
156 kal_uint16 transaction_id;
157
158} sms_eval_unitdata_req_struct;
159
160typedef struct
161{
162 LOCAL_PARA_HDR
163 sms_status_enum sms_status;
164 sms_direction_enum sms_direction;
165
166} sms_eval_sms_status_req_struct;
167
168typedef struct
169{
170 LOCAL_PARA_HDR
171 imcsms_status_enum imcsms_status;
172} imcsms_eval_mt_sms_over_ims_status_req_struct;
173
174#if 0 /* mark empty primitive message structure */
175/* under construction !*/
176/* under construction !*/
177/* under construction !*/
178/* under construction !*/
179/* under construction !*/
180/* under construction !*/
181/* under construction !*/
182/* under construction !*/
183/* under construction !*/
184/* under construction !*/
185/* under construction !*/
186/* under construction !*/
187/* under construction !*/
188/* under construction !*/
189/* under construction !*/
190/* under construction !*/
191/* under construction !*/
192/* under construction !*/
193/* under construction !*/
194/* under construction !*/
195/* under construction !*/
196/* under construction !*/
197/* under construction !*/
198/* under construction !*/
199/* under construction !*/
200/* under construction !*/
201/* under construction !*/
202/* under construction !*/
203/* under construction !*/
204/* under construction !*/
205/* under construction !*/
206/* under construction !*/
207/* under construction !*/
208/* under construction !*/
209/* under construction !*/
210#endif /* mark empty primitive message structure */
211
212
213#endif /* ----- #ifndef _SMS_EVAL_STRUCT_INC ----- */
214