mmi_l3_enums.h
7.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* mmi_l3_enums.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
*
* Author:
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
/********************************************************************************
* Copyright Statement:
* --------------------
*
* This product has been developed using a protocol stack
* developed by Sasken Communication Technologies Limited.
*
********************************************************************************/
#ifndef _MMI_L3_ENUMS_H
#define _MMI_L3_ENUMS_H
//#include "ps_public_enum.h"
/* Modified by: CH_Liang 2005.01.25 */
#ifndef MAX_EXT_PDP_CONTEXT
// if the global compile option is not defined, use the local definition
#error MAX_EXT_PDP_CONTEXT is not defined in make files
#endif
/* End of Modification, 2005.03.19. Reviewed by: Joseph */
/* SM/SNDCP related enumerations */
/* Modified by: CH_Liang 2005.01.25 */
#define TOT_NSAPI GPRS_MAX_PDP_SUPPORT
/* End of Modification, 2005.03.19. Reviewed by: Joseph */
#define QOS_LEN 11 /* 11 bytes is the Qos length */
#define SM_QOS_LEN_12 12 //__REL5__
#define SM_QOS_LEN_14 14//__REL5__
#define SM_QOS_LEN_WITH_EXT_MAX_RATE_DL 13
#define SM_QOS_LEN_WITH_EXT_GUARANTEE_RATE_DL 14
#define SM_QOS_LEN_WITH_EXT_MAX_RATE_UL 15 // __REL7_
#define SM_QOS_LEN_WITH_EXT_GUARANTEE_RATE_UL 16 // __REL7_
#define SM_CORRECT_QOS_LEN 16 // __REL7_
#define TCM_MAX_RECORDING_MSGS_NUM (GPRS_MAX_PDP_SUPPORT*2)
#define PS_TOT_VISIBLE_CONTEXT MAX_EXT_PDP_CONTEXT /* for External */
#define PS_TOT_CONTEXT (PS_TOT_VISIBLE_CONTEXT + MAX_INT_PDP_CONTEXT)
#define PS_MIN_CONTEXT_ID 1
#define PS_MAX_CONTEXT_ID (1 + PS_TOT_CONTEXT -1)
/* Important Parameters related to NSAPI Values */
typedef enum
{
NO_NSAPI = 0X00,
MIN_VALID_NSAPI = 0X05,
/* Modified by: CH_Liang 2005.01.25 */
MAX_VALID_NSAPI = MIN_VALID_NSAPI + GPRS_MAX_PDP_SUPPORT - 1
/* End of Modification, 2005.03.19. Reviewed by: Joseph */
}nsapi_session_enum;
typedef enum
{
/* Modified by: CH_Liang 2005.01.25 */
TOT_MS_INITIATED_CONTEXT = GPRS_MAX_PDP_SUPPORT,
TOT_NW_INITIATED_CONTEXT = GPRS_MAX_PDP_SUPPORT
/* End of Modification, 2005.03.19. Reviewed by: Joseph */
}max_contexts_enum;
/* Joseph:
* This enum defination is used between
* TCM and SM and should SYNC with l4c_source_id_enum@l4c_common_enums.h
*/
typedef enum
{
LMMI_ID,
RMMI_ID,
SAT_ID,
INVALID_MMI_ID
} mmi_source_id_enum;
/* The following definitions have been packed in enumeration for future
* increase of compression algorithms */
typedef enum
{
SND_RFC_1144,
SND_NUM_OF_PCOMP_ALGOS,
SND_NO_PCOMP,
SND_PCOMP_TOTAL_NUM
}snd_pcomp_algo_enum;
typedef enum
{
SND_V42_BIS,
SND_NUM_OF_DCOMP_ALGOS,
SND_NO_DCOMP,
SND_DCOMP_TOTAL_NUM
}snd_dcomp_algo_enum;
typedef enum
{
PAP_AUTH,
CHAP_AUTH
} pdp_auth_enum;
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
typedef enum
{
NO_MOD,
MIN_QOS_MOD,
REQ_QOS_MOD,
TFT_MOD,
TFT_MIN_QOS_MOD,
TFT_REQ_QOS_MOD,
PDP_ADDR_MOD,
NEG_QOS_MOD,
PDP_ADDR_NEG_QOS_MOD
}context_mod_type_enum;
typedef enum {
DATA_ACCT_CSD_PROF, /* normal csd profile */
DATA_ACCT_GPRS_PROF, /* normal gprs profile */
DATA_ACCT_SAT_PROF, /* sat csd profile */
DATA_ACCT_SPA_PROF /* sim provisioning csd profile */
} data_account_profile_type_enum;
typedef enum
{
SM_GPRS_AUTHENTICATION_PAP = 0,
SM_GPRS_AUTHENTICATION_CHAP = 1,
SM_GPRS_AUTHENTICATION_NONE =2,
SM_GPRS_AUTHENTICATION_PAP_CHAP = 3,
SM_GPRS_AUTHENTICATION_MAX_VALID_ENUM_VALUE = SM_GPRS_AUTHENTICATION_PAP_CHAP
}sm_gprs_authentication_type_enum;
#endif