blob: f17c6ebde867e90f9ad837646e12ddbc2d1e64bf [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:
* ---------
* srcParseDbModem.c
*
* Project:
* --------
* MOLY
*
* Description:
* ------------
* This file collects primitve IDs and struct definition from the Modem
* part for pre-processing.
*
* Author:
* -------
* -------
*
* =============================================================================
* $Log$
*
* 11 16 2020 shih-yu.chen
* [MOLY00595245] [Colgin] TMC development
* [TMC] patch back to MD700.
*
* 09 18 2020 tingwen.chen
* [MOLY00569501] [Gen97] TC10 patch back
* - Porting : 11422244 (smu_handler.c) / 11420054 (smu_handler.c) / 12120489 (smu_hander.c)
* - Porting : srcParseDbModem.c, IPCA part
*
* 09 18 2020 guanglong.wu
* [MOLY00554348] [Colgin] cell measure and white cell lock feature development
*
* [white cell list] From MP7.PreCheckin branch sync CL 12992971 to R3.MP
*
* 07 17 2020 can.lin
* [MOLY00520469] [5G] Add MISC (0x0A) / LTE fallback Message (0x62).
* Enhance ENDC control for NR15.R3.MP (MPD)
*
* 02 14 2020 actory.ou
* [MOLY00499908] [MT6873][Margaux][Q0][MP2][SQC][Log profiling]LTE VoLTE PS Standard filter - W06 target fail - MOD_CCISMCORE
* [VMOLY][MPD] add ccci enum for log reduction
*
* 12 09 2019 tingwen.chen
* [MOLY00464446] [VZW] Remote SIM Lock modem part (MPD)
* - Verizon RSU
* - Align all operator locks in l4c_sim_cmd
* - Code revise
*
* 12 09 2019 jun-jie.su
* [MOLY00395217] [Gen97] TMC development
* add tmc header file.
*
* 12 09 2019 jun-jie.su
* [MOLY00395217] [Gen97] TMC development
* add TX pwr struct reference.
*
* 12 06 2019 can.lin
* [MOLY00463601] [Gen97] Modify SASE module
*
* SASE DHL Definition
*
* 12 02 2019 jun-han.lin
* [MOLY00462166] MDFPM support feature option on/off
*
* MDFPM feature option on/off
*
* 11 08 2019 ya.li
* [MOLY00419192] [MT6779][Lafite][P0][WW FT][Singapore][IMS][SQC Excluded][VoLTE][TPG][TCID: V_SS_013] DUT is showing error when selecting 'show number' & 'network default' in CLIR settings while working fine when selecting 'hide number'
*
* .
*
* 10 27 2019 ian-yw.chen
* [MOLY00452386] [Rose][Petrus][Q0]Failed to read NVRAM_EF_MTF_DMF_MISC_STATISTICS_LID record pop up during test.(5/5)
* .
*
* 09 24 2019 howen.pu
* [MOLY00440880] EM info with XCAP information
* XCAP - VMOLY Common.
*
* 09 23 2019 louis-tw.huang
* [MOLY00439533] [Gen97][IDC] IDC feature development [EWSP0000046233]
*
* 09 09 2019 yu-hsiang.peng
* [MOLY00402569] [VMOLY] Logging Related Feature Patch
* [TRUNK] MPD, custom cmd + sap reboot
* 2019.09.09
*
* 09 06 2019 amit.singh
* [MOLY00433282] VMOLY KPALV module check-in
*
* VMOLY Latest patch MPD C.
*
* 08 26 2019 chen-wei.lan
* [MOLY00433041] [Gen97][EPSFB] IT related issues
* uac
*
* 08 08 2019 mika.kaikkonen
* [MOLY00397648] [Submarine] Modem Certificate module
*
* Cert definitions to libParseDbModem.c and srcParseDbModem.c.
*
* 07 29 2019 peter.yu
* [MOLY00425848] [MT6297][Apollo][MP1][SQC][EM][China][Shenzhen][FDD][4GMM][CU+NA][TCID:EM_EL2_001]the active of SRB1 display KAL_FALSE,not KAL_TRUE.
* Correct EM structure header files for database.
*
* 07 18 2019 jun-quan.chen
* [MOLY00422579] [MDDP] DPFM porting to VMOLY
* [MPD] DPFM patch back
*
* 07 12 2019 deepti.singh
* [MOLY00397188] [Submarine]HTTP dev
* HTTP VMOLY PB
*
* 07 09 2019 amit.singh
* [MOLY00420334] Dispatcher module check-in VMOLY [SUBMARINE]
*
* Dispatcher code check-in
*
* 04 24 2019 ian-yw.chen
* [MOLY00401131] [Gen97] porting from 95
*
* [porting from UMOLYE][to_20181230]
* other part
* (MPD)
*
* 04 12 2019 head.hsu
* [MOLY00398433] [Gen97][VMOLY] Protocol Assert Remove phase 1
* PERF (Protocol Exception Recovery Framework) create
*
* 03 28 2019 mingchuang.qiao
* [MOLY00394747] [Gen97][DPMAIF] Reduce log
* Reduce DPMAIF Log Throughput.
*
* 03 26 2019 max.mo
* [MOLY00393456] [Gen97][VMOLY] 45G InterRAT & interSystem feature.Max
*
* 03 26 2019 max.mo
* [MOLY00393456] [Gen97][VMOLY] 45G InterRAT & interSystem feature.Max
*
* 03 15 2019 bo-hun.chen
* [MOLY00378534] [Mcddll] VGSM/VGMM part - subsidiary(ADZ) build error.
*
* 03 13 2019 bo-hun.chen
* [MOLY00378534] [Mcddll] VGSM/VGMM part
*
* [MOLY00378534] [VGSM] mcddll
*
* 02 27 2019 yuri.huang
* [MOLY00377335] [MakeFile] [UMOLYE] [Modify Makefile Rules] MPD SUB flow for 2g/3g
*
* .
*
* 02 12 2019 head.hsu
* [MOLY00383920] [New Task] PERF (Protocol Exception Framework) task create
* rollback
*
* 01 28 2019 jun-quan.chen
* [MOLY00381488] [Gen97] [MCF] MCF porting to VMOLY
* [MCF] [MPD] MCF porting to VMOLY
*
* 01 21 2019 devin.yang
* [MOLY00378746] [System Service] [KAL Config] ISR Centraliztion Framework.
* ISR Centralization Framework.
*
* 01 02 2019 jocobrian.chang
* [MOLY00327370] [Gen97]MML1 framework development.
* Remove unused code.
* ERS00026161.
*
* 12 20 2018 yu-hsiang.peng
* [MOLY00372896] [Gen97] sAP logging support
* [VMOLY.EVB.SEPT] sAP support - DB part
*
* 10 12 2018 mt.tsai
* [MOLY00357585] [Gen95][WIPC] WIPC Module removal
* [MD95] WIPC module removal
*
* 10 12 2018 jocobrian.chang
* [MOLY00313049] [Gen97]NL1 LCM development. ERS00017231.
*
* 08 29 2018 shen-pin.lin
* [MOLY00348913] [MT6297][L4][PS]+E5GOPT for 5G
*
* E5GOPT merge from UMOLYE
*
* 08 29 2018 shen-pin.lin
* [MOLY00348913] [MT6297][L4][PS]+E5GOPT for 5G
*
* E5GOPT merge from UMOLYE
*
* 08 29 2018 shen-pin.lin
* [MOLY00348913] [MT6297][L4][PS]+E5GOPT for 5G
*
* E5GOPT merge from UMOLYE
*
* 08 23 2018 yu-hsiang.peng
* [MOLY00343261] [MT6297] [Logging Service] DHL 2.0 Landing
* [DHL2.0] Port to VMOLY (dhl mak & DB)
*
* 08 20 2018 yingfui.hung
* [MOLY00346992] [Gen97][RAC] RAC revise and vgRAC implementation
* CL6151862 - 6171771
*
* 08 17 2018 kuan-wei.chen
* [MOLY00346647] [MT6297][VDM/L4] changes for 97
* [VMOLY] vdm related others
*
* 08 17 2018 james-chi-ju.chang
* [MOLY00306148] [NAS] pangu giant CR
* interface
*
* 07 30 2018 chi-chun.lu
* [MOLY00342741] [MakeFile] [UMOLYE] [Modify Makefile Rules] enhance build flow for cgen tdd/fdd preprocessing files
*
* .
*
*******************************************************************************/
/********************************************* Warning **********************************************
* Please make sure header file is included correctly!
* If the common header file is added to srcParseDbModem_tdd_fdd.c, the context of header file will be preprocessed twice.
* The change as mentioned previously can lead to build time inefficiency.
*
* common header file => srcParseDbModem.c
* Tdd/Fdd(2g/3g) header file => srcParseDbModem_tdd_fdd.c
*
* If the header file relate to Tdd/Fdd (2g/3g), please include the header file in srcParseDbModem_tdd_fdd.c
* If the header file is common header file or is not related to Tdd/Fdd(2g/3g), please add the header file to srcParseDbModem.c
********************************************** Warning **********************************************/
#ifdef _MODIS_ON_VC9_
#define __w64
#endif
typedef int cgen_use_spare_msg_id;
typedef int cgen_use_spare_sap_id;
typedef int cgen_use_spare_module_id;
typedef unsigned short msg_type;
typedef unsigned short sap_type;
typedef unsigned short module_type;
#ifdef __GNUC__
typedef struct __va_list { void *__ap; } __builtin_va_list;
#define INLINE __inline
#define inline __inline
#endif
#define __declspec(s)
//"ps\\tools\\asn1lib\\include\\act-ttbuffmgr.h"
#undef STDC_HEADERS //it will include stdio.h
#ifdef __RVCT__
#ifndef __int64
typedef long long __int64;
#endif
#define _ARMABI
#endif
#include "L1Trc.h"
#include "kal_public_api.h"
#include "kal_public_defs.h" //MSBB change #include "stack_msgs.h"
#include "sap_info.h"
#include "msg_id_to_em_info_map.h"
#include "kal_trace.h"
#include "stack_ltlcom.h"
#include "stacklib.h" /* Basic type for dll, evshed, stacktimer */
#include "stack_timer.h"
#include "event_shed.h"
#include "intrCtrl.h"
#if defined (__DHL_V2_ENABLE__)
//reserve for dhl2.0
#include "GV.h"
#include "dhl_def.h"
#else
#include "GV.h"
#include "dhl_def.h"
#include "dhl_notify.h"
#endif
#include "custom_cmd.h"
#include "protocol_section.h"
#if defined(GEN_FOR_PC)
//#include "tst_Catcher_version.h"
#endif //#if defined(GEN_FOR_PC)
#ifndef L4_NOT_PRESENT
#include "l4c2uem_struct.h"
#include "l4c2smu_struct.h"
#include "l4c2smu_vzw_struct.h"
#include "l4c2csm_cc_struct.h"
#include "l4c2smsal_struct.h"
#endif
#ifdef __MOD_NVRAM__
#include "nvram_data_items.h"
#include "ex_item.h"
#if defined(__MMI_FMI__)
#include "nvram_common_defs.h"
#include "common_nvram_editor_data_item.h"
#endif
#include "nvram_editor_data_item.h"
#include "nvram_editor.h"
#include "nvram_lid_list_for_mcf.h"
#include "nvram_lid_structure_check_extend_list.h"
#endif /*__MOD_NVRAM__*/
#include "perf_api.h" /// protocol exception recovery framework API
#ifdef __EM_MODE__
#include "em_l4_common_public_struct.h"
#include "em_as_common_public_struct.h"
#include "em_nwsel_common_public_struct.h"
#include "em_struct.h"
/* Start of EM related structure */
#include "em_audio_public_struct.h"
#include "em_cc_public_struct.h"
#include "em_dhl_public_struct.h"
#include "em_el1_public_struct.h"
#ifdef __EL2_ARCH_V1__
#include "em_el2_public_struct.h"
#endif
#ifdef __EL2_ARCH_V2__
#include "em_enl2_public_struct.h"
#endif
#include "em_emm_public_struct.h"
#include "em_errc_public_struct.h"
#include "em_esm_public_struct.h"
#include "em_gas_public_struct.h"
#include "em_imc_public_struct.h"
#include "em_l1_public_struct.h"
#include "em_l4_public_struct.h"
#include "em_llc_public_struct.h"
#include "em_ltecsr_public_struct.h"
#include "em_mcf_public_struct.h"
#include "em_mm_public_struct.h"
#include "em_mmrf_public_struct.h"
#include "em_nwsel_public_struct.h"
#include "em_public_struct.h"
#include "em_ratcm_public_struct.h"
#include "em_sim_public_struct.h"
#include "em_sm_public_struct.h"
#include "em_sndcp_public_struct.h"
#include "em_ss_public_struct.h"
#include "em_uas_public_struct.h"
#include "em_ul1_public_struct.h"
#include "em_ul2_public_struct.h"
#include "em_vdm_public_struct.h"
#include "em_sms_public_struct.h"
#include "em_imcsms_public_struct.h"
#include "em_xcap_public_struct.h"
/* End of EM related structure */
#endif /* __EM_MODE__ */
#ifndef ABM_NOT_PRESENT
#include "abm_soc_enums.h"
#include "abm2soc_struct.h"
#include "app2cbm_struct.h"
#include "wndrv_cnst.h"
#include "wndrv_supc_types.h"
#include "wndrv_api.h"
#include "supc_abm_msgs.h"
#include "mmi2abm_struct.h"
#include "soc2abm_struct.h"
#if defined(__MMI_FMI__)
#endif
#include "l4c2abm_struct.h"
/* Jeff Wu 2008-02-20: for streaming and secondary PDP context */
#include "mmi_sm_enums.h"
/* End of Jeff Wu */
#include "abm2l4c_struct.h"
#include "l4c2ppp_struct.h"
#include "ppp2l4c_struct.h"
#include "abm_def.h"
#endif /* ~ABM_NOT_PRESENT */
#ifndef MED_NOT_PRESENT
#include "aud_defs.h"
#include "med_struct.h"
#endif /* MED_NOT_PRESENT */
#ifndef MED_V_NOT_PRESENT
#include "med_global.h"
#endif /* MED_V_NOT_PRESENT */
#if defined(__VIDEO_ARCHI_V2__)
#endif
#ifndef TCPIP_NOT_PRESENT
#include "soc_api.h"
#include "soc2tcpip_struct.h"
#include "tcpip2ppp_struct.h"
#include "ppp2tcpip_struct.h"
#endif
#ifdef __HOTSPOT_SUPPORT__
#include "hostap_abm_msgs.h"
#endif
#ifndef SOC_NOT_PRESENT
#include "inet_ut_struct.h"
#include "..\..\..\inet_ps\soc\include\soc_feature.h"
#include "soc_api.h"
#include "app2soc_struct.h"
#include "soc2tcpip_struct.h"
#include "abm_soc_enums.h"
#include "abm2soc_struct.h"
#include "soc2abm_struct.h"
#include "soc_enum.h"
#endif
#ifdef __J2ME__
#include ".\..\..\applib\misc\include\app_datetime.h"
#endif
#ifdef __EMAIL__
#include "rtc_sw.h"
#ifdef __SSL_SUPPORT__
#endif /* __SSL_SUPPORT__ */
#include "che_api.h"
#endif /* __EMAIL__ */
#ifdef __IMPS__
#include "fs_type.h"
#include "fat_fs.h"
#endif /* __IMPS__ */
#ifdef WAP_SUPPORT
#include "custom_wap_config.h"
#endif
#ifdef MMS_SUPPORT
#endif
#include "resource_audio.h"
#if defined (__MTV_SUPPORT__) || defined(__ATV_SUPPORT__)
#endif
#if defined (__CMMB_SUPPORT__)
#include ".\..\..\plutommi\MtkApp\DTVPlayer\DTVPlayerInc\DTVPlayerEnum.h"
#endif
#ifdef NEPTUNE_MMI
#ifndef __L1_STANDALONE__
#endif /* __L1_STANDALONE__ */
#endif
#ifdef __XDM__
#include "fs_type.h"
#include "fat_fs.h"
#endif /* __XDM__ */
#ifdef __RTSP__
#include "app2rtsp_struct.h"
#endif /* __RTSP__ */
/* for BMT */
#include "drvsignals.h"
/* for BMT */
#ifdef __SIP__
#include "inet_msg_def.h"
#endif /* __SIP__ */
#ifdef __POC__
#include "mmi2poc_struct.h"
#include "poc_enum.h"
#endif /* __POC__ */
#ifdef __BTMTK__
#include "bluetooth_bm_struct.h"
#include "bluetooth_struct.h"
#include "bt_dm_struct.h"
#include "bt_hfg_struct.h"
#include "bt_hsg_struct.h"
#include "bt_hidd_struct.h"
#include "bt_a2dp_base_struct.h"
#endif
#ifdef __SYNCML_SUPPORT__
#endif
#include "mexe_struct.h"
#ifdef __VOIP__
#endif /* __VOIP__ */
#ifdef __TCPIP__
#include "..\..\..\inet_ps\tcpip\include\tcpip_config.h"
#include "..\..\..\inet_ps\tcpip\include\in.h"
#include "..\..\..\inet_ps\tcpip\include\ip.h"
#include "..\..\..\inet_ps\tcpip\include\tcp.h"
#include "..\..\..\inet_ps\tcpip\include\if.h"
#ifdef __WIFI_SUPPORT__
#include "wndrv_cnst.h"
#include "wndrv_tcpip_msg.h"
#endif /* __WIFI_SUPPORT__ */
#endif /* __TCPIP__ */
#ifdef __WIFI_SUPPORT__
#include "..\..\..\inet_ps\dhcp\include\dhcp_const.h"
#include "..\..\..\inet_ps\dhcp\include\dhcp_enum.h"
#include "..\..\..\inet_ps\dhcp\include\dhcp_context.h"
#include "dhcp_abm_enums.h"
#include "dhcp_sip_enums.h"
#include "dhcp2abm_struct.h"
#include "dhcp2sip_struct.h"
#include "tcpip2dhcp_struct.h"
#endif /* __WIFI_SUPPORT__ */
#ifdef __HOTSPOT_SUPPORT__
#include "dhcpd2abm_struct.h"
#endif /* __HOTSPOT_SUPPORT__ */
#ifdef __SAF__
#endif /* __SAF__ */
#ifdef NEPTUNE_MMI
#include ".\..\..\interface\modem\mmi_msg_struct.h"
#endif
#ifdef __SSL_SUPPORT__
#endif /* __SSL_SUPPORT__ */
#if defined(__GPS_SUPPORT__) || defined(__BT_GPS_SUPPORT__)
#include "gps_struct.h"
#endif
#ifdef __CERTMAN_SUPPORT__
#endif
#if defined __SUPL_SUPPORT__
#include "supl2lcsp_enums.h"
#include "supl2lcsp_struct.h"
#endif
#ifndef FMT_NOT_PRESENT
#endif
#if defined(__UDX_SUPPORT__) || defined(__MULTI_VCARD_SUPPORT__)
#endif
#ifdef WAP_SUPPORT
#endif /* WAP_SUPPORT */
#ifdef __CCA_SUPPORT__
#endif /* __CCA_SUPPORT__ */
#ifdef __MTP_ENABLE__
#endif
#ifndef __MTK_TARGET__
#include "rmmi_context.h"
#endif
#if defined(OPERA_V10_BROWSER) || defined(__GADGET_SUPPORT__)
#endif
#if defined (__MMI_IMAGE_VIEWER__) && !defined (NEPTUNE_MMI)
#endif /* __MMI_IMAGE_VIEWER__ */
#ifdef __CMMB_CAS_MBBMS_SUPPORT__
#endif
#if defined(__CMMB_SUPPORT__)
#endif
#if defined(__H264_HW_OPEN_API_SUPPORT__) || defined(__H264_DEC_HW_SUPPORT__) || defined (__H264_SW_OPEN_API_SUPPORT__)
#endif
#if defined(DRV_DISPLAY_DRIVER_V2)
#include ".\..\..\interface\hal\display\wfc\wfc.h"
#include ".\..\..\hal\display\debug\inc\lcd_catcher_log.h"
#include ".\..\..\interface\hal\display\common\display_io.h"
#include ".\..\..\hal\display\common\include\display_io_internal.h"
#endif
#include "fs_gprot.h"
#ifdef __PLST_SERVICE_DB_SUPPORT__
#include "..\..\..\plutommi\Service\PlstSrv\PlstSrvMsgStruct.h"
#endif
#include "mspm_public_api.h"
/* global enum */
/***************************************************************
* if add _msgid.h or _sap.h file, should include the _msgid.h or _sap.h in : *
* kal_debug_msg_sap_defs.h & srcParseDbModem.c & srcParseDbModem.c *
****************************************************************/
#include "module_msg_range.h"
#include "perf_msgid.h"
#include "sysservice_msgid.h"
#include "cc_msgid.h"
#include "ciss_msgid.h"
#include "nwsel_msgid.h"
#include "gmss_msgid.h"
#include "mm_msgid.h"
#include "sms_msgid.h"
#include "sim_public_msgid.h"
#include "sim_ps_msgid.h"
#include "ps_public_l4_msgid.h"
#include "l4_msgid.h"
#include "psdm_msgid.h"
#include "rr_msgid.h"
#include "llc_msgid.h"
#include "p2p_msgid.h"
#include "sndcp_msgid.h"
#include "sm_msgid.h"
#include "data_msgid.h"
#include "ps_public_vt_msgid.h"
#include "VT_msgid.h"
#include "nvram_msgid.h"
#include "l1_msgid.h"
#include "mll1_msgid.h"
#include "hal_l1_msgid.h"
#include "l1hisr_msgid.h"
#include "ft_msgid.h"
#include "tst_msgid.h"
#include "audio_msgid.h"
#include "cldmacore_msgid.h"
#include "ratcm_msgid.h"
#include "ratdm_msgid.h"
#include "urr_msgid.h"
#include "ul2_msgid.h"
#include "ul2d_msgid.h"
#include "uas_gas_msgid.h"
#include "mrs_msgid.h"
#include "uas_gas_gemini_msgid.h"
#include "ul1_msgid.h"
#include "ul1data_msgid.h"
#include "ul1hisr_msgid.h"
#include "ul1c_msgid.h"
#include "ll1_msgid.h"
#include "ul1tst_msgid.h"
#include "ulcs_msgid.h"
#include "lpp_msgid.h"
#include "gps_msgid.h"
#include "tl1_msgid.h"
#include "tl1data_ast_msgid.h"
// #include "tl1hisr_ast_msgid.h" File Removed (Tafang)
#include "tl1fta_ast_msgid.h"
#include "rsva_msgid.h"
#include "mspm_msgid.h"
#include "ndis_msgid.h"
#include "ps_public_ups_msgid.h"
#include "ups_msgid.h"
#include "ps_public_supl_msgid.h"
#include "supl_msgid.h"
#include "cmux_msgid.h"
#include "ppp_msgid.h"
#include "ext_modem_msgid.h"
#include "wmt_msgid.h"
#include "em_msgid.h"
#include "fs_msgid.h"
#include "med_msgid.h"
#include "dps_msgid.h"
#include "udps_msgid.h"
#include "drv_msgid.h"
#include "meut_msgid.h"
#include "l1_ext_msgid.h"
#include "haplus_msgid.h"
#include "hif_mw_msgid.h"
#include "hif_svc_msgid.h"
#include "las_msgid.h"
#include "el1_msgid.h"
#include "mcf_msgid.h"
#include "sap_relayer_msgid.h"
#include "sap_range.h"
#include "svc_sap.h"
#include "md_sap.h"
#include "md_svc_sap.h"
#include "md_drv_sap.h"
#include "md_mmi_sap.h"
#include "md_mw_sap.h"
#include "mw_sap.h"
#include "drv_sap.h"
#if defined (__IDC_ENABLED__) && defined (__MD97__)
#include "idc_md_msgid.h"
#include "idc_msgid.h"
#endif
#include "srv_modid.h"
#include "modem_2g3g_modid.h"
#include "modem_4g_modid.h"
#include "modem_5g_modid.h"
#include "middleware_modid.h"
#include "drv_modid.h"
#include "hisr_modid.h"
#include "isr_modid.h"
#if defined(__CL1_TASK_ENABLE__)
#include "cl1d_rf_tst_elt_msg_struct.h"
#include "elt_msgid.h"
#endif
#include "mbci_struct.h"
#if defined (__ETCM__)
#include "eval_msgid.h"
#include "upcm_msgid.h"
#endif
#include "l4c_eval_struct.h"
#include "mdfpm_msgid.h"
/* CCCI IPC */
#if defined(__CCCIDEV_SUPPORT__)
#include "ccci_ipc_msgid.h"
#endif
/* CCCI IPC */
#if defined(__CCCIDEV_SUPPORT__)
#include "ccci_tty_if.h" //dump dev_id enum
#include "ccci_fs_if.h" //dump op enum
#include "dcl.h" //dump SIO_CMD enum
#endif
#if defined(__HIF_LHIF_SUPPORT__)
#include "lhifcore_msgid.h"
#endif
/* CCISM */
#if defined(__HIF_CCISM_SUPPORT__)
#include "ccismcore_msgid.h"
#endif /*defined(__HIF_CCISM_SUPPORT__)*/
#ifdef __IPCORE_SUPPORT__
#include "ipc_struct.h"
#include "ipc_enums.h"
#include "pfm_struct.h"
#include "pfm_enums.h"
#endif /* __IPCORE_SUPPORT__ */
#ifdef __IPFCORE_SUPPORT__
#include "ipfc_enums.h"
#endif /* __IPFCORE_SUPPORT__ */
#ifdef __DPFM_SUPPORT__
#include "dpfm_enums.h"
#include "dpfm_struct.h"
#endif /* __DPFM_SUPPORT__ */
#ifdef __TMC_SUPPORT__
#include "tmc_struct.h"
#include "tmc_enums.h"
#include "tmc_l5_struct.h"
#endif /* __TMC_SUPPORT__ */
#if defined(__HLT_SUPPORT__)
#include "hlt_if.h"
#endif
#ifdef __MTK_MD_DIRECT_USB_SUPPORT__
#include "ufpm_em_struct.h"
#endif
#ifdef __BIP_SUPPORT__
#include "bip_msgid.h"
#include "bip_if.h"
#endif
#ifdef __MCF_SUPPORT__
#include "mcf_struct.h"
#include "mcf_enum.h"
#endif
#include "iwlan_msgid.h"
#include "ssds_msgid.h"
#include "atp_ssds_struct.h"
//#include "ssds_imc_struct.h"
#include "ssds_l4c_struct.h"
#include "atp_analyzer.h"
#include "atp_structs.h"
#include "atp_msgid.h"
#include "atp_l4c_struct.h"
#include "l4c2rac_struct.h"
#include "atp_defs.h"
#ifdef __KPALV_SUPPORT__
#include "kpalv_msgid.h"
#include "kpalv_struct.h"
#endif
#ifdef __CDMA2000_RAT__
/* Add C2K EM headers */
#include "em_public_struct_evl1.h"
#include "em_public_struct_xl1.h"
#include "em_public_struct_chsc.h"
#include "em_public_struct_evl2.h"
#include "em_public_struct_xl2.h"
#include "em_public_struct_evl3.h"
#include "em_public_struct_xl3.h"
#include "em_public_struct_c2k_hlp.h"
#include "em_public_struct_cval.h"
#endif /* __CDMA2000_RAT__ */
#ifdef __MD_TCPIP_SUPPORT__
#include "tcpip_msgid.h"
#endif
#include "vdm_l4c_struct.h"
#include "sdm_l4c_struct.h"
#include "vdm_gmss_struct.h"
#ifdef __XCAP_SUPPORT__
#include "xcap_msgid.h"
#include "xcap_if.h"
#endif
#ifdef __SASE_SUPPORT__
#include "sase_msgid.h"
#include "sase_if.h"
#include "atp_sase_struct.h"
#endif
#ifdef __NR_ENABLE__
#include "tmc_l1_struct.h"
#endif
#ifdef __DISPATCHER_SUPPORT__
#include "dispatcher_msgid.h"
#include "ipcore_dispatcher_struct.h"
#include "n3epc_dispatcher_struct.h"
#endif
#ifdef __MT_FRAMEWORK_SUPPORT__
#include "mtf_struct.h"
#endif
#include "nas_sv_msgid.h"
#include "smic_msgid.h"
/* Move to lte_sec libParseDbModem.c */
//#if defined(__FIVEG_NAS__)
//For MCDDLL
//#include "vgmm_msg_unpack.h"
//#include "vgsm_msg_unpack.h"
//#endif /* __FIVEG_NAS__ */
/* Move to lte_sec libParseDbModem.c */
// #if defined (__NR_RAT__)
// #include "nr_fwk_trace_enum.h"
// #include "nr_rx_trace_enum.h"
// #include "nr_tx_trace_enum.h"
// #include "mml1_fwk_lcm_public.h"
// #endif /* __NR_RAT__ */
#if defined(__HIF_DPMAIF_DP_SUPPORT__)
#include "dpmaif_msgid.h"
#endif
#ifdef __HTTP_TLS_SUPPORT__
#include "http_tls_msgid.h"
#include "http_if.h"
#include "tls_if.h"
#endif
#ifdef __MD_CERT_SUPPORT__
#include "cert_msgid.h"
#endif
#ifdef __IPC_ADAPTER__
#ifndef __MTK_TARGET__
#include "oemdebug.h"
#include "oemutility.h"
#endif
#include "ipc_adapter_public_struct.h"
#include "ipc_adapter_public_def.h"
#include "ipc_adapter_public_em_struct.h"
#include "ipc_adapter_msgid.h"
#include "ipc_adapter_cc_struct.h"
#include "ipc_adapter_pwr_struct.h"
#include "ipc_adapter_sms_struct.h"
#include "ipc_adapter_atp_struct.h"
#include "ipc_adapter_sat_struct.h"
#include "ipc_adapter_phb_struct.h"
#include "ipc_adapter_smu_struct.h"
#include "ipc_adapter_ss_struct.h"
#include "ipc_adapter_imei_struct.h"
#include "ipc_adapter_cfg_struct.h"
#include "ipc_adapter_embms_struct.h"
#include "ipc_adapter_l23_struct.h"
#include "ipc_adapter_domestic_struct.h"
#include "ipc_adapter_jpn_struct.h"
#include "ipca_smu_private_enum.h"
#include "ipca_smu_context.h"
#include "ipca_embms_context.h"
#include "ipca_ctrl_struct.h"
#include "ipca_phb_enum.h"
#include "ipca_imei_enum.h"
#include "ipca_pwr_enum.h"
#include "ipca_pwr_context.h"
#include "ipca_sms_hdlr.h"
#include "ipc_adapter_nw_struct.h"
#include "ipc_adapter_dspl_struct.h"
#include "ipc_adapter_misc_struct.h"
#include "ipca_nw_enum.h"
#include "ipca_nw_context.h"
#include "ipca_misc_enum.h"
#include "ipc_adapter_enum.h"
#include "ipc_adapter_gprs_struct.h"
#include "ipca_ctrl_context.h"
#include "ipca_factory_enum.h"
#include "ipc_adapter_factory_struct.h"
#include "ipc_adapter_sap_struct.h"
#include "ipca_gprs_enum.h"
#include "ipca_gprs_context.h"
#include "ipca_gprs_ps.h"
#include "ipca_gprs_ps_routine_struct.h"
#include "ipc_adapter_em_struct.h"
#include "ipca_sat_private_struct.h"
#include "ipca_sat_private_enum.h"
#include "ipca_cc_utility.h"
#include "ipc_adapter_srlte_struct.h"
#include "ipca_srlte_context.h"
#include "ipca_em_struct.h"
#include "ipca_jpn_private_struct.h"
#include "ipca_jpn_private_defs.h"
#include "ipca_domestic_main.h"
#include "ipca_sap_enum.h"
#include "ipca_sap_context.h"
#endif //__IPC_ADAPTER__
#ifdef __WHITE_CELL_LOCK__
#ifdef __L5_SUPPORT__
#include "l5_l4c_struct.h"
#endif /* __L5_SUPPORT__*/
#endif /* __WHITE_CELL_LOCK__ */
/********************************************* Warning **********************************************
* Please make sure header file is included correctly!
* If the common header file is added to srcParseDbModem_tdd_fdd.c, the context of header file will be preprocessed twice.
* The change as mentioned previously can lead to build time inefficiency.
*
* common header file => srcParseDbModem.c
* Tdd/Fdd(2g/3g) header file => srcParseDbModem_tdd_fdd.c
*
* If the header file relate to Tdd/Fdd (2g/3g), please include the header file in srcParseDbModem_tdd_fdd.c
* If the header file is common header file or is not related to Tdd/Fdd(2g/3g), please add the header file to srcParseDbModem.c
********************************************** Warning **********************************************/