rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | /***************************************************************************** |
| 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 | * |
| 38 | * Filename: |
| 39 | * --------- |
| 40 | * mmi_l3_enums.h |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * MAUI |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 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 | * removed! |
| 75 | * removed! |
| 76 | * |
| 77 | * removed! |
| 78 | * removed! |
| 79 | * removed! |
| 80 | * |
| 81 | * removed! |
| 82 | * removed! |
| 83 | * removed! |
| 84 | * |
| 85 | * removed! |
| 86 | * removed! |
| 87 | * removed! |
| 88 | * removed! |
| 89 | * removed! |
| 90 | * removed! |
| 91 | * removed! |
| 92 | * |
| 93 | * removed! |
| 94 | * removed! |
| 95 | * removed! |
| 96 | * |
| 97 | * removed! |
| 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 | * removed! |
| 121 | * |
| 122 | * removed! |
| 123 | * removed! |
| 124 | * removed! |
| 125 | * |
| 126 | * removed! |
| 127 | * removed! |
| 128 | * removed! |
| 129 | * |
| 130 | * removed! |
| 131 | * removed! |
| 132 | * removed! |
| 133 | * |
| 134 | * removed! |
| 135 | * removed! |
| 136 | * removed! |
| 137 | * |
| 138 | * removed! |
| 139 | * removed! |
| 140 | * removed! |
| 141 | * |
| 142 | * removed! |
| 143 | * removed! |
| 144 | * removed! |
| 145 | * |
| 146 | * removed! |
| 147 | * removed! |
| 148 | * removed! |
| 149 | * |
| 150 | *------------------------------------------------------------------------------ |
| 151 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 152 | *============================================================================ |
| 153 | ****************************************************************************/ |
| 154 | |
| 155 | /******************************************************************************** |
| 156 | * Copyright Statement: |
| 157 | * -------------------- |
| 158 | * |
| 159 | * This product has been developed using a protocol stack |
| 160 | * developed by Sasken Communication Technologies Limited. |
| 161 | * |
| 162 | ********************************************************************************/ |
| 163 | |
| 164 | |
| 165 | #ifndef _MMI_L3_ENUMS_H |
| 166 | #define _MMI_L3_ENUMS_H |
| 167 | |
| 168 | //#include "ps_public_enum.h" |
| 169 | #include "mmi_l3_enums_public.h" |
| 170 | |
| 171 | /* Modified by: CH_Liang 2005.01.25 */ |
| 172 | #ifndef MAX_EXT_PDP_CONTEXT |
| 173 | // if the global compile option is not defined, use the local definition |
| 174 | #error MAX_EXT_PDP_CONTEXT is not defined in make files |
| 175 | #endif |
| 176 | /* End of Modification, 2005.03.19. Reviewed by: Joseph */ |
| 177 | |
| 178 | /* SM/SNDCP related enumerations */ |
| 179 | |
| 180 | /* Modified by: CH_Liang 2005.01.25 */ |
| 181 | #define TOT_NSAPI GPRS_MAX_PDP_SUPPORT |
| 182 | /* End of Modification, 2005.03.19. Reviewed by: Joseph */ |
| 183 | |
| 184 | #define SM_QOS_LEN_3 3 |
| 185 | #define SM_QOS_LEN_11 11 /* 11 bytes is the Qos length */ |
| 186 | #define SM_QOS_LEN_12 12 //__REL5__ |
| 187 | #define SM_QOS_LEN_14 14//__REL5__ |
| 188 | #define SM_QOS_LEN_13_WITH_EXT_MAX_RATE_DL 13 |
| 189 | #define SM_QOS_LEN_14_WITH_EXT_GUARANTEE_RATE_DL 14 |
| 190 | #define SM_QOS_LEN_15_WITH_EXT_MAX_RATE_UL 15 // __REL7_ |
| 191 | #define SM_QOS_LEN_16_WITH_EXT_GUARANTEE_RATE_UL 16 // __REL7_ |
| 192 | #define SM_QOS_LEN_16 16 // __REL7_ |
| 193 | #define SM_QOS_LEN_17_WITH_EXT2_MAX_RATE_DL 17 |
| 194 | #define SM_QOS_LEN_18_WITH_EXT2_GUARANTEE_RATE_DL 18 |
| 195 | #define SM_QOS_LEN_19_WITH_EXT2_MAX_RATE_UL 19 // __R11__ |
| 196 | #define SM_QOS_LEN_20_WITH_EXT2_GUARANTEE_RATE_UL 20 // __R11__ |
| 197 | #define SM_QOS_LEN_20 20 // __R11_ |
| 198 | |
| 199 | #define SM_QOS_IE_CONTENT_MAX_LEN 20 // until release 9 |
| 200 | #define SM_TFT_IE_CONTENT_MAX_LEN 255 // until release 9 |
| 201 | #define SM_PCO_IE_CONTENT_MAX_LEN 251 // until release 9 |
| 202 | |
| 203 | #define TCM_MAX_RECORDING_MSGS_NUM (GPRS_MAX_PDP_SUPPORT*2) |
| 204 | |
| 205 | #define PS_TOT_NSAPI_NUM 11 |
| 206 | #define PS_TOT_CONTEXT PS_TOT_NSAPI_NUM |
| 207 | |
| 208 | #define PS_MIN_CONTEXT_ID 1 |
| 209 | #define PS_MAX_CONTEXT_ID (1 + PS_TOT_CONTEXT -1) |
| 210 | |
| 211 | typedef enum |
| 212 | { |
| 213 | NO_NSAPI = 0X00, |
| 214 | MIN_VALID_NSAPI = 0X05, |
| 215 | MAX_VALID_NSAPI = MIN_VALID_NSAPI + GPRS_MAX_PDP_SUPPORT - 1, |
| 216 | MAX_THEORETICAL_VALID_NSAPI = 0x0F // nsapi is from 5~15 |
| 217 | }nsapi_session_enum; |
| 218 | |
| 219 | typedef enum |
| 220 | { |
| 221 | /* Modified by: CH_Liang 2005.01.25 */ |
| 222 | TOT_MS_INITIATED_CONTEXT = GPRS_MAX_PDP_SUPPORT, |
| 223 | TOT_NW_INITIATED_CONTEXT = GPRS_MAX_PDP_SUPPORT |
| 224 | /* End of Modification, 2005.03.19. Reviewed by: Joseph */ |
| 225 | }max_contexts_enum; |
| 226 | |
| 227 | /* Joseph: |
| 228 | * This enum defination is used between |
| 229 | * TCM and SM and should SYNC with l4c_source_id_enum@l4c_common_enums.h |
| 230 | */ |
| 231 | typedef enum |
| 232 | { |
| 233 | LMMI_ID, |
| 234 | RMMI_ID, |
| 235 | SAT_ID, |
| 236 | INVALID_MMI_ID |
| 237 | } mmi_source_id_enum; |
| 238 | |
| 239 | |
| 240 | /* The following definitions have been packed in enumeration for future |
| 241 | * increase of compression algorithms */ |
| 242 | |
| 243 | typedef enum |
| 244 | { |
| 245 | PAP_AUTH, |
| 246 | CHAP_AUTH |
| 247 | } pdp_auth_enum; |
| 248 | |
| 249 | #if 0 |
| 250 | /* under construction !*/ |
| 251 | /* under construction !*/ |
| 252 | /* under construction !*/ |
| 253 | /* under construction !*/ |
| 254 | /* under construction !*/ |
| 255 | /* under construction !*/ |
| 256 | /* under construction !*/ |
| 257 | /* under construction !*/ |
| 258 | /* under construction !*/ |
| 259 | /* under construction !*/ |
| 260 | /* under construction !*/ |
| 261 | /* under construction !*/ |
| 262 | /* under construction !*/ |
| 263 | /* under construction !*/ |
| 264 | /* under construction !*/ |
| 265 | /* under construction !*/ |
| 266 | /* under construction !*/ |
| 267 | /* under construction !*/ |
| 268 | /* under construction !*/ |
| 269 | /* under construction !*/ |
| 270 | #endif |
| 271 | |
| 272 | #if 0 |
| 273 | /* under construction !*/ |
| 274 | /* under construction !*/ |
| 275 | /* under construction !*/ |
| 276 | /* under construction !*/ |
| 277 | /* under construction !*/ |
| 278 | /* under construction !*/ |
| 279 | /* under construction !*/ |
| 280 | /* under construction !*/ |
| 281 | /* under construction !*/ |
| 282 | /* under construction !*/ |
| 283 | /* under construction !*/ |
| 284 | /* under construction !*/ |
| 285 | /* under construction !*/ |
| 286 | /* under construction !*/ |
| 287 | #endif |
| 288 | |
| 289 | typedef enum { |
| 290 | DATA_ACCT_CSD_PROF, /* normal csd profile */ |
| 291 | DATA_ACCT_GPRS_PROF, /* normal gprs profile */ |
| 292 | DATA_ACCT_SAT_PROF, /* sat csd profile */ |
| 293 | DATA_ACCT_SPA_PROF /* sim provisioning csd profile */ |
| 294 | } data_account_profile_type_enum; |
| 295 | |
| 296 | typedef enum |
| 297 | { |
| 298 | SM_GPRS_AUTHENTICATION_PAP = 0, |
| 299 | SM_GPRS_AUTHENTICATION_CHAP = 1, |
| 300 | SM_GPRS_AUTHENTICATION_NONE =2, |
| 301 | SM_GPRS_AUTHENTICATION_PAP_CHAP = 3, |
| 302 | SM_GPRS_AUTHENTICATION_MAX_VALID_ENUM_VALUE = SM_GPRS_AUTHENTICATION_PAP_CHAP |
| 303 | }sm_gprs_authentication_type_enum; |
| 304 | |
| 305 | #endif |
| 306 | |
| 307 | |