blob: 8915840116c62dbdce59ec17adf6d607ef349044 [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) 2009
*
* 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:
* --------------------------------------------------------
* tl1data_sap.h
*
* Project:
* --------------------------------------------------------
*
*
* Description:
* --------------------------------------------------------
*
*
* Author:
* --------------------------------------------------------
* -------
*
* --------------------------------------------------------
* $Log$
*
* 11 20 2019 xiaochi.zhang
* [MOLY00456996] TAS ÐèÒªÔö¼ÓSNÊýÁ¿
*
* .
*
* 10 31 2018 xiaochi.zhang
* [MOLY00361478] [Gen97] Gemini Compile Option Clean Up
*
* .
*
* 01 21 2016 qianli.li
* [MOLY00143367] ÇëÆÀ¹ÀÊÖ»ú¶Ëͨ¹ýÄÚÖù¤³Ìģʽ²é¿´¡°Ë«ÌìÏßÇл»×´Ì¬¡±µÄÐèÇó¿ÉÐÐÐÔ
*
* .
*
* 01 14 2016 yanhai.xuan
* [MOLY00159734] TX power detector support on Jade
* .
*
* 10 18 2015 chuansheng.zhang
* [MOLY00145677] [91+][TL1] Platform patch check in
* (1) LR11 until patch CL1745309 merge to UMOLY;
* (2) 91+ for MIPS: l1core->__SMP_ARCH__ modify, and build error clr;
* (3) TL1 IRQ code part modify
*
* 07 28 2015 chuansheng.zhang
* [MOLY00132771] [MT6755][TDD3G][SLT] Dev
* Jade: TDSCDMA SLT code check in.
*
* 07 13 2015 qianli.li
* [MOLY00114091] [MT6755][BRINGUP_FIRSTCALL][TAS feature] Add TDD_TAS feature
* .
*
* 04 17 2015 marco.zhang
* [MOLY00096053] [TDD] Rx report for test (need turn on __TDS_RX_TEST_SUPPORT__)
* .
*
* 01 05 2015 marco.zhang
* [MOLY00086950] UMOLY TL1 MAINTAIN
* .
*
* 12 29 2014 marco.zhang
* [MOLY00086950] UMOLY TL1 MAINTAIN
* msg id frefix.
*
* 12 17 2013 shouzhu.zhang
* [MOLY00050653] [TL1][Check in]Remove TL1 MCU needless compile option
* .
*
* 09 17 2013 shouzhu.zhang
* [MOLY00038199] [Check in][Remove Compile Option]Remove __UMTS_TDD128_SNIFFER__
* remove Sniffer Compile option.
*
* 07 16 2013 xiaoyun.mao
* [MOLY00028746] [MT6290E1][MM LL1][GTL] RF conflict when 4G gives gap pattern to do TDS MEAS
* .
*
* 05 30 2013 ast00033
* [MOLY00024285] [MT6572][CMCC Case FT][LCA_GEMINI][Beijing][Regression-7th time][C6.3 ¿¨²Û1Ë«PDPºÍ¿¨²Û2ÓïÒô²¢·¢ ]8th_11:38:34_ÔÝʱÎÞ·¨½Óͨ_ÈýÔªÎ÷ÇÅ
* .
*
* 05 15 2013 xiaoyun.mao
* [MOLY00007737] [WR8][UMAC]3G speech UL delay improve phase 2
* .remove __PREPARE_TX_AHEAD__
*
* 04 26 2013 xiaoyun.mao
* [MOLY00020915] Check in Autonomous gap code
* .
*
* 04 09 2013 ast00029
* [MOLY00013377] [TDD128][ESL][MOLY]check-in ESL code.
* for ESL
*
* 04 01 2013 shouzhu.zhang
* [MOLY00013249] MM TL1 Code check in
* [TL1] Merge lastes WR8 + R9 + MM code to MOLY..
*
* 03 01 2013 shun.liu
* [MOLY00011182] MT6572/6582: RF TX test feature check in MOLY main
* EM tx test tl1 part.
*
* 09 24 2012 xiaoyun.mao
* [MOLY00004069] [MOLY]TDD_R9_DEV Patch back to MOLY
* TDD_R9_DEV patch back to MOLY
*
* 09 11 2012 xiaoyun.mao
* [MOLY00002766] warning removal
* .
* remove __UMAC_DCH_LISR__
*
* 05 24 2012 wcpuser_integrator
* removed!
* Qinghua Yu check in global enum (MSG & SAP) at modem_dev.
*
* 05 24 2012 wcpuser_integrator
* removed!
* Qinghua Yu check in global enum (MSG & SAP) at modem_dev.
*
* 05 24 2012 wcpuser_integrator
* removed!
* Qinghua Yu check in global enum (MSG & SAP) at modem_dev.
*
* 05 03 2012 wcpuser_integrator
* removed!
* .
*
* 03 09 2012 shouzhu.zhang
* removed!
* .
*
* 02 24 2012 shouzhu.zhang
* removed!
* Check in TL1 Sniffer code to MAUI.
*
* 12 26 2011 shuyang.yin
* removed!
* .
*
* 11 14 2011 shi.dong
* removed!
* TL1 code interface fta merge in MAUI.
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* Rename the msg code begin from UL1 to TL1
*
* removed!
* removed!
* Rename __UMTS_TDD128_RAT__ to __UMTS_TDD128_MODE__
*
* removed!
* removed!
* add log section for tl1interface header files
*
*******************************************************************************/
#include "module_msg_range.h"
#ifndef _TL1DATA_MSG_H
#define _TL1DATA_MSG_H
/* LISR -> TASK */
#ifdef __BUILD_DOM__
enum{
#endif
MODULE_MSG_BEGIN( MSG_ID_TL1DATA_AST_MSG_CODE_BEGIN )
MSG_ID_TL1DATA_AST_RESET_CNF = MSG_ID_TL1DATA_AST_MSG_CODE_BEGIN,
//RF Calibration begin
MSG_ID_TL1DATA_AST_RFCAL_RESET_CNF,
MSG_ID_TL1DATA_AST_RFCAL_CS_IND,
MSG_ID_TL1DATA_AST_RFCAL_ABBREG_IND,
MSG_ID_TL1DATA_AST_FHC_FINISH_IND,
MSG_ID_TL1DATA_AST_OTCAL_IND,
//RF Calibration end
MSG_ID_TL1DATA_AST_SET_ACTIVE_RAT_CNF,
//Suspend mode related msg begin
MSG_ID_TL1DATA_AST_SUSPEND_DONE_IND,
MSG_ID_TL1DATA_AST_RESUME_DONE_IND,
MSG_ID_TL1DATA_AST_GAP_SYNC_SUSPEND_IND,
MSG_ID_TL1DATA_AST_RF_SUSPEND_IND,
MSG_ID_TL1DATA_AST_RAT_SUSPEND_IND,
MSG_ID_TL1DATA_AST_CONTAINER_SUSPEND_IND,
MSG_ID_TL1DATA_AST_FS_SUSPEND_IND,
MSG_ID_TL1DATA_AST_SNIFFER_SUSPEND_IND,
MSG_ID_TL1DATA_AST_BCH_SUSPEND_IND,
MSG_ID_TL1DATA_AST_PCH_SUSPEND_IND,
MSG_ID_TL1DATA_AST_MEAS_SUSPEND_IND,
MSG_ID_TL1DATA_AST_BCH_CS_SUSPEND_IND,
//Suspend mode related msg end
MSG_ID_TL1DATA_AST_FREQUENCY_SCAN_IND,
MSG_ID_TL1DATA_AST_FREQUENCY_SCAN_SUSPEND_IND,
MSG_ID_TL1DATA_AST_CELL_SEARCH_IND,
// Sniffer begin
MSG_ID_TL1DATA_AST_SNIFFER_TIMEOUT_IND,
MSG_ID_TL1DATA_AST_SNIFFER_SETUP_IND,
MSG_ID_TL1DATA_AST_SNIFFER_NO_SIGNAL_IND,
MSG_ID_TL1DATA_AST_SNIFFER_SIGNAL_IND,
MSG_ID_TL1DATA_AST_SNIFFER_RELEASE_IND,
// Sniffer end
MSG_ID_TL1DATA_AST_SPECIFIC_CELL_SEARCH_IND,
MSG_ID_TL1DATA_AST_SPECIFIC_CELL_SEARCH_STOP_IND,
MSG_ID_TL1DATA_AST_MSG_CONTAINER_IND,
MSG_ID_TL1DATA_AST_ABORT_CNF,
MSG_ID_TL1DATA_AST_BCH_SETUP_IND,
MSG_ID_TL1DATA_AST_BCH_RELEASE_IND,
MSG_ID_TL1DATA_AST_SFN_IND,
MSG_ID_TL1DATA_AST_BCH_CS_IND,
MSG_ID_TL1DATA_AST_BCH_CS_SETUP_IND,
MSG_ID_TL1DATA_AST_PCH_SETUP_IND,
MSG_ID_TL1DATA_AST_PCH_RELEASE_IND,
MSG_ID_TL1DATA_AST_FACH_SETUP_IND,
MSG_ID_TL1DATA_AST_FACH_RELEASE_IND,
MSG_ID_TL1DATA_AST_RACH_SETUP_IND,
MSG_ID_TL1DATA_AST_RACH_RELEASE_IND,
MSG_ID_TL1DATA_AST_POST_TX_IND,
MSG_ID_TL1DATA_AST_ACCESS_IND,
MSG_ID_TL1DATA_AST_UL_DCH_SETUP_IND,
MSG_ID_TL1DATA_AST_UL_DCH_RELEASE_IND,
MSG_ID_TL1DATA_AST_DL_DCH_SETUP_IND,
MSG_ID_TL1DATA_AST_DL_DCH_RELEASE_IND,
MSG_ID_TL1DATA_AST_TX_STATUS_IND,
MSG_ID_TL1DATA_AST_T312_EXPIRY_IND,
MSG_ID_TL1DATA_AST_DL_INIT_SYNC_IND,
MSG_ID_TL1DATA_AST_RL_FAILURE_IND,
MSG_ID_TL1DATA_AST_HSDSCH_SETUP_IND,
MSG_ID_TL1DATA_AST_HSDSCH_RELEASE_IND,
#ifdef __HSUPA_SUPPORT__
MSG_ID_TL1DATA_AST_EDCH_SETUP_IND,
MSG_ID_TL1DATA_AST_EDCH_RELEASE_IND,
#endif
MSG_ID_TL1DATA_AST_MEAS_SETUP_IND,
MSG_ID_TL1DATA_AST_MEAS_RELEASE_IND,
MSG_ID_TL1DATA_AST_MEAS_RSCP_INTRA_IND,
MSG_ID_TL1DATA_AST_MEAS_RSCP_INTER_IND,
MSG_ID_TL1DATA_AST_MEAS_ISCP_IND,
MSG_ID_TL1DATA_AST_MEAS_INTERNAL_SETUP_IND,
MSG_ID_TL1DATA_AST_MEAS_INTERNAL_RELEASE_IND,
MSG_ID_TL1DATA_AST_MEAS_INTERNAL_EVENT_IND,
MSG_ID_TL1DATA_AST_MEAS_INTERNAL_PERIODIC_IND,
MSG_ID_TL1DATA_AST_MEAS_INTERNAL_RESULT_IND,
//@CMW
MSG_ID_TL1DATA_AST_BCH_DATA_IND,
MSG_ID_TL1DATA_AST_DATA_IND,
MSG_ID_TL1DATA_AST_HSDSCH_DATA_IND,
MSG_ID_TL1DATA_AST_PREPARE_DATA_REQ,
MSG_ID_TL1DATA_AST_GET_DATA_REQ,
MSG_ID_TL1DATA_AST_HSDSCH_SETUP_DATA_IND,
MSG_ID_TL1DATA_AST_HSDSCH_RELEASE_DATA_IND,
MSG_ID_TL1DATA_AST_HSDSCH_MODIFY_DATA_IND,
//#ifdef __UMAC_DCH_LISR__
MSG_ID_TL1DATA_AST_INFORM_DCH_MAC_IND,
//#endif
MSG_ID_TL1DATA_AST_INFORM_MAC_CSR_IND,
#ifdef __HSUPA_SUPPORT__
MSG_ID_TL1DATA_AST_INFORM_EDCH_MAC_IND,
#endif
MSG_ID_TL1DATA_AST_MEAS_DMO_SETUP_IND,
MSG_ID_TL1DATA_AST_UE_STATE_IND,
MSG_ID_TL1DATA_AST_GAP_SERVICE_IND,
MSG_ID_TL1DATA_AST_GAP_SYNC_RAT_IND,
MSG_ID_TL1DATA_AST_GAP_SYNC_TIMEOUT_IND,
MSG_ID_TL1DATA_AST_GAP_SYNC_CELL_CHANGE_IND,
MSG_ID_TL1DATA_AST_GAP_SYNC_IND,
MSG_ID_TL1DATA_AST_GAP_SYNC_TL1_CNF,
MSG_ID_TL1DATA_AST_GAP_CALC_PROVIDE_IND,
MSG_ID_TL1DATA_AST_GAP_CALC_CANCEL_IND,
MSG_ID_TL1DATA_AST_GAP_RELEASE_IND,
MSG_ID_TL1DATA_AST_FACH_GAP_LOCK_IND,
/* @dms */
MSG_ID_TL1DATA_AST_DMS_MEAS_DONE_IND,
MSG_ID_TL1DATA_AST_TL1C_GAP_PATTERN_STOP,
MSG_ID_TL1DATA_AST_TL1C_GAP_PATTERN_FINISH,
#ifdef TL1_TESTCASE
MSG_ID_TL1DATA_AST_L1CASE_TEST_CMD_IND,
#endif
MSG_ID_TL1DATA_AST_TIMING_SYNC_TL1_CNF,
MSG_ID_TL1DATA_AST_AUTO_GAP_SUSPEND_DONE_IND,
MSG_ID_TL1DATA_AST_AUTO_GAP_START_CNF,
MSG_ID_TL1DATA_AST_TRACE_IND,
#ifdef __TL1_TST_LOG_DSP_RESP__
MSG_ID_CPHY_SIMULATE_DPA_ONLY_SUB_FRAME_ENTRY_REQ, /*By sub-frame*/
MSG_ID_CPHY_SIMULATE_UPA_ONLY_SUB_FRAME_ENTRY_REQ, /*By sub-frame*/
#endif
MSG_ID_TL1DATA_AST_CHANNEL_QUALITY_STATUS_IND,
MSG_ID_TL1DATA_AST_RX_POWER_TEST_IND,
MSG_ID_TL1DATA_AST_TX_POWER_TEST_IND,
#ifdef __RF_SCAN_FOR_DESENSE_TEST__
MSG_ID_TL1DATA_AST_RF_SCAN_TEST_IND,
#endif
MSG_ID_TL1DATA_AST_FORCE_TX_ANT_CNF,
/* For List Mode*/
MSG_ID_LIST_MODE_GETRES_IND,
MSG_ID_TL1DATA_AST_EM_TDD_L1_TAS_INFO_IND,
MSG_ID_TL1DATA_AST_NUM,
/* LL1 -> TASK */
MSG_ID_TL1DATA_AST_GAP_SERVICE_START_UMTS_PM_ONLY,
MSG_ID_TL1DATA_AST_GAP_SERVICE_START_UMTS_ALL,
MSG_ID_TL1DATA_AST_GAP_SERVICE_STOP_UMTS,
MSG_ID_TL1DATA_AST_GAP_SYNC_GL1_CNF_SUCCESS,
MSG_ID_TL1DATA_AST_GAP_SYNC_GL1_CNF_FAILURE,
MSG_ID_TL1DATA_AST_GAP_CTRL_GSM_PM_DONE_IND,
MSG_ID_TL1DATA_AST_GAP_CTRL_STOP_GAP_CONFIRM,
MSG_ID_TL1DATA_AST_FACH_GAP_LOCK_CNF,
MSG_ID_TL1DATA_AST_GSM_SYNC_START,
MSG_ID_TL1DATA_AST_DMS_TIM_ADJ_CLEAR_CNF,
/* @dms */
MSG_ID_TL1DATA_AST_GSM_GAP_AVAIABLE_IND,
MSG_ID_TL1DATA_AST_GSM_GAP_UNAVAIABLE_IND,
MSG_ID_TL1DATA_AST_TL1A_GAP_PATTERN_SET,
/* TASK -> TASK */
/* @dms */
MSG_ID_TL1DATA_AST_GAP_SERVICE_FS_REQ,
MSG_ID_TL1DATA_AST_GAP_SERVICE_FS_STOP,
MSG_ID_TL1DATA_AST_GAP_SERVICE_BCH_REQ,
MSG_ID_TL1DATA_AST_GAP_SERVICE_BCH_STOP,
MSG_ID_TL1DATA_AST_GAP_SERVICE_MEAS_REQ,
MSG_ID_TL1DATA_AST_GAP_SERVICE_MEAS_STOP,
#if defined( __GEMINI__ ) && defined ( __UMTS_RAT__ )
MSG_ID_TL1DATA_AST_PEER_2G_OPEN_REQ,
MSG_ID_TL1DATA_AST_PEER_2G_CLOSE_REQ,
MSG_ID_TL1DATA_AST_PEER_2G_OPEN_CNF,
#endif
#ifdef __GEMINI__
MSG_ID_TL1DATA_AST_CHANNEL_PRIORITY_ADJUSTMENT_CNF,
#endif
/* TL1C -> TL4C */
MSG_ID_TL1DATA_AST_TIMING_SYNC_IND,
MSG_ID_TL1DATA_AST_TIMING_SYNC_SUSPEND_IND,
MSG_ID_TL1DATA_AST_TL1A_GAP_STOP_REQ,
MSG_ID_TL1DATA_AST_MMS_TIM_ADJ_CLEAR_CNF,
MSG_ID_TL1DATA_AST_GAP_MMS_SUSPEND_DONE_IND,
MSG_ID_TL1DATA_AST_AUTO_GAP_START,
MSG_ID_TL1DATA_AST_AUTO_GAP_RELEASE,
MSG_ID_TL1DATA_AST_AUTO_GAP_STOP_CNF,
MSG_ID_TL1DATA_AST_AUTO_GAP_FINISH,
MSG_ID_TL1DATA_AST_TL1C_AUTO_GAP_PATTERN_STOP,
MSG_ID_TL1DATA_AST_MMS_AUTO_GAP_TIM_ADJ_CLEAR_CNF,
MSG_ID_L4CTL1_EM_TST_CONTROL_CNF,
MSG_ID_TDDSLT_RESET_REQ,
MSG_ID_TDDSLT_RESET_CNF,
MODULE_MSG_END( MSG_ID_TL1DATA_AST_MSG_CODE_TAIL )
#ifdef __BUILD_DOM__
};
#endif
#endif //_TL1DATA_MSG_H