blob: f2310877ef0dd24100745143a9d3118fb505fa5e [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) 2016
*
* 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:
* ---------
* tl1d_rf_cid.h
*
* Project:
* --------
* 93m
*
* Description:
* ------------
* This file contains TDD RF related compile option id.
*
* Author:
* -------
*
*
*============================================================================*/
#ifndef __TL1D_RF_CID_H__
#define __TL1D_RF_CID_H__
/************************************************************************************
* Include
************************************************************************************/
/*.................................................................*/
/*............Chip ID definition.............................*/
/*.................................................................*/
#define TL1D_COMMON_INNER_RF_ID_MT6177L 0x00000008
#define TL1D_COMMON_INNER_RF_ID_MT6177M 0x00000009 //define same as FTA tl1
#define TL1D_COMMON_INNER_RF_ID_TRINITYE1 0x00000010
#define TL1D_COMMON_INNER_RF_ID_MT6185M 0x00000011 //Trinity-L
#define TL1D_COMMON_INNER_RF_ID_MT6186 0x00000012 //Trinity-L
#define TL1D_COMMON_INNER_RF_ID_MT6186ME1 0x00000013 //Trinity 2l E1
#define TL1D_COMMON_INNER_RF_ID_COLUMBUS 0x00000020 //95 columbus
#define TL1D_COMMON_INNER_RF_ID_COLUMBUSL 0x00000021 //95 columbus
#ifndef TL1D_RF_ID
#if defined(TRINITYE1_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_TRINITYE1
#elif defined(TRINITYL_UMTS_TDD) || defined(MT6185M_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_MT6185M //TRINITY L
#elif defined(TRINITYL_UMTS_TDD) || defined(MT6186_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_MT6186 //TRINITY L E2
#elif defined(MT6186M_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_MT6186ME1 //TRINITY 2L
#elif defined(MT6177L_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_MT6177L
#elif defined(MT6177M_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_MT6177M
#elif defined(COLUMBUS_UMTS_TDD) || defined(MT6190T_UMTS_TDD)|| defined(MT6190_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_COLUMBUS
#elif defined(MT6190M_UMTS_TDD) || defined(MT6195_UMTS_TDD)
#define TL1D_RF_ID TL1D_COMMON_INNER_RF_ID_COLUMBUSL
#else
#error "No Valid RF Chip was defined"
#endif
#else
#error "Unexpected RF Chip was defined"
#endif
#define IS_TL1D_RF_MT6177L (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_MT6177L)
#define IS_TL1D_RF_MT6177M (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_MT6177M)
#define IS_TL1D_RF_TRINITYE1 (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_TRINITYE1)
#define IS_TL1D_RF_MT6185M (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_MT6185M)
#define IS_TL1D_RF_MT6186 (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_MT6186)
#define IS_TL1D_RF_MT6186ME1 (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_MT6186ME1)
#define IS_TL1D_RF_COLUMBUS (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_COLUMBUS)
#define IS_TL1D_RF_COLUMBUSL (TL1D_RF_ID == TL1D_COMMON_INNER_RF_ID_COLUMBUSL)
#if defined(__MD95__)
#if defined(MT3967)||defined(MT6295M)
#define IS_TRF_RXDC_GXE_SUPPORT (0)
#else
#if (( IS_TL1D_RF_TRINITYE1)||( IS_TL1D_RF_MT6185M))
#define IS_TRF_RXDC_GXE_SUPPORT (0)
#else
#define IS_TRF_RXDC_GXE_SUPPORT (1)
#endif
#endif/*MT3967 or MT6295M*/
#endif/*__MD95__*/
#endif /* __CL1D_RF_CID_H__ */