blob: 78daef99a21cbff59fa23240a12754af3a4826cf [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) 2012
*
* 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:
* ---------
* mml1_utas_cid.h
*
* Project:
* --------
* MOLY
*
* Description:
* ------------
* MML1 UTAS general configuration file.
*
* Author:
* -------
* -------
*
* ==========================================================================
* $Log$
*
* 12 06 2019 shih-hsuan.wei
* [MOLY00462886] [GEN97][UTAS] LTE UTAS idle development. [EWSP0000067012].
*
* 10 15 2019 shih-hsuan.wei
* [MOLY00449631] [Gen97][CMN/NR/LTE] TAS enable flag query and related bug fix. [EWSP0000052570].
*
* 09 25 2019 shih-hsuan.wei
* [MOLY00399224] [GEN97][UTAS] UTAS related development. Enable UTAS, DAT compile option. [EWSP0000047160].
*
* 09 18 2019 shang-lun.chiu
* [MOLY00399224] [GEN97][UTAS] UTAS related development
* [EWSP0000043517][MML1][UTAS] Patch sync.
* 1. Fix swap cmd handle.
* 2. Fake TX info so that MML1 UTAS could run in LTE idle.
* 3. Change the total_state_cnt as UINT16 to avoid overflow.
* 4. Update the Tau value when Meas Slot changed.
*
* 09 18 2019 harshit.khandelwal
* [MOLY00439485] [MT6297] DAT development
* [EWSP0000043088]MML1 TAS
*
* 07 10 2019 shih-hsuan.wei
* [MOLY00399224] [GEN97][UTAS] UTAS related development. [EWSP0000025069].
*
* 07 01 2019 shih-hsuan.wei
* [MOLY00399224] [GEN97][UTAS] UTAS related development. [EWSP0000021769].
*
*
****************************************************************************/
#ifndef _MML1_UTAS_CID_H_
#define _MML1_UTAS_CID_H_
/************************************************************************************
* Includes
************************************************************************************/
/****************************************************************************
*
* Flag description: Unified TAS flag for 6297 UTAS implementation.
*
*****************************************************************************/
#ifndef __IS_MML1_UTAS_RAS_SUPPORT__
#if defined(__MD97__) || defined(__MD97P__)
#define __IS_MML1_UTAS_RAS_SUPPORT__ (1)
#else
#define __IS_MML1_UTAS_RAS_SUPPORT__ (0)
#endif
#endif
#ifndef __IS_NL1_UTAS_RAS_SUPPORT__
#define __IS_NL1_UTAS_RAS_SUPPORT__ (1)
#endif
/****************************************************************************
*
* Flag description: Enable SRS-AS
* This flag can be enabled when SRS-AS is supported
*
*****************************************************************************/
#if !defined(MML1_LTE_SRS_AS_SUPPORT)
#if __IS_MML1_UTAS_RAS_SUPPORT__
#define MML1_LTE_SRS_AS_SUPPORT (1)
#else /* #if MML1_LTE_SRS_AS_SUPPORT */
#define MML1_LTE_SRS_AS_SUPPORT (0)
#endif /* #if MML1_LTE_SRS_AS_SUPPORT */
#endif
#if !defined(_MD97_DAT_FEATURE_)
#define _MD97_DAT_FEATURE_ (1)
#endif
/****************************************************************************
*
* Flag description: Hack in LTE idle mode.
* When the DB is only 1 DL, hack as if 1D1U for MM_TAS algorithm to be executed.
*
*****************************************************************************/
#ifndef __MMTAS_FAKE_1D1U_IN_LTE_IDLE__
#define __MMTAS_FAKE_1D1U_IN_LTE_IDLE__ (1)
#endif
#endif /* _MML1_UTAS_CID_H_ */