blob: f17c6ebde867e90f9ad837646e12ddbc2d1e64bf [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2005
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35
36/*******************************************************************************
37 *
38 * Filename:
39 * ---------
40 * srcParseDbModem.c
41 *
42 * Project:
43 * --------
44 * MOLY
45 *
46 * Description:
47 * ------------
48 * This file collects primitve IDs and struct definition from the Modem
49 * part for pre-processing.
50 *
51 * Author:
52 * -------
53 * -------
54 *
55 * =============================================================================
56 * $Log$
57 *
58 * 11 16 2020 shih-yu.chen
59 * [MOLY00595245] [Colgin] TMC development
60 * [TMC] patch back to MD700.
61 *
62 * 09 18 2020 tingwen.chen
63 * [MOLY00569501] [Gen97] TC10 patch back
64 * - Porting : 11422244 (smu_handler.c) / 11420054 (smu_handler.c) / 12120489 (smu_hander.c)
65 * - Porting : srcParseDbModem.c, IPCA part
66 *
67 * 09 18 2020 guanglong.wu
68 * [MOLY00554348] [Colgin] cell measure and white cell lock feature development
69 *
70 * [white cell list] From MP7.PreCheckin branch sync CL 12992971 to R3.MP
71 *
72 * 07 17 2020 can.lin
73 * [MOLY00520469] [5G] Add MISC (0x0A) / LTE fallback Message (0x62).
74 * Enhance ENDC control for NR15.R3.MP (MPD)
75 *
76 * 02 14 2020 actory.ou
77 * [MOLY00499908] [MT6873][Margaux][Q0][MP2][SQC][Log profiling]LTE VoLTE PS Standard filter - W06 target fail - MOD_CCISMCORE
78 * [VMOLY][MPD] add ccci enum for log reduction
79 *
80 * 12 09 2019 tingwen.chen
81 * [MOLY00464446] [VZW] Remote SIM Lock modem part (MPD)
82 * - Verizon RSU
83 * - Align all operator locks in l4c_sim_cmd
84 * - Code revise
85 *
86 * 12 09 2019 jun-jie.su
87 * [MOLY00395217] [Gen97] TMC development
88 * add tmc header file.
89 *
90 * 12 09 2019 jun-jie.su
91 * [MOLY00395217] [Gen97] TMC development
92 * add TX pwr struct reference.
93 *
94 * 12 06 2019 can.lin
95 * [MOLY00463601] [Gen97] Modify SASE module
96 *
97 * SASE DHL Definition
98 *
99 * 12 02 2019 jun-han.lin
100 * [MOLY00462166] MDFPM support feature option on/off
101 *
102 * MDFPM feature option on/off
103 *
104 * 11 08 2019 ya.li
105 * [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'
106 *
107 * .
108 *
109 * 10 27 2019 ian-yw.chen
110 * [MOLY00452386] [Rose][Petrus][Q0]Failed to read NVRAM_EF_MTF_DMF_MISC_STATISTICS_LID record pop up during test.(5/5)
111 * .
112 *
113 * 09 24 2019 howen.pu
114 * [MOLY00440880] EM info with XCAP information
115 * XCAP - VMOLY Common.
116 *
117 * 09 23 2019 louis-tw.huang
118 * [MOLY00439533] [Gen97][IDC] IDC feature development [EWSP0000046233]
119 *
120 * 09 09 2019 yu-hsiang.peng
121 * [MOLY00402569] [VMOLY] Logging Related Feature Patch
122 * [TRUNK] MPD, custom cmd + sap reboot
123 * 2019.09.09
124 *
125 * 09 06 2019 amit.singh
126 * [MOLY00433282] VMOLY KPALV module check-in
127 *
128 * VMOLY Latest patch MPD C.
129 *
130 * 08 26 2019 chen-wei.lan
131 * [MOLY00433041] [Gen97][EPSFB] IT related issues
132 * uac
133 *
134 * 08 08 2019 mika.kaikkonen
135 * [MOLY00397648] [Submarine] Modem Certificate module
136 *
137 * Cert definitions to libParseDbModem.c and srcParseDbModem.c.
138 *
139 * 07 29 2019 peter.yu
140 * [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.
141 * Correct EM structure header files for database.
142 *
143 * 07 18 2019 jun-quan.chen
144 * [MOLY00422579] [MDDP] DPFM porting to VMOLY
145 * [MPD] DPFM patch back
146 *
147 * 07 12 2019 deepti.singh
148 * [MOLY00397188] [Submarine]HTTP dev
149 * HTTP VMOLY PB
150 *
151 * 07 09 2019 amit.singh
152 * [MOLY00420334] Dispatcher module check-in VMOLY [SUBMARINE]
153 *
154 * Dispatcher code check-in
155 *
156 * 04 24 2019 ian-yw.chen
157 * [MOLY00401131] [Gen97] porting from 95
158 *
159 * [porting from UMOLYE][to_20181230]
160 * other part
161 * (MPD)
162 *
163 * 04 12 2019 head.hsu
164 * [MOLY00398433] [Gen97][VMOLY] Protocol Assert Remove phase 1
165 * PERF (Protocol Exception Recovery Framework) create
166 *
167 * 03 28 2019 mingchuang.qiao
168 * [MOLY00394747] [Gen97][DPMAIF] Reduce log
169 * Reduce DPMAIF Log Throughput.
170 *
171 * 03 26 2019 max.mo
172 * [MOLY00393456] [Gen97][VMOLY] 45G InterRAT & interSystem feature.Max
173 *
174 * 03 26 2019 max.mo
175 * [MOLY00393456] [Gen97][VMOLY] 45G InterRAT & interSystem feature.Max
176 *
177 * 03 15 2019 bo-hun.chen
178 * [MOLY00378534] [Mcddll] VGSM/VGMM part - subsidiary(ADZ) build error.
179 *
180 * 03 13 2019 bo-hun.chen
181 * [MOLY00378534] [Mcddll] VGSM/VGMM part
182 *
183 * [MOLY00378534] [VGSM] mcddll
184 *
185 * 02 27 2019 yuri.huang
186 * [MOLY00377335] [MakeFile] [UMOLYE] [Modify Makefile Rules] MPD SUB flow for 2g/3g
187 *
188 * .
189 *
190 * 02 12 2019 head.hsu
191 * [MOLY00383920] [New Task] PERF (Protocol Exception Framework) task create
192 * rollback
193 *
194 * 01 28 2019 jun-quan.chen
195 * [MOLY00381488] [Gen97] [MCF] MCF porting to VMOLY
196 * [MCF] [MPD] MCF porting to VMOLY
197 *
198 * 01 21 2019 devin.yang
199 * [MOLY00378746] [System Service] [KAL Config] ISR Centraliztion Framework.
200 * ISR Centralization Framework.
201 *
202 * 01 02 2019 jocobrian.chang
203 * [MOLY00327370] [Gen97]MML1 framework development.
204 * Remove unused code.
205 * ERS00026161.
206 *
207 * 12 20 2018 yu-hsiang.peng
208 * [MOLY00372896] [Gen97] sAP logging support
209 * [VMOLY.EVB.SEPT] sAP support - DB part
210 *
211 * 10 12 2018 mt.tsai
212 * [MOLY00357585] [Gen95][WIPC] WIPC Module removal
213 * [MD95] WIPC module removal
214 *
215 * 10 12 2018 jocobrian.chang
216 * [MOLY00313049] [Gen97]NL1 LCM development. ERS00017231.
217 *
218 * 08 29 2018 shen-pin.lin
219 * [MOLY00348913] [MT6297][L4][PS]+E5GOPT for 5G
220 *
221 * E5GOPT merge from UMOLYE
222 *
223 * 08 29 2018 shen-pin.lin
224 * [MOLY00348913] [MT6297][L4][PS]+E5GOPT for 5G
225 *
226 * E5GOPT merge from UMOLYE
227 *
228 * 08 29 2018 shen-pin.lin
229 * [MOLY00348913] [MT6297][L4][PS]+E5GOPT for 5G
230 *
231 * E5GOPT merge from UMOLYE
232 *
233 * 08 23 2018 yu-hsiang.peng
234 * [MOLY00343261] [MT6297] [Logging Service] DHL 2.0 Landing
235 * [DHL2.0] Port to VMOLY (dhl mak & DB)
236 *
237 * 08 20 2018 yingfui.hung
238 * [MOLY00346992] [Gen97][RAC] RAC revise and vgRAC implementation
239 * CL6151862 - 6171771
240 *
241 * 08 17 2018 kuan-wei.chen
242 * [MOLY00346647] [MT6297][VDM/L4] changes for 97
243 * [VMOLY] vdm related others
244 *
245 * 08 17 2018 james-chi-ju.chang
246 * [MOLY00306148] [NAS] pangu giant CR
247 * interface
248 *
249 * 07 30 2018 chi-chun.lu
250 * [MOLY00342741] [MakeFile] [UMOLYE] [Modify Makefile Rules] enhance build flow for cgen tdd/fdd preprocessing files
251 *
252 * .
253 *
254 *******************************************************************************/
255/********************************************* Warning **********************************************
256* Please make sure header file is included correctly!
257* If the common header file is added to srcParseDbModem_tdd_fdd.c, the context of header file will be preprocessed twice.
258* The change as mentioned previously can lead to build time inefficiency.
259*
260* common header file => srcParseDbModem.c
261* Tdd/Fdd(2g/3g) header file => srcParseDbModem_tdd_fdd.c
262*
263* If the header file relate to Tdd/Fdd (2g/3g), please include the header file in srcParseDbModem_tdd_fdd.c
264* 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
265********************************************** Warning **********************************************/
266
267#ifdef _MODIS_ON_VC9_
268#define __w64
269#endif
270
271typedef int cgen_use_spare_msg_id;
272typedef int cgen_use_spare_sap_id;
273typedef int cgen_use_spare_module_id;
274typedef unsigned short msg_type;
275typedef unsigned short sap_type;
276typedef unsigned short module_type;
277
278#ifdef __GNUC__
279 typedef struct __va_list { void *__ap; } __builtin_va_list;
280 #define INLINE __inline
281 #define inline __inline
282#endif
283
284#define __declspec(s)
285//"ps\\tools\\asn1lib\\include\\act-ttbuffmgr.h"
286#undef STDC_HEADERS //it will include stdio.h
287
288#ifdef __RVCT__
289#ifndef __int64
290 typedef long long __int64;
291#endif
292
293
294#define _ARMABI
295
296#endif
297#include "L1Trc.h"
298
299#include "kal_public_api.h"
300#include "kal_public_defs.h" //MSBB change #include "stack_msgs.h"
301#include "sap_info.h"
302#include "msg_id_to_em_info_map.h"
303
304#include "kal_trace.h"
305#include "stack_ltlcom.h"
306#include "stacklib.h" /* Basic type for dll, evshed, stacktimer */
307#include "stack_timer.h"
308#include "event_shed.h"
309
310#include "intrCtrl.h"
311
312#if defined (__DHL_V2_ENABLE__)
313//reserve for dhl2.0
314#include "GV.h"
315#include "dhl_def.h"
316#else
317#include "GV.h"
318#include "dhl_def.h"
319#include "dhl_notify.h"
320#endif
321
322#include "custom_cmd.h"
323
324#include "protocol_section.h"
325
326#if defined(GEN_FOR_PC)
327//#include "tst_Catcher_version.h"
328#endif //#if defined(GEN_FOR_PC)
329
330#ifndef L4_NOT_PRESENT
331#include "l4c2uem_struct.h"
332#include "l4c2smu_struct.h"
333#include "l4c2smu_vzw_struct.h"
334#include "l4c2csm_cc_struct.h"
335#include "l4c2smsal_struct.h"
336#endif
337
338#ifdef __MOD_NVRAM__
339#include "nvram_data_items.h"
340#include "ex_item.h"
341
342#if defined(__MMI_FMI__)
343#include "nvram_common_defs.h"
344#include "common_nvram_editor_data_item.h"
345#endif
346
347#include "nvram_editor_data_item.h"
348#include "nvram_editor.h"
349#include "nvram_lid_list_for_mcf.h"
350#include "nvram_lid_structure_check_extend_list.h"
351#endif /*__MOD_NVRAM__*/
352
353#include "perf_api.h" /// protocol exception recovery framework API
354
355#ifdef __EM_MODE__
356#include "em_l4_common_public_struct.h"
357#include "em_as_common_public_struct.h"
358#include "em_nwsel_common_public_struct.h"
359#include "em_struct.h"
360/* Start of EM related structure */
361#include "em_audio_public_struct.h"
362#include "em_cc_public_struct.h"
363#include "em_dhl_public_struct.h"
364#include "em_el1_public_struct.h"
365#ifdef __EL2_ARCH_V1__
366#include "em_el2_public_struct.h"
367#endif
368#ifdef __EL2_ARCH_V2__
369#include "em_enl2_public_struct.h"
370#endif
371#include "em_emm_public_struct.h"
372#include "em_errc_public_struct.h"
373#include "em_esm_public_struct.h"
374#include "em_gas_public_struct.h"
375#include "em_imc_public_struct.h"
376#include "em_l1_public_struct.h"
377#include "em_l4_public_struct.h"
378#include "em_llc_public_struct.h"
379#include "em_ltecsr_public_struct.h"
380#include "em_mcf_public_struct.h"
381#include "em_mm_public_struct.h"
382#include "em_mmrf_public_struct.h"
383#include "em_nwsel_public_struct.h"
384#include "em_public_struct.h"
385#include "em_ratcm_public_struct.h"
386#include "em_sim_public_struct.h"
387#include "em_sm_public_struct.h"
388#include "em_sndcp_public_struct.h"
389#include "em_ss_public_struct.h"
390#include "em_uas_public_struct.h"
391#include "em_ul1_public_struct.h"
392#include "em_ul2_public_struct.h"
393#include "em_vdm_public_struct.h"
394#include "em_sms_public_struct.h"
395#include "em_imcsms_public_struct.h"
396#include "em_xcap_public_struct.h"
397/* End of EM related structure */
398#endif /* __EM_MODE__ */
399
400
401
402#ifndef ABM_NOT_PRESENT
403#include "abm_soc_enums.h"
404#include "abm2soc_struct.h"
405#include "app2cbm_struct.h"
406#include "wndrv_cnst.h"
407#include "wndrv_supc_types.h"
408#include "wndrv_api.h"
409#include "supc_abm_msgs.h"
410#include "mmi2abm_struct.h"
411#include "soc2abm_struct.h"
412
413#if defined(__MMI_FMI__)
414#endif
415
416#include "l4c2abm_struct.h"
417/* Jeff Wu 2008-02-20: for streaming and secondary PDP context */
418#include "mmi_sm_enums.h"
419/* End of Jeff Wu */
420#include "abm2l4c_struct.h"
421#include "l4c2ppp_struct.h"
422#include "ppp2l4c_struct.h"
423#include "abm_def.h"
424#endif /* ~ABM_NOT_PRESENT */
425
426
427
428#ifndef MED_NOT_PRESENT
429#include "aud_defs.h"
430#include "med_struct.h"
431#endif /* MED_NOT_PRESENT */
432
433#ifndef MED_V_NOT_PRESENT
434#include "med_global.h"
435#endif /* MED_V_NOT_PRESENT */
436#if defined(__VIDEO_ARCHI_V2__)
437#endif
438#ifndef TCPIP_NOT_PRESENT
439#include "soc_api.h"
440#include "soc2tcpip_struct.h"
441#include "tcpip2ppp_struct.h"
442#include "ppp2tcpip_struct.h"
443#endif
444
445#ifdef __HOTSPOT_SUPPORT__
446#include "hostap_abm_msgs.h"
447#endif
448
449#ifndef SOC_NOT_PRESENT
450#include "inet_ut_struct.h"
451#include "..\..\..\inet_ps\soc\include\soc_feature.h"
452#include "soc_api.h"
453#include "app2soc_struct.h"
454#include "soc2tcpip_struct.h"
455#include "abm_soc_enums.h"
456#include "abm2soc_struct.h"
457#include "soc2abm_struct.h"
458#include "soc_enum.h"
459#endif
460
461#ifdef __J2ME__
462#include ".\..\..\applib\misc\include\app_datetime.h"
463#endif
464
465#ifdef __EMAIL__
466#include "rtc_sw.h"
467#ifdef __SSL_SUPPORT__
468#endif /* __SSL_SUPPORT__ */
469#include "che_api.h"
470
471
472#endif /* __EMAIL__ */
473
474#ifdef __IMPS__
475#include "fs_type.h"
476#include "fat_fs.h"
477#endif /* __IMPS__ */
478
479#ifdef WAP_SUPPORT
480#include "custom_wap_config.h"
481#endif
482#ifdef MMS_SUPPORT
483#endif
484#include "resource_audio.h"
485
486#if defined (__MTV_SUPPORT__) || defined(__ATV_SUPPORT__)
487#endif
488#if defined (__CMMB_SUPPORT__)
489#include ".\..\..\plutommi\MtkApp\DTVPlayer\DTVPlayerInc\DTVPlayerEnum.h"
490#endif
491
492
493#ifdef NEPTUNE_MMI
494#ifndef __L1_STANDALONE__
495#endif /* __L1_STANDALONE__ */
496#endif
497
498#ifdef __XDM__
499#include "fs_type.h"
500#include "fat_fs.h"
501#endif /* __XDM__ */
502
503#ifdef __RTSP__
504#include "app2rtsp_struct.h"
505#endif /* __RTSP__ */
506
507/* for BMT */
508#include "drvsignals.h"
509/* for BMT */
510
511#ifdef __SIP__
512#include "inet_msg_def.h"
513#endif /* __SIP__ */
514
515#ifdef __POC__
516#include "mmi2poc_struct.h"
517#include "poc_enum.h"
518#endif /* __POC__ */
519
520#ifdef __BTMTK__
521#include "bluetooth_bm_struct.h"
522#include "bluetooth_struct.h"
523#include "bt_dm_struct.h"
524#include "bt_hfg_struct.h"
525#include "bt_hsg_struct.h"
526#include "bt_hidd_struct.h"
527#include "bt_a2dp_base_struct.h"
528#endif
529
530#ifdef __SYNCML_SUPPORT__
531#endif
532
533#include "mexe_struct.h"
534
535#ifdef __VOIP__
536#endif /* __VOIP__ */
537
538#ifdef __TCPIP__
539#include "..\..\..\inet_ps\tcpip\include\tcpip_config.h"
540#include "..\..\..\inet_ps\tcpip\include\in.h"
541#include "..\..\..\inet_ps\tcpip\include\ip.h"
542#include "..\..\..\inet_ps\tcpip\include\tcp.h"
543#include "..\..\..\inet_ps\tcpip\include\if.h"
544#ifdef __WIFI_SUPPORT__
545#include "wndrv_cnst.h"
546#include "wndrv_tcpip_msg.h"
547#endif /* __WIFI_SUPPORT__ */
548#endif /* __TCPIP__ */
549
550
551#ifdef __WIFI_SUPPORT__
552#include "..\..\..\inet_ps\dhcp\include\dhcp_const.h"
553#include "..\..\..\inet_ps\dhcp\include\dhcp_enum.h"
554#include "..\..\..\inet_ps\dhcp\include\dhcp_context.h"
555#include "dhcp_abm_enums.h"
556#include "dhcp_sip_enums.h"
557#include "dhcp2abm_struct.h"
558#include "dhcp2sip_struct.h"
559#include "tcpip2dhcp_struct.h"
560#endif /* __WIFI_SUPPORT__ */
561#ifdef __HOTSPOT_SUPPORT__
562#include "dhcpd2abm_struct.h"
563#endif /* __HOTSPOT_SUPPORT__ */
564
565#ifdef __SAF__
566#endif /* __SAF__ */
567
568#ifdef NEPTUNE_MMI
569#include ".\..\..\interface\modem\mmi_msg_struct.h"
570#endif
571
572#ifdef __SSL_SUPPORT__
573#endif /* __SSL_SUPPORT__ */
574
575#if defined(__GPS_SUPPORT__) || defined(__BT_GPS_SUPPORT__)
576#include "gps_struct.h"
577#endif
578
579#ifdef __CERTMAN_SUPPORT__
580#endif
581
582#if defined __SUPL_SUPPORT__
583#include "supl2lcsp_enums.h"
584#include "supl2lcsp_struct.h"
585#endif
586
587#ifndef FMT_NOT_PRESENT
588#endif
589
590#if defined(__UDX_SUPPORT__) || defined(__MULTI_VCARD_SUPPORT__)
591#endif
592
593#ifdef WAP_SUPPORT
594#endif /* WAP_SUPPORT */
595
596#ifdef __CCA_SUPPORT__
597#endif /* __CCA_SUPPORT__ */
598
599#ifdef __MTP_ENABLE__
600#endif
601
602#ifndef __MTK_TARGET__
603#include "rmmi_context.h"
604#endif
605
606#if defined(OPERA_V10_BROWSER) || defined(__GADGET_SUPPORT__)
607#endif
608
609#if defined (__MMI_IMAGE_VIEWER__) && !defined (NEPTUNE_MMI)
610#endif /* __MMI_IMAGE_VIEWER__ */
611
612#ifdef __CMMB_CAS_MBBMS_SUPPORT__
613#endif
614
615#if defined(__CMMB_SUPPORT__)
616#endif
617#if defined(__H264_HW_OPEN_API_SUPPORT__) || defined(__H264_DEC_HW_SUPPORT__) || defined (__H264_SW_OPEN_API_SUPPORT__)
618#endif
619
620#if defined(DRV_DISPLAY_DRIVER_V2)
621#include ".\..\..\interface\hal\display\wfc\wfc.h"
622#include ".\..\..\hal\display\debug\inc\lcd_catcher_log.h"
623#include ".\..\..\interface\hal\display\common\display_io.h"
624#include ".\..\..\hal\display\common\include\display_io_internal.h"
625#endif
626
627#include "fs_gprot.h"
628
629#ifdef __PLST_SERVICE_DB_SUPPORT__
630#include "..\..\..\plutommi\Service\PlstSrv\PlstSrvMsgStruct.h"
631#endif
632
633#include "mspm_public_api.h"
634
635/* global enum */
636/***************************************************************
637* if add _msgid.h or _sap.h file, should include the _msgid.h or _sap.h in : *
638* kal_debug_msg_sap_defs.h & srcParseDbModem.c & srcParseDbModem.c *
639****************************************************************/
640#include "module_msg_range.h"
641#include "perf_msgid.h"
642#include "sysservice_msgid.h"
643#include "cc_msgid.h"
644#include "ciss_msgid.h"
645#include "nwsel_msgid.h"
646#include "gmss_msgid.h"
647#include "mm_msgid.h"
648#include "sms_msgid.h"
649#include "sim_public_msgid.h"
650#include "sim_ps_msgid.h"
651#include "ps_public_l4_msgid.h"
652#include "l4_msgid.h"
653#include "psdm_msgid.h"
654#include "rr_msgid.h"
655#include "llc_msgid.h"
656#include "p2p_msgid.h"
657#include "sndcp_msgid.h"
658#include "sm_msgid.h"
659#include "data_msgid.h"
660#include "ps_public_vt_msgid.h"
661#include "VT_msgid.h"
662#include "nvram_msgid.h"
663#include "l1_msgid.h"
664#include "mll1_msgid.h"
665#include "hal_l1_msgid.h"
666#include "l1hisr_msgid.h"
667#include "ft_msgid.h"
668#include "tst_msgid.h"
669#include "audio_msgid.h"
670#include "cldmacore_msgid.h"
671#include "ratcm_msgid.h"
672#include "ratdm_msgid.h"
673#include "urr_msgid.h"
674#include "ul2_msgid.h"
675#include "ul2d_msgid.h"
676#include "uas_gas_msgid.h"
677#include "mrs_msgid.h"
678#include "uas_gas_gemini_msgid.h"
679#include "ul1_msgid.h"
680#include "ul1data_msgid.h"
681#include "ul1hisr_msgid.h"
682#include "ul1c_msgid.h"
683#include "ll1_msgid.h"
684#include "ul1tst_msgid.h"
685#include "ulcs_msgid.h"
686#include "lpp_msgid.h"
687#include "gps_msgid.h"
688#include "tl1_msgid.h"
689#include "tl1data_ast_msgid.h"
690// #include "tl1hisr_ast_msgid.h" File Removed (Tafang)
691#include "tl1fta_ast_msgid.h"
692#include "rsva_msgid.h"
693#include "mspm_msgid.h"
694#include "ndis_msgid.h"
695#include "ps_public_ups_msgid.h"
696#include "ups_msgid.h"
697#include "ps_public_supl_msgid.h"
698#include "supl_msgid.h"
699#include "cmux_msgid.h"
700#include "ppp_msgid.h"
701#include "ext_modem_msgid.h"
702#include "wmt_msgid.h"
703#include "em_msgid.h"
704#include "fs_msgid.h"
705#include "med_msgid.h"
706#include "dps_msgid.h"
707#include "udps_msgid.h"
708#include "drv_msgid.h"
709#include "meut_msgid.h"
710#include "l1_ext_msgid.h"
711#include "haplus_msgid.h"
712#include "hif_mw_msgid.h"
713#include "hif_svc_msgid.h"
714#include "las_msgid.h"
715#include "el1_msgid.h"
716#include "mcf_msgid.h"
717#include "sap_relayer_msgid.h"
718
719#include "sap_range.h"
720#include "svc_sap.h"
721#include "md_sap.h"
722#include "md_svc_sap.h"
723#include "md_drv_sap.h"
724#include "md_mmi_sap.h"
725#include "md_mw_sap.h"
726#include "mw_sap.h"
727#include "drv_sap.h"
728
729#if defined (__IDC_ENABLED__) && defined (__MD97__)
730#include "idc_md_msgid.h"
731#include "idc_msgid.h"
732#endif
733
734#include "srv_modid.h"
735#include "modem_2g3g_modid.h"
736#include "modem_4g_modid.h"
737#include "modem_5g_modid.h"
738#include "middleware_modid.h"
739#include "drv_modid.h"
740#include "hisr_modid.h"
741#include "isr_modid.h"
742#if defined(__CL1_TASK_ENABLE__)
743#include "cl1d_rf_tst_elt_msg_struct.h"
744#include "elt_msgid.h"
745#endif
746#include "mbci_struct.h"
747
748#if defined (__ETCM__)
749#include "eval_msgid.h"
750#include "upcm_msgid.h"
751#endif
752
753#include "l4c_eval_struct.h"
754
755#include "mdfpm_msgid.h"
756
757/* CCCI IPC */
758#if defined(__CCCIDEV_SUPPORT__)
759#include "ccci_ipc_msgid.h"
760#endif
761/* CCCI IPC */
762#if defined(__CCCIDEV_SUPPORT__)
763#include "ccci_tty_if.h" //dump dev_id enum
764#include "ccci_fs_if.h" //dump op enum
765#include "dcl.h" //dump SIO_CMD enum
766#endif
767
768#if defined(__HIF_LHIF_SUPPORT__)
769#include "lhifcore_msgid.h"
770#endif
771
772/* CCISM */
773#if defined(__HIF_CCISM_SUPPORT__)
774#include "ccismcore_msgid.h"
775#endif /*defined(__HIF_CCISM_SUPPORT__)*/
776
777#ifdef __IPCORE_SUPPORT__
778#include "ipc_struct.h"
779#include "ipc_enums.h"
780#include "pfm_struct.h"
781#include "pfm_enums.h"
782#endif /* __IPCORE_SUPPORT__ */
783
784#ifdef __IPFCORE_SUPPORT__
785#include "ipfc_enums.h"
786#endif /* __IPFCORE_SUPPORT__ */
787
788#ifdef __DPFM_SUPPORT__
789#include "dpfm_enums.h"
790#include "dpfm_struct.h"
791#endif /* __DPFM_SUPPORT__ */
792
793#ifdef __TMC_SUPPORT__
794#include "tmc_struct.h"
795#include "tmc_enums.h"
796#include "tmc_l5_struct.h"
797#endif /* __TMC_SUPPORT__ */
798
799#if defined(__HLT_SUPPORT__)
800#include "hlt_if.h"
801#endif
802
803#ifdef __MTK_MD_DIRECT_USB_SUPPORT__
804#include "ufpm_em_struct.h"
805#endif
806
807#ifdef __BIP_SUPPORT__
808#include "bip_msgid.h"
809#include "bip_if.h"
810#endif
811
812#ifdef __MCF_SUPPORT__
813#include "mcf_struct.h"
814#include "mcf_enum.h"
815#endif
816
817#include "iwlan_msgid.h"
818
819#include "ssds_msgid.h"
820#include "atp_ssds_struct.h"
821//#include "ssds_imc_struct.h"
822#include "ssds_l4c_struct.h"
823
824#include "atp_analyzer.h"
825#include "atp_structs.h"
826#include "atp_msgid.h"
827#include "atp_l4c_struct.h"
828#include "l4c2rac_struct.h"
829
830#include "atp_defs.h"
831
832#ifdef __KPALV_SUPPORT__
833#include "kpalv_msgid.h"
834#include "kpalv_struct.h"
835#endif
836
837#ifdef __CDMA2000_RAT__
838/* Add C2K EM headers */
839#include "em_public_struct_evl1.h"
840#include "em_public_struct_xl1.h"
841#include "em_public_struct_chsc.h"
842#include "em_public_struct_evl2.h"
843#include "em_public_struct_xl2.h"
844#include "em_public_struct_evl3.h"
845#include "em_public_struct_xl3.h"
846#include "em_public_struct_c2k_hlp.h"
847#include "em_public_struct_cval.h"
848#endif /* __CDMA2000_RAT__ */
849
850#ifdef __MD_TCPIP_SUPPORT__
851#include "tcpip_msgid.h"
852#endif
853
854#include "vdm_l4c_struct.h"
855#include "sdm_l4c_struct.h"
856#include "vdm_gmss_struct.h"
857#ifdef __XCAP_SUPPORT__
858#include "xcap_msgid.h"
859#include "xcap_if.h"
860#endif
861
862#ifdef __SASE_SUPPORT__
863#include "sase_msgid.h"
864#include "sase_if.h"
865#include "atp_sase_struct.h"
866#endif
867
868#ifdef __NR_ENABLE__
869#include "tmc_l1_struct.h"
870#endif
871
872#ifdef __DISPATCHER_SUPPORT__
873#include "dispatcher_msgid.h"
874#include "ipcore_dispatcher_struct.h"
875#include "n3epc_dispatcher_struct.h"
876#endif
877
878#ifdef __MT_FRAMEWORK_SUPPORT__
879#include "mtf_struct.h"
880#endif
881
882#include "nas_sv_msgid.h"
883#include "smic_msgid.h"
884
885/* Move to lte_sec libParseDbModem.c */
886//#if defined(__FIVEG_NAS__)
887//For MCDDLL
888//#include "vgmm_msg_unpack.h"
889//#include "vgsm_msg_unpack.h"
890//#endif /* __FIVEG_NAS__ */
891
892/* Move to lte_sec libParseDbModem.c */
893// #if defined (__NR_RAT__)
894// #include "nr_fwk_trace_enum.h"
895// #include "nr_rx_trace_enum.h"
896// #include "nr_tx_trace_enum.h"
897// #include "mml1_fwk_lcm_public.h"
898// #endif /* __NR_RAT__ */
899
900#if defined(__HIF_DPMAIF_DP_SUPPORT__)
901#include "dpmaif_msgid.h"
902#endif
903
904#ifdef __HTTP_TLS_SUPPORT__
905#include "http_tls_msgid.h"
906#include "http_if.h"
907#include "tls_if.h"
908#endif
909
910#ifdef __MD_CERT_SUPPORT__
911#include "cert_msgid.h"
912#endif
913
914
915#ifdef __IPC_ADAPTER__
916#ifndef __MTK_TARGET__
917#include "oemdebug.h"
918#include "oemutility.h"
919#endif
920#include "ipc_adapter_public_struct.h"
921#include "ipc_adapter_public_def.h"
922#include "ipc_adapter_public_em_struct.h"
923#include "ipc_adapter_msgid.h"
924#include "ipc_adapter_cc_struct.h"
925#include "ipc_adapter_pwr_struct.h"
926#include "ipc_adapter_sms_struct.h"
927#include "ipc_adapter_atp_struct.h"
928#include "ipc_adapter_sat_struct.h"
929#include "ipc_adapter_phb_struct.h"
930#include "ipc_adapter_smu_struct.h"
931#include "ipc_adapter_ss_struct.h"
932#include "ipc_adapter_imei_struct.h"
933#include "ipc_adapter_cfg_struct.h"
934#include "ipc_adapter_embms_struct.h"
935#include "ipc_adapter_l23_struct.h"
936#include "ipc_adapter_domestic_struct.h"
937#include "ipc_adapter_jpn_struct.h"
938#include "ipca_smu_private_enum.h"
939#include "ipca_smu_context.h"
940#include "ipca_embms_context.h"
941#include "ipca_ctrl_struct.h"
942#include "ipca_phb_enum.h"
943#include "ipca_imei_enum.h"
944#include "ipca_pwr_enum.h"
945#include "ipca_pwr_context.h"
946#include "ipca_sms_hdlr.h"
947#include "ipc_adapter_nw_struct.h"
948#include "ipc_adapter_dspl_struct.h"
949#include "ipc_adapter_misc_struct.h"
950#include "ipca_nw_enum.h"
951#include "ipca_nw_context.h"
952#include "ipca_misc_enum.h"
953#include "ipc_adapter_enum.h"
954#include "ipc_adapter_gprs_struct.h"
955#include "ipca_ctrl_context.h"
956#include "ipca_factory_enum.h"
957#include "ipc_adapter_factory_struct.h"
958#include "ipc_adapter_sap_struct.h"
959#include "ipca_gprs_enum.h"
960#include "ipca_gprs_context.h"
961#include "ipca_gprs_ps.h"
962#include "ipca_gprs_ps_routine_struct.h"
963#include "ipc_adapter_em_struct.h"
964#include "ipca_sat_private_struct.h"
965#include "ipca_sat_private_enum.h"
966#include "ipca_cc_utility.h"
967#include "ipc_adapter_srlte_struct.h"
968#include "ipca_srlte_context.h"
969#include "ipca_em_struct.h"
970#include "ipca_jpn_private_struct.h"
971#include "ipca_jpn_private_defs.h"
972#include "ipca_domestic_main.h"
973#include "ipca_sap_enum.h"
974#include "ipca_sap_context.h"
975#endif //__IPC_ADAPTER__
976
977
978#ifdef __WHITE_CELL_LOCK__
979#ifdef __L5_SUPPORT__
980#include "l5_l4c_struct.h"
981#endif /* __L5_SUPPORT__*/
982#endif /* __WHITE_CELL_LOCK__ */
983
984/********************************************* Warning **********************************************
985* Please make sure header file is included correctly!
986* If the common header file is added to srcParseDbModem_tdd_fdd.c, the context of header file will be preprocessed twice.
987* The change as mentioned previously can lead to build time inefficiency.
988*
989* common header file => srcParseDbModem.c
990* Tdd/Fdd(2g/3g) header file => srcParseDbModem_tdd_fdd.c
991*
992* If the header file relate to Tdd/Fdd (2g/3g), please include the header file in srcParseDbModem_tdd_fdd.c
993* 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
994********************************************** Warning **********************************************/