blob: 60c459b2616507a0016ca899b5f01ccb2a5e0ab6 [file] [log] [blame]
/*****************************************************************************
* 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:
* ---------
*
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
*
*
* Author:
* -------
*
*
*============================================================================
****************************************************************************/
#ifndef __SML_NVRAM_VER_H__
#define __SML_NVRAM_VER_H__
/* --------------------------------------------------------
* NVRAM Version Control for features
* -------------------------------------------------------- */
// NVRAM_EF_SML_GBLOB_LID
#define GBLOB_LID_VER 2
#ifdef __CUST_SML_RULE__
#undef GBLOB_LID_VER
#define GBLOB_LID_VER 3
#endif
// NVRAM_EF_SML_S_LID
#define SML_S_LID_VER 1
#ifdef __SML_PUK__
#undef SML_S_LID_VER
#define SML_S_LID_VER 2
#endif
/* --------------------------------------------------------
* NVRAM Version Numbers and Hash Values
* -------------------------------------------------------- */
// NVRAM_EF_SML_GBLOB_LID
#if GBLOB_LID_VER == 2
#define NVRAM_EF_SML_GBLOB_LID_VERNO "002"
#define NVRAM_EF_SML_GBLOB_LID_HASH 0x05718FA1
#elif GBLOB_LID_VER == 3
#define NVRAM_EF_SML_GBLOB_LID_VERNO "003"
#define NVRAM_EF_SML_GBLOB_LID_HASH 0x79DE977E
#endif
// NVRAM_EF_SML_GBLOB_KEY_LID
#define NVRAM_EF_SML_GBLOB_KEY_LID_VERNO "000"
#define NVRAM_EF_SML_GBLOB_KEY_LID_HASH 0x61F00992
// NVRAM_EF_SML_S_LID
#if SML_S_LID_VER == 1
#define NVRAM_EF_SML_S_LID_VERNO "001"
#define NVRAM_EF_SML_S_LID_HASH 0x4E0B7529
#elif SML_S_LID_VER == 2
#define NVRAM_EF_SML_S_LID_VERNO "002"
#define NVRAM_EF_SML_S_LID_HASH 0x83DAF3DB
#endif
/* TMO */
// NVRAM_EF_SIM_LOCK_LID
#define NVRAM_EF_SIM_LOCK_LID_VERNO "001"
#define NVRAM_EF_SIM_LOCK_LID_HASH 0x7AAD5CD6
/* TMO Movial Solution */
// NVRAM_EF_L4_SML_TMO_MOVIAL_SIM_LOCK_LID
#define NVRAM_EF_L4_SML_TMO_MOVIAL_SIM_LOCK_LID_VERNO "000"
#define NVRAM_EF_L4_SML_TMO_MOVIAL_SIM_LOCK_LID_HASH 0x1F122A41
// NVRAM_EF_L4_SML_TMO_MOVIAL_CORR_ID_LID
#define NVRAM_EF_L4_SML_TMO_MOVIAL_CORR_ID_LID_VERNO "000"
#define NVRAM_EF_L4_SML_TMO_MOVIAL_CORR_ID_LID_HASH 0xFCAE1CBC
/* AT&T */
#ifdef __ATT_RSU_NVRAM__
// NVRAM_EF_L4_ATT_SIM_LOCK_LID
#define NVRAM_EF_L4_ATT_SIM_LOCK_LID_VERNO "000"
#define NVRAM_EF_L4_ATT_SIM_LOCK_LID_HASH 0x8B03E052
#endif /* __ATT_RSU_NVRAM__ */
/* Verizon */
#ifdef __VZW_RSU_NVRAM__
// NVRAM_EF_L4_SML_VZW_SIM_LOCK_LID
#define NVRAM_EF_L4_SML_VZW_SIM_LOCK_LID_VERNO "000"
#define NVRAM_EF_L4_SML_VZW_SIM_LOCK_LID_HASH 0x3FC5D741
// NVRAM_EF_L4_SML_VZW_SIM_LOCK_DEVICE_KEY_LID
#define NVRAM_EF_L4_SML_VZW_SIM_LOCK_DEVICE_KEY_LID_VERNO "000"
#define NVRAM_EF_L4_SML_VZW_SIM_LOCK_DEVICE_KEY_LID_HASH 0x2F0C1138
// NVRAM_EF_L4_SML_VZW_RSU_DELAY_TIMER_LID
#define NVRAM_EF_L4_SML_VZW_RSU_DELAY_TIMER_LID_VERNO "000"
#define NVRAM_EF_L4_SML_VZW_RSU_DELAY_TIMER_LID_HASH 0x80832D58
#endif /* __VZW_RSU_NVRAM__ */
/* Sprint */
// NVRAM_EF_SML_NONCE_LID
#define NVRAM_EF_SML_NONCE_LID_VERNO "001"
#define NVRAM_EF_SML_NONCE_LID_HASH 0xE5A10ACD
// NVRAM_EF_SML_UNLOCK_CODE_LID
#define NVRAM_EF_SML_UNLOCK_CODE_LID_VERNO "001"
#define NVRAM_EF_SML_UNLOCK_CODE_LID_HASH 0xD1B48BDE
// NVRAM_EF_SML_SIGNATURE_LID
#define NVRAM_EF_SML_SIGNATURE_LID_VERNO "001"
#define NVRAM_EF_SML_SIGNATURE_LID_HASH 0x52E6E8DB
/* RJIO */
// NVRAM_EF_SUBSIDY_LOCK_LID
#define NVRAM_EF_SUBSIDY_LOCK_LID_VERNO "000"
#define NVRAM_EF_SUBSIDY_LOCK_LID_HASH 0x4FB979AF
// NVRAM_EF_SUBSIDY_LOCK_ODM_DATA_LID
#define NVRAM_EF_SUBSIDY_LOCK_ODM_DATA_LID_VERNO "000"
#define NVRAM_EF_SUBSIDY_LOCK_ODM_DATA_LID_HASH 0xA222EB83
/* OP129 */
#ifdef __OP129_RSU_NVRAM__
// NVRAM_EF_L4_SML_OP129_LID
#define NVRAM_EF_L4_SML_OP129_LID_VERNO "000"
#define NVRAM_EF_L4_SML_OP129_LID_HASH 0x3570FEE6
#endif /* __OP129_RSU_NVRAM__ */
/* Carrier Restriction */
#ifdef __CARRIER_RESTRICTION__
// NVRAM_EF_L4_CARRIER_RESTRICTION_LID
#define NVRAM_EF_L4_CARRIER_RESTRICTION_LID_VERNO "001"
#define NVRAM_EF_L4_CARRIER_RESTRICTION_LID_HASH 0x9FAC3573
#endif /* __CARRIER_RESTRICTION__ */
#ifdef __MBIM_MS_NETWORK_BLACKLIST__
#define NVRAM_EF_L4_MS_SIM_BLACK_LIST_LID_VERNO "000"
#define NVRAM_EF_L4_MS_SIM_BLACK_LIST_LID_HASH 0xD4B6C81F
#endif
// Not used anymore
// NVRAM_EF_SML_LID
#define NVRAM_EF_SML_LID_VERNO "004"
#define NVRAM_EF_SML_LID_HASH 0xFE18A836
// NVRAM_EF_SML_MAX_RETRY_COUNT_LID
#define NVRAM_EF_SML_MAX_RETRY_COUNT_LID_VERNO "000"
#define NVRAM_EF_SML_MAX_RETRY_COUNT_LID_HASH 0xE35CC18C
#endif /* __SML_NVRAM_VER_H__ */