[Feature]Upload Modem source code
Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/interface/service/mtf/mtf_struct.h b/mcu/interface/service/mtf/mtf_struct.h
new file mode 100644
index 0000000..aa69cc8
--- /dev/null
+++ b/mcu/interface/service/mtf/mtf_struct.h
@@ -0,0 +1,187 @@
+/*****************************************************************************
+* 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:
+ * ---------
+ * mtf_struct.h
+ *
+ * Description:
+ * ------------
+ * This file is intends for put the structures related to MTF
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ *============================================================================
+ * HISTORY
+ * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *------------------------------------------------------------------------------
+ * removed!
+ *
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ *
+ *------------------------------------------------------------------------------
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *============================================================================
+*****************************************************************************/
+
+#ifndef _MTF_STRUCT_H
+#define _MTF_STRUCT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* mark the following as comment during DEV stage only, we should unmark it after DEV*/
+#if defined(__MTK_INTERNAL__) && !defined(__MTK_TARGET__) && defined(__ATT_BOOSTER_SUPPORT__)
+#include "att_booster_ut_struct.h"
+#endif
+
+#include "icd_logging.h"
+#include "global_type.h"
+#include "mcd_l3_inc_struct.h"
+#include "sim_exported_enum.h"
+
+typedef enum {
+ NL1MOB_MT_CUSTOM_ENH_TYPE_A3A4A5_IGNORE = 0,
+ NL1MOB_MT_CUSTOM_ENH_TYPE_A3A4A5_FORCE,
+ NL1MOB_MT_CUSTOM_ENH_TYPE_B1B2_IGNORE,
+ NL1MOB_MT_CUSTOM_ENH_TYPE_B1B2_FORCE,
+ NL1MOB_MT_CUSTOM_ENH_TYPE_5G4_RESEL_IGNORE,
+ NL1MOB_MT_CUSTOM_ENH_TYPE_5G4_RESEL_FORCE,
+
+ // add new value above here
+ NL1MOB_MT_CUSTOM_ENH_TYPE_INVALID,
+ NL1MOB_MT_CUSTOM_ENH_TYPE_MAX_NUM = NL1MOB_MT_CUSTOM_ENH_TYPE_INVALID
+}nl1mob_mt_custom_enh_type_enum;
+
+typedef enum {
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_EVENTA3 = 0,
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_EVENTA4,
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_EVENTA5,
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_EVENTB1,
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_EVENTB2,
+
+ // add new value above here
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_INVALID,
+ NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_MAX_NUM = NL1MOB_MT_CUSTOM_ENH_SUB_TYPE_INVALID
+}nl1mob_mt_custom_enh_sub_type_enum;
+
+//MSG_ID_MT_CIQ_METRIC_IND
+typedef struct {
+ LOCAL_PARA_HDR
+ unsigned long lo;
+ unsigned long hi;
+ unsigned long metric_id;
+} mt_ciq_metric_ind_struct;
+
+
+typedef struct {
+ LOCAL_PARA_HDR
+ kal_uint32 global_peer_msg_id;
+ kal_uint32 raw_data_len;
+ kal_uint32 trace_index;
+ kal_uint32 module_id;
+ char *arg_type;
+ kal_uint8 payload_len;
+ kal_uint8 payload[128]; //MAX_TRACE_SIZE
+} dhl_mt_peer_trace_ind_struct;
+//Peer buffer is raw_data
+
+typedef struct {
+ LOCAL_PARA_HDR
+ ICD_LOG_TYPE icd_type; // RECORD or EVENT
+ kal_uint16 code; // RECORD code or EVENT code
+ icd_protocol_id protocol_id;
+ kal_uint32 raw_data_len;
+} dhl_mt_icd_ind_struct;
+// Peer buffer is ICD Raw Data
+
+typedef struct{
+ LOCAL_PARA_HDR
+ kal_uint32 bar_duration;
+ EARFCN earfcn;
+ kal_uint16 pci;
+ kal_uint32 cell_id;
+ plmn_id_struct mccmnc;
+ protocol_id_enum protocol_id;
+ kal_uint16 cause;
+ kal_bool fake_cell_ind;
+}errc_mt_dmf_custom_bar_ind_struct;
+
+typedef struct{
+ kal_uint32 xarfcn;
+ kal_uint32 pci;
+ kal_int16 rsrp; //unit: qdBm
+ kal_int16 rsrq; //unit: qdB
+ kal_int16 sinr; //unit: qdB
+}nl1mob_mt_cell_signal_info_struct;
+
+typedef struct{
+ LOCAL_PARA_HDR
+ nl1mob_mt_custom_enh_type_enum enh_type;
+ nl1mob_mt_custom_enh_sub_type_enum enh_sub_type;
+ nl1mob_mt_cell_signal_info_struct serv_cell;
+ nl1mob_mt_cell_signal_info_struct nbr_cell;
+}nl1mob_mt_dmf_custom_enh_ind_struct;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _MTF_STRUCT_H */
+