blob: 49056394d4d8cd4b0863233fd60fb4441e08b6f9 [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 * libParserDbModem.c
41 *
42 * Project:
43 * --------
44 * MOLY
45 *
46 * Description:
47 * ------------
48 * This file collects primitve IDs and struct definition from the Modem
49 * application part for pre-processing.
50 *
51 * Author:
52 * -------
53 * -------
54 *
55 * =============================================================================
56 * $Log$
57 *
58 * 12 16 2021 changlong.chen
59 * [MOLY00774161] [mt2735][CS eCall][NG eCall][patch back] ecall patch back from NR15.R3.MD700.MP.ECAll.DEV
60 *
61 * .
62 * l5uecall patch(MPD domain) back from NR15.R3.MD700.MP.ECAll.DEV
63 *
64 * 01 22 2021 kiwi.zhang
65 * [MOLY00608850] NRTC CoEx command support is needed
66 *
67 * .L5 NRTC MPD Modify
68 *
69 * 12 03 2020 tongkun.zhang
70 * [MOLY00593154] [L5] patch back L5 from NR15.R3.MD700.MP to NR15.R3.MD700.MP
71 *
72 * [L5IO]unify AT handle
73 * 1. send ilm to replace recurse
74 * 2. handle mulit-at from CUST/MBCI/MIPC
75 * 3. meta_ctxt rearch...
76 *
77 * 11 16 2020 shih-yu.chen
78 * [MOLY00595245] [Colgin] TMC development
79 * [TMC] patch back to MD700.
80 *
81 * 11 13 2020 harold.liu
82 * [MOLY00594647] [MD700][L5]patch back L5 to NR15.R3.MD700.MP
83 * io track add cmd id
84 * FROM:CL13166290
85 *
86 * 11 11 2020 chih-ting.yeh
87 * [MOLY00590833] ICD JSON Auto Gen Feature
88 * [Enhance] ICD header package refinement
89 * ======
90 * - add new generated ICD header to DB
91 * - move including ICD code range from interface to internal header
92 * - add ICD mock header
93 *
94 * 11 11 2020 fengwen.weng
95 * [MOLY00543445] [Gen97][Colgin] TFWK Thermal Development
96 * .display structure info on ELT
97 *
98 * 11 10 2020 tongkun.zhang
99 * [MOLY00593154] [L5] patch back L5 from NR15.R3.MD700.MP to NR15.R3.MD700.MP
100 * [L5][MPD]libParseDbModem
101 *
102 * 09 24 2020 harold.liu
103 * [MOLY00560596] [T700][L5]patch back L5 to NR15.R3.T700.MP
104 *
105 * io track add cmd id
106 *
107 * 09 18 2020 cosmo.sung
108 * [MOLY00569501] [Gen97] TC10 patch back
109 *
110 * - L4 CC/SS
111 *
112 * 09 18 2020 cosmo.sung
113 * [MOLY00569501] [Gen97] TC10 patch back
114 *
115 * - L4 CC/SS
116 *
117 * 09 18 2020 cosmo.sung
118 * [MOLY00569501] [Gen97] TC10 patch back
119 *
120 * - L4 CC/SS
121 *
122 * 09 18 2020 cosmo.sung
123 * [MOLY00569501] [Gen97] TC10 patch back
124 *
125 * - L4 CC/SS
126 *
127 * 08 28 2020 tong.li
128 * [MOLY00562709] [5GHP][feature][Data&Call]game space mode
129 * .
130 *
131 * 08 19 2020 guo-huei.chang
132 * [MOLY00538247] ?�维测�?求�?�ICD??��?�modem 待机??�工作状?�相?��?��?��
133 *
134 * DHL part
135 *
136 * 08 13 2020 ken.li
137 * [MOLY00543497] [MT6873][Margaux][R0][MP5][in-house FTA][LTE][7.1.1.2]enable volte fail
138 *
139 * UPCM TESTMODE drops non-loopback data for obtaining IP address case (MPD, libParseDbModem)
140 *
141 * 07 27 2020 dennis.tsai
142 * [MOLY00549478] [Gen97][HE3.0]N3GPP offload over data feature
143 *
144 * patch back from dev for vodata feature.
145 *
146 * 07 27 2020 dennis.tsai
147 * [MOLY00549478] [Gen97][HE3.0]N3GPP offload over data feature
148 *
149 * patch back from dev for vodata feature.
150 *
151 * 07 23 2020 dennis.tsai
152 * [MOLY00546023] [Gen97][VoDATA] implement intctrl and feature for VoDATA
153 * add ddm_intctrl_struct.h to db.
154 *
155 * 07 17 2020 dennis.tsai
156 * [MOLY00546023] [Gen97][VoDATA] implement intctrl and feature for VoDATA
157 *
158 * add intctrl msgid to libparsedb, fix build error.
159 *
160 * 07 16 2020 ssu-hsien.wu
161 * [MOLY00545981] [Gen97][N3GPP_OVER_DATA] Add feature option and compile option for N3GPP offload over data.
162 *
163 * Rollback libParseDbModem.c to fix build error.
164 *
165 * 06 29 2020 lucien.li
166 * [MOLY00535120] [Gen97] Intra-Band DR-DSDS
167 *
168 * [L4C] DSDA rename
169 *
170 * 06 13 2020 yilun.yang
171 * [MOLY00530105] [MP5][SQC][MT6885][Petrus][Q0][MP2][AT&T][10776v20_1][R3MP][PTN][simulation][inhouse][RnS][ATTACH/RESTART][LTE-BTR-1-8212]Test case failed due to ## LTE ## EsmPdnConnectivityRequest TimeOut
172 * Route PS_EVENT_IND to DDM through L4BNW.
173 *
174 * 06 10 2020 yilun.yang
175 * [MOLY00530105] [MP5][SQC][MT6885][Petrus][Q0][MP2][AT&T][10776v20_1][R3MP][PTN][simulation][inhouse][RnS][ATTACH/RESTART][LTE-BTR-1-8212]Test case failed due to ## LTE ## EsmPdnConnectivityRequest TimeOut
176 * Send PS_EVENT_REPORT_IND to DDM through L4BNW.
177 *
178 * 03 06 2020 tim-yw.liu
179 * [MOLY00503552] [UESIM] Re-arch VMMI to support dummyAP and ATcmd multi-channel
180 *
181 * Add DummyAP and support ATcmd multi-channel
182 *
183 * 02 26 2020 willy-wj.chen
184 * [MOLY00501981] [Gen97][UPCM] TMO-US F4L data performance patch sync from Gen93
185 * [UPCM] put small UDP packet into pri-SIT upon channel lock.
186 *
187 * 02 14 2020 you-ren.chen
188 * [MOLY00466485] [Gen97][NWSIM][4G][LTE_01_07]Bearer Resource Modification Request Timeout
189 *
190 * Dedicated bearer clear mode should not be thought as dedicated bearer setting.
191 *
192 * 02 14 2020 you-ren.chen
193 * [MOLY00466485] [Gen97][NWSIM][4G][LTE_01_07]Bearer Resource Modification Request Timeout
194 *
195 * Dedicated bearer clear mode should not be thought as dedicated bearer setting.
196 *
197 * 02 14 2020 actory.ou
198 * [MOLY00499908] [MT6873][Margaux][Q0][MP2][SQC][Log profiling]LTE VoLTE PS Standard filter - W06 target fail - MOD_CCISMCORE
199 * [VMOLY][MPD] add ccci enum for log reduction
200 *
201 * 02 13 2020 chia-yu.ku
202 * [MOLY00488288] [FTAA][CNY][MT6873][Margaux][Q0][MP2][SQC][NSA][CU FT][China][Shanghai][Nokia][MDST][Static][SWIFT][SIM1:CU],mtkrild:AT command pending too long. assert!!! AT cmd: COPS
203 *
204 * .
205 *
206 * 02 13 2020 chia-yu.ku
207 * [MOLY00488288] [FTAA][CNY][MT6873][Margaux][Q0][MP2][SQC][NSA][CU FT][China][Shanghai][Nokia][MDST][Static][SWIFT][SIM1:CU],mtkrild:AT command pending too long. assert!!! AT cmd: COPS
208 *
209 * .
210 *
211 * 02 12 2020 kc.lin
212 * [MOLY00499183] [VMOLY][LADN-IT] LADN bugs check-in
213 * .
214 *
215 * 02 04 2020 allen.keh
216 * [MOLY00476273] [MT6297][gemini][VGMM] gemini phase 2 development
217 * .1. not perform gemini abort MRU during MSPM_IMS_CALL_ALT1 or MSPM_IMS_CALL_ALT2 session
218 * 2. paging period protect
219 * 3. paging DRB protect
220 * 4. DL data protect
221 *
222 * 01 21 2020 louis-tw.huang
223 * [MOLY00475688] [Gen97][VMOLY][UT][MRDC-IDC] enable dummy L1 IDC module for ERRC UT verification
224 * .
225 *
226 * 01 14 2020 yongjian.zhao
227 * [MOLY00469848] root certificate feature check in
228 *
229 * certificate refactoring
230 *
231 * 01 02 2020 icy.li
232 * [MOLY00469376] [VMOLY][WLC] correct WLC compile option
233 *
234 * .
235 *
236 * 12 24 2019 po-chun.lee
237 * [MOLY00467645] [MT6885][Petrus][Q0][MP2][SQC][IMS][TW][FET][VoWiFi][TCID:W_PS_02] no WiFi call
238 *
239 * [MOLY00467243] [ePDG][RFT][VMOLY.1001.DEV][VMOLY][PatchBack]
240 *
241 * .
242 *
243 * 12 24 2019 po-chun.lee
244 * [MOLY00467645] [MT6885][Petrus][Q0][MP2][SQC][IMS][TW][FET][VoWiFi][TCID:W_PS_02] no WiFi call
245 *
246 * [MOLY00467243] [ePDG][RFT][VMOLY.1001.DEV][VMOLY][PatchBack]
247 *
248 * .
249 *
250 * 12 24 2019 po-chun.lee
251 * [MOLY00467645] [MT6885][Petrus][Q0][MP2][SQC][IMS][TW][FET][VoWiFi][TCID:W_PS_02] no WiFi call
252 *
253 * [MOLY00467243] [ePDG][RFT][VMOLY.1001.DEV][VMOLY][PatchBack]
254 *
255 * .
256 *
257 * 12 23 2019 po-chun.lee
258 * [MOLY00467645] [MT6885][Petrus][Q0][MP2][SQC][IMS][TW][FET][VoWiFi][TCID:W_PS_02] no WiFi call
259 * [MOLY00467243] [ePDG][RFT][VMOLY.1001.DEV][VMOLY][PatchBack]
260 *
261 * .
262 *
263 * 12 08 2019 icy.li
264 * [MOLY00463016] [Submarine] Add __MD_WLC_SUPPORT__to replace __SUBMARINE_SUPPORT__ flag
265 *
266 * .
267 *
268 * 12 06 2019 yu-ting.hsu
269 * [MOLY00464179] [6297] ENRLC module level 1001 patch back to VMOLY
270 *
271 * ENRLC module level patch back
272 *
273 * 12 06 2019 can.lin
274 * [MOLY00463601] [Gen97] Modify SASE module
275 *
276 * SASE DHL Definition
277 *
278 * 12 06 2019 po-chun.lee
279 * [MOLY00463967] [N3X][VMOLY] Patch Back-
280 *
281 * ATP
282 *
283 * 12 05 2019 tc.chang
284 * [MOLY00446861] [Gen97][Code Sync] [B190414-819]?ģ??{d?AI??450 (?`X?A?h`?) According to data type to release HPS for paging.
285 *
286 * 12 04 2019 jie-yu.wang
287 * [MOLY00462619] [GNSS_TC/LBS/GPS] code change and make file change
288 * [LBS] Trace.
289 *
290 * 12 03 2019 prime.xiao
291 * [MOLY00456600] [Gen97] NR Map Feature
292 *
293 * .
294 *
295 * 12 02 2019 jun-han.lin
296 * [MOLY00462166] MDFPM support feature option on/off
297 *
298 * MDFPM feature option on/off
299 *
300 * 12 02 2019 prime.xiao
301 * [MOLY00381008] [Gen97][GMSS] 5G related feature
302 *
303 * .MOLY00366859
304 * MOLY00438399
305 * MOLY00442288
306 * MOLY00442633
307 * MOLY00442781
308 * MOLY00443807
309 *
310 * 11 29 2019 chang-yen.chih
311 * [MOLY00462536] [VMOLY] Support getting RAN info in EPDN
312 *
313 * EPDN RAN (interface & D2RM)
314 *
315 * 11 29 2019 chang-yen.chih
316 * [MOLY00462536] [VMOLY] Support getting RAN info in EPDN
317 * EPDN RAN (interface & D2RM)
318 *
319 * 11 08 2019 ya.li
320 * [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'
321 *
322 * .
323 *
324 * 11 05 2019 yenchih.yang
325 * [MOLY00456796] 2501730----��?�d�A��??��5G??�ANetwork Selecting��?��NR/LTE/UMTS/GSM/C2K,����`?5G.
326 *
327 * 10 17 2019 jani.manninen
328 * [MOLY00448006] [MT6885][Petrus][MP1][SQC][SH][5GMM][Static][CU][MDST][SWIFT][S] [Fatal error(buf)] err_code1:0x00000823 err_code2:0x00000020 err_code3:0xCCCCCCCC
329 *
330 * .
331 *
332 * 09 25 2019 ian-yw.chen
333 * [MOLY00401131] [Gen97] porting from 95
334 * .
335 *
336 * 09 25 2019 chen-wei.lan
337 * [MOLY00443561] [Gen97] SCBM
338 * SCBM
339 *
340 * 09 24 2019 howen.pu
341 * [MOLY00440880] EM info with XCAP information
342 * XCAP - VMOLY Common.
343 *
344 * 09 23 2019 louis-tw.huang
345 * [MOLY00439533] [Gen97][IDC] IDC feature development [EWSP0000046233]
346 *
347 * 09 23 2019 jerry-kirk.yang
348 * [MOLY00441364] [UPDS] Add new task for UE policy delivery service
349 * [VMOLY_TRUNK][MPD][UPDS] DB update.
350 *
351 * 09 21 2019 guan-ren.chen
352 * [MOLY00327199] [Gen97] Development
353 * 1. ULSP DSP refactory
354 * 2. Remove SW pull power when PB is not empty
355 * 3. Move DSP ST log definition file from HWRD to MPD
356 *
357 * 09 18 2019 guan-ren.chen
358 * [MOLY00327199] [Gen97] Development
359 * 1. ULSP DSP refactory
360 * 2. Remove SW pull power when PB is not empty
361 * 3. Move DSP ST log definition file from HWRD to MPD
362 *
363 * 09 16 2019 harish.reddy
364 * [MOLY00438652] [CODE SYNC] ????????????????? - DMF Report Part
365 *
366 * 09 09 2019 yu-hsiang.peng
367 * [MOLY00402569] [VMOLY] Logging Related Feature Patch
368 * [TRUNK] MPD, custom cmd + sap reboot
369 * 2019.09.09
370 *
371 * 09 06 2019 vend_mti_wsd_005
372 * [MOLY00437612] [VMOLY][New feature check-ins] Add SWLA customLog in wifiproxy for performance profile
373 *
374 * [MPD] Add SWLA customLog in wifiproxy for performance profile
375 *
376 * 09 06 2019 amit.singh
377 * [MOLY00433282] VMOLY KPALV module check-in
378 *
379 * VMOLY Latest patch MPD C.
380 *
381 * 09 03 2019 chun-yu.chien
382 * [MOLY00436706] [Code Sync] DMF report part porting
383 *
384 * DMF report part porting - Source
385 *
386 * 08 26 2019 shi-yang.huang
387 * [MOLY00434739] [6297][ENDC][SLEEP] ENDC common gap framework modification for sleep mode
388 *
389 * Trigger auto-sync[SKIP EWSP: Fix build error, trigger auto-sync to Mercury]
390 *
391 * 08 26 2019 shi-yang.huang
392 * [MOLY00434739] [6297][ENDC][SLEEP] ENDC common gap framework modification for sleep mode
393 *
394 * [Skip EWSP: Pass EWSP with another shelved CL: EWSP0000035957]
395 *
396 * 08 26 2019 chen-wei.lan
397 * [MOLY00433041] [Gen97][EPSFB] IT related issues
398 * uac
399 *
400 * 08 21 2019 cheng-dao.lee
401 * [MOLY00433074] [VMOLY] MCIF patches
402 *
403 * enable MCIF
404 *
405 * 08 15 2019 lucien.li
406 * [MOLY00427072] [Gen97][NSA] Deactivate ENDC feature
407 * [SQC][OPPO][L4C] SCG activation
408 *
409 * 08 09 2019 danny.kuo
410 * [MOLY00430467] [Gen97] DMF patch back to Gen97
411 * .
412 *
413 * 08 08 2019 mika.kaikkonen
414 * [MOLY00397648] [Submarine] Modem Certificate module
415 *
416 * Cert definitions to libParseDbModem.c and srcParseDbModem.c.
417 *
418 * 08 02 2019 digvijay.arya
419 * [MOLY00401209] [VMOLY]Submarine Crypto module checkin
420 *
421 * Add crypto struct info for logs
422 *
423 * 07 25 2019 head.hsu
424 * [MOLY00383920] [New Task] PERF (Protocol Exception Framework) task create
425 * PERF structure & enum shown in ELT
426 *
427 * 07 24 2019 tim-yw.liu
428 * [MOLY00395518] [Submarine] N3SAM development
429 * N3X/WLC Trace Configuration
430 *
431 * 07 24 2019 head.hsu
432 * [MOLY00383920] [New Task] PERF (Protocol Exception Framework) task create
433 * fix build error
434 *
435 * 07 24 2019 head.hsu
436 * [MOLY00383920] [New Task] PERF (Protocol Exception Framework) task create
437 * PERF API enable (MPD)
438 *
439 * 07 24 2019 peter.yu
440 * [MOLY00420694] [MT6297][Apollo][MP1][SQC][EM][China][Shenzhen][FDD][4GMM][CU+NA][TCID:EM_EL2_001]SRB/DRB number doesn't display the value.
441 * Change structure file for MD database.
442 *
443 * 07 23 2019 ari.simonen
444 * [MOLY00392197] [Submarine] Modem DNS module
445 *
446 * ILM database updates for DNS and Ethernet Service
447 *
448 * 07 18 2019 jun-quan.chen
449 * [MOLY00422579] [MDDP] DPFM porting to VMOLY
450 * [MPD] DPFM patch back
451 *
452 * 07 17 2019 titi.wu
453 * [MOLY00387219] [Gen97] SBP todo list
454 * MOLY00357235 code sync
455 *
456 * 07 16 2019 mika.leinonen
457 * [MOLY00422303] Submarine VMOLY patch back - EAP module
458 * MPD files
459 *
460 * 07 15 2019 konark.mehra
461 * [MOLY00411914] [New feature check-ins] WIFI Proxy feature check-ins
462 *
463 * SUBMARINE patchback
464 *
465 * 07 12 2019 deepti.singh
466 * [MOLY00397188] [Submarine]HTTP dev
467 * HTTP VMOLY PB
468 *
469 * 07 09 2019 amit.singh
470 * [MOLY00420334] Dispatcher module check-in VMOLY [SUBMARINE]
471 *
472 * Dispatcher code check-in
473 *
474 * 07 04 2019 bo-kai.huang
475 * [MOLY00357061] 97 Code Merge
476 * [WT] merge.
477 *
478 * 07 03 2019 mark.ng
479 * [MOLY00415229] NMAC RBR feature development
480 * RBR interface and code (MPD)
481 *
482 * 06 27 2019 aaron.liu
483 * [MOLY00415398] [Gen97][NR][General Error Recovery] ERM: Errory Recovery Module part.
484 * Add __NR_RAT__.
485 *
486 * 06 26 2019 aaron.liu
487 * [MOLY00415398] [Gen97][NR][General Error Recovery] ERM: Errory Recovery Module part.
488 * ERM main body.
489 *
490 * 06 14 2019 chunchieh.liao
491 * [MOLY00412901] [GEN97][MML1][CDF] Header re-organization for trace enum.
492 *
493 * -- [EWSP0000017597] (MPD)
494 *
495 * 06 14 2019 chunchieh.liao
496 * [MOLY00412901] [GEN97][MML1][CDF] Header re-organization for trace enum.
497 * -- [EWSP0000017597] (MPD)
498 *
499 * 06 12 2019 ari.simonen
500 * [MOLY00402881] [Gen97][Submarine] Submarine M1 VMOLY patch back - IMS
501 *
502 * Trace database updates for IMS and NAL monitor
503 *
504 * 06 06 2019 olivia.peng
505 * [MOLY00411717] [Gen97][Submarine]IPsec Patchback -part 2
506 * .
507 *
508 * 06 04 2019 danny.kuo
509 * [MOLY00409125] [VMOLY] Create new module L4APS
510 *
511 * .L4BPDN part
512 *
513 * 05 28 2019 yuchi.huang
514 * [MOLY00408807] [MT6297][NR][EM] NL1 EMdevelopment
515 *
516 * -add EM interface
517 *
518 * 05 13 2019 clint.chang
519 * [MOLY00401827] [MT6297][EL1D][LPCC] Low power central control feature development
520 * [EWSP0000009929]
521 * - Modify trace
522 * - Modify interaction between RAS and LPCC
523 *
524 * 05 07 2019 savvas.chou
525 * [MOLY00403400] [Submarine] M1 to VMOLY
526 * .
527 *
528 * 05 03 2019 guan-ren.chen
529 * [MOLY00400853] [Gen97] Logging service enhancement
530 * ULSP to SIB path implement.
531 *
532 * 04 19 2019 max.mo
533 * [MOLY00399993] [Gen97][VMOLY] interworking withN26 features
534 * . [MPD] Max
535 *
536 * 04 12 2019 head.hsu
537 * [MOLY00398433] [Gen97][VMOLY] Protocol Assert Remove phase 1
538 * PERF (Protocol Exception Recovery Framework) create
539 *
540 * 03 26 2019 max.mo
541 * [MOLY00393456] [Gen97][VMOLY] 45G InterRAT & interSystem feature.Max
542 *
543 * 03 26 2019 max.mo
544 * [MOLY00393456] [Gen97][VMOLY] 45G InterRAT & interSystem feature.Max
545 *
546 * 03 15 2019 bo-hun.chen
547 * [MOLY00378534] [Mcddll] VGSM/VGMM part - subsidiary(ADZ) build error.
548 *
549 * 03 13 2019 bo-hun.chen
550 * [MOLY00378534] [Mcddll] VGSM/VGMM part
551 *
552 * [MOLY00378534] [VGSM] mcddll
553 *
554 * 03 12 2019 ian-yw.chen
555 * [MOLY00390240] [Gen97] SMS features and revise
556 * .
557 *
558 * 03 11 2019 prime.xiao
559 * [MOLY00384534] [MT6297][Apollo][PreSQC][MP0.5][Idea][4G][SIM1][FDD][SVFO_in-house_4.98.4.2][1][core2,vpe0,tc0(vpe6)] Fatal Error (0x305, 0x888800e9, 0xcccccccc) - L4
560 *
561 * .
562 *
563 * 02 27 2019 yuri.huang
564 * [MOLY00377335] [MakeFile] [UMOLYE] [Modify Makefile Rules] MPD SUB flow for 2g/3g
565 *
566 * .
567 *
568 * 02 21 2019 yiting.cheng
569 * [MOLY00383950] [GEN97][ENPDCP] Let ELT able to parse NPDCP_NRLC_DL_DATA_IND message
570 * .
571 *
572 * 02 19 2019 yuri.huang
573 * [MOLY00377335] [MakeFile] [UMOLYE] [Modify Makefile Rules] MPD SUB flow for 2g/3g
574 *
575 * .
576 *
577 * 02 18 2019 chester-zd.huang
578 * [MOLY00384995] [VMOLY] GEMINI 3.0, AFR, Unify Frequency scan, BGSEARCH
579 * - RSVAK/RSVAN Part
580 *
581 * 02 18 2019 lucien.li
582 * [MOLY00384997] [VMOLY] NR Type Switch
583 * [NR Type Switch][L4]
584 *
585 * 02 15 2019 tzu-ying.chen
586 * [MOLY00384621] [Gen97][LBS] Location information API for MD modules
587 *
588 * .
589 *
590 * 02 15 2019 kuan-wei.chen
591 * [MOLY00346647] [MT6297][VDM/L4] changes for 97
592 * [VMOLY.EVB.SEPT.DEV][MPD] sync VDM CL: 7356214~7518611
593 *
594 * 02 14 2019 yiting.cheng
595 * [MOLY00327926] [GEN97][ENPDCP] base development check-in
596 * .
597 *
598 * 02 12 2019 head.hsu
599 * [MOLY00383920] [New Task] PERF (Protocol Exception Framework) task create
600 * rollback
601 *
602 * 02 12 2019 yiting.cheng
603 * [MOLY00327926] [GEN97][ENPDCP] base development check-in
604 * .
605 *
606 * 02 11 2019 prime.xiao
607 * [MOLY00383493] [Gen97][MRS] 5G related feature
608 *
609 * . operator feature table (MPD part)
610 *
611 * 01 28 2019 jun-quan.chen
612 * [MOLY00381488] [Gen97] [MCF] MCF porting to VMOLY
613 * [MCF] [MPD] MCF porting to VMOLY
614 *
615 * 01 21 2019 devin.yang
616 * [MOLY00378746] [System Service] [KAL Config] ISR Centraliztion Framework.
617 * ISR Centralization Framework.
618 *
619 * 01 10 2019 chengyu.chen
620 * [MPD][MOLY00378065][CMCC SMS in MSHC][VMOLY.EVB.SEPT.DEV][Sanity on Eiger(MT3967)] SMS is not able to be sent on LTE
621 *
622 * 01 07 2019 hamilton.liang
623 * [MOLY00332682] Gen97 relevant feature/structure change
624 *
625 * 1. compile option change for ML1S LTE test
626 *
627 * 12 27 2018 sc.tung
628 * [MOLY00337982] [NMAC][BSR] BSR main function body check-in
629 *
630 * [NMAC] remove include nmac_enum_struct.h to avoid build fail in C2K.
631 *
632 * 12 24 2018 sc.tung
633 * [MOLY00337982] [NMAC][BSR] BSR main function body check-in
634 *
635 * [NMAC][BSR] issue fix and log reduction.
636 *
637 * 12 20 2018 yu-hsiang.peng
638 * [MOLY00372896] [Gen97] sAP logging support
639 * [VMOLY.EVB.SEPT] sAP support - DB part
640 *
641 * 12 19 2018 jie-yu.wang
642 * [MOLY00324633] [LPP file part] VZW MDMI LPP related IE
643 * [VMOLY.EVB.SEPT.DEV][MPD][LPP] MDMI code sync.
644 *
645 * 11 29 2018 ian-yw.chen
646 * [MOLY00365575] [Gen97] 5G CB/PWS development
647 * L4/SMSAL interfaces
648 *
649 * 11 29 2018 jacky-ch.chang
650 * [MOLY00346978] [6297][NR][RFCC] Development -
651 * Trace for enum [ERS00022721]
652 *
653 * 11 28 2018 jacky-ch.chang
654 * [MOLY00363206] [6297][NR][RFCC] Development -
655 * Add MIMO CFG trace for debugging [ERS00022721]
656 *
657 * 11 07 2018 su-jen.yang
658 * [MOLY00349128] [VMOLY]Code sync
659 * [ERS00020803]Trace for enum - move enum to nr_mpc_comm_enum.h
660 * and trace word
661 *
662 * 10 31 2018 kun-lin.wu
663 * [MOLY00361478] [Gen97] Gemini Compile Option Clean Up
664 *
665 * 10 30 2018 wangtao.wan
666 * [MOLY00326328] [MT6297][EL1D RX] CSI development update.
667 * [ERS00019335][EL1D RX][CSI] modify 5cc trace
668 *
669 * 10 16 2018 kai-hsiang.hsu
670 * [MOLY00319465] [MT6297] MML1 common device framework integration
671 * [ERS00017831][MML1_CDF] fix Gen95 codgen fail
672 *
673 * 10 16 2018 kai-hsiang.hsu
674 * [MOLY00319465] [MT6297] MML1 common device framework integration
675 * [ERS00017776][MML1_CDF] enable target trace enum
676 *
677 * 10 08 2018 guan-ren.chen
678 * [MOLY00327199] [Gen97] Development
679 * On-demand logging porting.
680 *
681 * 10 05 2018 yuyang.hsiao
682 * [MOLY00351872] [MMRFD] Driver Porting [ERS00016470]
683 * 1. Add serdes restore function into wake up flow and refine DFE restore function
684 * 2. Update UT case
685 * 3. DSB flow for Write back function
686 * 4. Update RFPOR and filter mode
687 * 5. Remove reduntent code
688 *
689 * 10 03 2018 ming.shen
690 * [MOLY00356286] [Gen97] background search feature - interface
691 *
692 * 09 28 2018 bob.chiang
693 * [MOLY00355821] [GEN97][VGMM][NAS MoDIS IT][Phase 1] integration
694 *
695 * 08 30 2018 kun-lin.wu
696 * [MOLY00348690] Revise MSPM file placement
697 *
698 * 08 29 2018 ian-yw.chen
699 * [MOLY00348528] [Gen97] SMS over 5G NAS
700 * SMS part
701 *
702 * 08 27 2018 mars.chang
703 * [MOLY00331434] [MT6297] NL1TST Common modify
704 * modify union_tag codegen error
705 *
706 * 08 27 2018 norman.chang
707 * [MOLY00346399] [Gen97][System Selection] MCC Pool
708 * .
709 *
710 * 08 23 2018 yu-hsiang.peng
711 * [MOLY00343261] [MT6297] [Logging Service] DHL 2.0 Landing
712 * [DHL2.0] Port to VMOLY (dhl mak & DB)
713 *
714 * 08 22 2018 lucien.li
715 * [MOLY00347660] [ENDC] ENDC related Information
716 * [ENDC] Interface between RAC-NRRC
717 *
718 * 08 21 2018 yc.chen
719 * [MOLY00346302] [Gen97][VGMM] check-in VGMM to VMOLY from GEN97.DEV
720 * [non-MPD] wrap VGMM header file with 5G option in libParseDbModem.c
721 *
722 * 08 20 2018 chester-zd.huang
723 * [MOLY00346991] [RSVAN] GEN97.DEV merge to VMOLY. Codes
724 * - RSVAN interface
725 *
726 * 08 17 2018 poying.chuang
727 * [MOLY00346763] [6297] Gen97 L4 PS Check-In
728 *
729 * - interfaces .
730 *
731 * 08 17 2018 norman.chang
732 * [MOLY00346399] [Gen97][System Selection] MCC Pool
733 * [GMSS] MCC Pool
734 *
735 * 08 17 2018 yc.chen
736 * [MOLY00346302] [Gen97][VGMM] check-in VGMM to VMOLY from GEN97.DEV
737 * [non-MPD] modify related files
738 *
739 * 08 17 2018 norman.chang
740 * [MOLY00346398] [Gen97][System Selection] MRS operator band table
741 * [Operator based Band Table] MRS part
742 *
743 * 08 17 2018 kuan-wei.chen
744 * [MOLY00346647] [MT6297][VDM/L4] changes for 97
745 * [VMOLY] vdm related others
746 *
747 * 08 17 2018 james-chi-ju.chang
748 * [MOLY00306148] [NAS] pangu giant CR
749 * interface
750 *
751 * 07 30 2018 chi-chun.lu
752 * [MOLY00342741] [MakeFile] [UMOLYE] [Modify Makefile Rules] enhance build flow for cgen tdd/fdd preprocessing files
753 *
754 * .
755 *
756 *
757 *******************************************************************************/
758/********************************************* Warning **********************************************
759* Please make sure header file is included correctly!
760* If the common header file is added to libParseDbModem_tdd_fdd.c, the context of header file will be preprocessed twice.
761* The change as above can lead to build time inefficiency.
762*
763* common header file => libParseDbModem.c
764* Tdd/Fdd(2g/3g) header file => libParseDbModem_tdd_fdd.c
765*
766* If the header file relate to Tdd/Fdd (2g/3g), please include the header file in libParseDbModem_tdd_fdd.c
767* If the header file is common header file or is not related to Tdd/Fdd(2g/3g), please add the header file to libParseDbModem.c
768********************************************** Warning **********************************************/
769
770#ifdef __NR_RAT__
771/* Move to lte_sec libParseDbModem.c */
772// #include "nr_mpc_comm_enum.h"
773#endif
774
775#ifdef _MODIS_ON_VC9_
776#define __w64
777#endif
778typedef int cgen_use_spare_msg_id;
779typedef int cgen_use_spare_sap_id;
780typedef int cgen_use_spare_module_id;
781typedef unsigned short msg_type;
782typedef unsigned short sap_type;
783typedef unsigned short module_type;
784
785#ifdef __GNUC__
786 typedef struct __va_list { void *__ap; } __builtin_va_list;
787 #define INLINE __inline
788 #define inline __inline
789#endif
790
791#define __declspec(s)
792//"ps\\tools\\asn1lib\\include\\act-ttbuffmgr.h"
793#undef STDC_HEADERS //it will include stdio.h
794
795#ifdef __RVCT__
796#ifndef __int64
797 typedef long long __int64;
798#endif
799
800
801#define _ARMABI
802
803#endif
804
805#ifdef __UE_SIMULATOR__
806#ifndef __int64
807 typedef long long __int64;
808#endif
809
810/* VMMI */
811#include "l4c2uegw_struct.h"
812
813#endif /* __UE_SIMULATOR__ */
814
815#include "L1Trc.h"
816
817#include "kal_public_api.h"
818#include "kal_public_defs.h"
819#include "sap_info.h"
820#include "msg_id_to_em_info_map.h"
821#include "em_mapping_for_tool.h"
822
823#include "kal_trace.h"
824
825#include "stacklib.h"
826#include "stack_timer.h"
827#include "event_shed.h"
828
829#include "intrCtrl.h"
830
831#include "mddbg_public.h"
832#if !defined(DISABLE_MDDBG_FUNCTION)
833#include "mddbg.h"
834#endif
835
836#include "em_struct.h"
837/* Start of EM related structure */
838#include "em_audio_public_struct.h"
839#include "em_cc_public_struct.h"
840#include "em_dhl_public_struct.h"
841#include "em_el1_public_struct.h"
842#ifdef __EL2_ARCH_V1__
843#include "em_el2_public_struct.h"
844#endif
845#ifdef __EL2_ARCH_V2__
846#include "em_enl2_public_struct.h"
847#endif
848#include "em_emm_public_struct.h"
849#include "em_errc_public_struct.h"
850#include "em_esm_public_struct.h"
851#include "em_imc_public_struct.h"
852#include "em_l1_public_struct.h"
853#include "em_l4_public_struct.h"
854#include "em_llc_public_struct.h"
855#include "em_ltecsr_public_struct.h"
856#include "em_mcf_public_struct.h"
857#include "em_mm_public_struct.h"
858#include "em_mmrf_public_struct.h"
859#include "em_nwsel_public_struct.h"
860#include "em_public_struct.h"
861#include "em_ratcm_public_struct.h"
862#include "em_sim_public_struct.h"
863#include "em_sm_public_struct.h"
864#include "em_sndcp_public_struct.h"
865#include "em_ss_public_struct.h"
866#include "em_ul1_public_struct.h"
867#include "em_ul2_public_struct.h"
868#include "em_vdm_public_struct.h"
869#include "em_mtf_public_struct.h"
870#include "em_nl1_public_struct.h"
871#include "em_sbp_public_struct.h"
872#include "em_uas_public_struct.h"
873#include "em_xcap_public_struct.h"
874#include "em_ostd_public_struct.h"
875
876/* End of EM related structure */
877
878/*lte %M trace usage*/
879#include "lrxpublic.h"
880#include "llpwrlpccpublic.h"
881
882#ifdef __NR_RAT__
883/* NR %M trace usage */
884/* Move to lte_sec libParseDbModem.c */
885// #include "nr_rfcc_trc_enum.h"
886#endif
887
888#if defined(__LTE_RAT__) || defined(__NR_RAT__)
889#include "l4c_enl2_struct.h"
890#endif /* __LTE_RAT__ or __NR_RAT__ */
891
892#ifdef __CDMA2000_RAT__
893#include "c2k_irat_msg_struct.h"
894#endif
895
896/* DVFS */
897#ifdef DVFS_ENABLE
898#include "DVFS_drv.h"
899#include "DVFS_drv_md.h"
900#include "DVFS_drv_modem.h"
901#include "DVFS_drv_md_public.h"
902#include "DVFS_drv_modem_public.h"
903#endif
904
905/* l1 */
906#include "l4c_l1_struct.h"
907#ifdef __PS_SERVICE__
908#endif
909#if ( defined(__GSM_RAT__) || defined(__UMTS_RAT__) )
910/* For Dual Mode L1 */
911#include "mph_dm_def.h"
912#include "mph_dm_msg.h"
913/* For Dual Mode L1 */
914#endif /* __GSM_RAT__ && __UMTS_RAT__ */
915
916#ifdef UNIT_TEST
917#endif
918
919#ifdef __MINI_LOG_SUPPORT__
920#endif /* __MINI_LOG_SUPPORT__ */
921
922#include "GV.h"
923#if defined (__DHL_V2_ENABLE__)
924/*reserve for 2.0*/
925#include "dhl_def.h"
926#include "icd_logging.h"
927#include "icd_dhl.h"
928#include "dhl_ulsp.h"
929#include "dhl_on_demand_logging_interface.h"
930#include "dhl_dsp_def.h"
931#include "dhl_ut_def.h"
932#else
933#include "dhl_def.h"
934#include "icd_logging.h"
935#include "icd_dhl.h"
936#include "dhl_internal_def.h"
937#include "dhl_notify.h"
938#endif
939
940#include "dhl_cmd_struct_def.h"
941#ifdef UNIT_TEST
942#include "dhlsim_def.h"
943#endif
944
945#ifdef __MINI_LOG_SUPPORT__
946#include "tst_mini_log.h"
947#endif /* __MINI_LOG_SUPPORT__ */
948
949#if defined(GEN_FOR_PC)
950#include "tst_Catcher_version.h"
951#include "tst_catcher_diagonsis_info.h"
952#endif //#if defined(GEN_FOR_PC)
953
954#include "custom_cmd.h"
955
956#ifndef NWSEL_NOT_PRESENT
957#endif
958
959#include "gmss_public.h"
960
961#ifndef GMSS_NOT_PRESENT
962#include "gmss_msgid.h"
963#include "gmss_nwsel_struct.h"
964#include "gmss_common.h"
965#include "gmss_context.h"
966#include "gmss_css_recv.h"
967#include "gmss_css_send.h"
968#include "gmss_def.h"
969#include "gmss_main.h"
970#include "gmss_mcc_pool.h"
971#include "gmss_nwsel_recv.h"
972#include "gmss_nwsel_send.h"
973#include "gmss_rat_ctrl.h"
974#include "gmss_sim_access.h"
975#include "gmss_geo_center.h"
976#include "gmss_nr_map.h"
977#include "gmss_state.h"
978#include "gmss_timer.h"
979#include "gmss_trc.h"
980#include "gmss_utility.h"
981#include "gmss_ut.h"
982#endif
983
984#include "nas_sv_msgid.h"
985#include "nas_task.h"
986
987#ifndef __L1_STANDALONE__
988#include "nas_sv_trc.h"
989#endif
990
991#include "nas_sv_context.h"
992#include "rac_nas_sv_struct.h"
993#include "nas_sv_css_struct.h"
994#include "nas_sv_errc_struct.h"
995#include "l4c_nas_sv_struct.h"
996#include "ddm_l4c_struct.h"
997#include "l4c_mrs_struct.h"
998
999#include "smic_msgid.h"
1000#include "smic_context.h"
1001#include "smic_utility.h"
1002#include "smic_epsb.h"
1003#include "smic_struct.h"
1004#include "tcm_smic_struct.h"
1005
1006#ifdef __FIVEG_NAS__
1007#include "vgmm_trc.h"
1008#include "mcd_vgmm_gen_peer.h"
1009#endif
1010
1011
1012#ifdef DUMMY_PROTOCOL
1013#ifdef __GSM_RAT__
1014#endif //__GSM_RAT__
1015#endif
1016
1017/* other module */
1018#include "RM_public.h"
1019
1020#ifndef __L1_STANDALONE__
1021/*For Protol modules*/
1022
1023#ifdef __PS_SERVICE__
1024//#include "asn-incl.h"
1025#endif
1026
1027#include "l4c_context.h"
1028#include "l4c_common_enum.h"
1029#include "l4_defs.h"
1030
1031/* MBMSAL */
1032#include "mbmsal_defs.h"
1033
1034/* FLC */
1035#if defined(__FLC2__) && defined(__FLC_SUPPORT__)
1036#include "flc2_config.h"
1037#endif
1038
1039#ifdef __MOD_CC__
1040#include "mcd_ss_parameters.h"
1041#include "mcd_ss_tcapmessages.h"
1042#include "mcd_cc_peer.h"
1043#include "ps2sat_struct.h"
1044#include "l4c_common_enum.h"
1045#include "csmcc_enums.h"
1046#include "csmcc_common_enums.h"
1047#include "ps2sat_struct.h"
1048#include "l4c2csm_cc_struct.h"
1049#include "mncc_struct.h"
1050#include "mm2cm_struct.h"
1051#include "cm2mm_struct.h"
1052#include "cm2csce_struct.h"
1053#include "cm2gas_struct.h"
1054
1055#include "stacklib.h"
1056#include "event_shed.h"
1057#include "stack_timer.h"
1058#include "cc_defs.h"
1059#include "cc_std_defs.h"
1060#include "cc_ss_defs.h"
1061#include "cc_types.h"
1062#endif
1063
1064
1065#ifdef __MOD_CSM__
1066
1067
1068#if defined(__L1_GPS_REF_TIME_SUPPORT__) || defined(__L1_GPS_AUTO_TIMING_SYNC_SUPPORT__)
1069#include "Hal_el1_struct.h"
1070#endif
1071
1072#ifdef __AGPS_CONTROL_PLANE__
1073/* SSAGPS */
1074#ifdef GEN_FOR_PC
1075 #ifndef __RVCT__
1076 #define __int64
1077 #endif //#if !defined(__RVCT__)
1078#define __cdecl
1079#endif //#ifndef __L1_STANDALONE__
1080
1081#include "applib2_asn_common.h"
1082#include "applib2_mtkasn_global.h"
1083#include "ss_asn.h"
1084#include "l4c2csm_ss_lcs_struct.h"
1085#endif
1086#include "l4c_lbs_struct.h"
1087#include "mnss_struct.h"
1088#include "csmss_common_enums.h"
1089#endif /*__MOD_CSM__*/
1090
1091#ifdef __MOD_SIM__
1092#include "stack_timer.h"
1093
1094#include "phb_utils.h"
1095#include "ps2sat_struct.h"
1096#include "l4c2csm_cc_struct.h"
1097#include "l4c_common_enum.h"
1098#include "csmcc_enums.h"
1099#include "csmcc_common_enums.h"
1100#include "ps2sat_struct.h"
1101#include "l4c2csm_cc_struct.h"
1102 /* ripple */
1103#include "cc2sat_struct.h"
1104#include "sat_def.h"
1105#include "ps2sim_struct.h"
1106
1107/* C2K */
1108#ifdef __CDMA2000_RAT__
1109#include "sim_cuim_utility.h"
1110#endif /* __CDMA2000_RAT__ */
1111
1112#endif /*__MOD_SIM__*/
1113
1114#ifdef __MOD_SMU__
1115
1116#if defined(__MMI_FMI__)
1117#endif
1118#include "l4c2smu_struct.h"
1119#include "ps2sim_struct.h"
1120#include "ps2sat_struct.h"
1121#include "smu_common_enums.h"
1122#include "smu_def.h"
1123#endif /*__MOD_SMU__*/
1124
1125#ifdef __MOD_PHB__
1126#include "l4c2phb_enums.h"
1127#include "l4c2phb_struct.h"
rjw2b1408e2022-12-19 11:19:29 +08001128#include "phb_context.h"
rjw6c1fd8f2022-11-30 14:33:01 +08001129#endif /*__MOD_PHB__*/
1130
1131#ifdef __MOD_UEM__
1132#include "uart_sw.h"
1133#include "mcd_uem_peer.h"
1134#endif /*__MOD_UEM__*/
1135
1136#ifdef __MOD_SMSAL__
1137#include "smsal_l4c_defs.h"
1138#include "smsal_l4c_enum.h"
1139
1140/* for context */
1141#include "l3_inc_enums.h"
1142#include "smsal_timer.h"
1143#include "smsal_enums.h"
1144#include "smsal_defs.h"
1145#include "l4c2smsal_struct.h"
1146#include "smsal_peer_struct.h"
1147
1148#include "mnsms_struct.h"
1149#include "smsal_structs.h"
1150#include "smsal_context.h"
1151#endif /*__MOD_SMSAL__*/
1152
1153#ifdef __MOD_SMS__
1154
1155/* SMS <--> SMSAL */
1156#include "mnsms_struct.h"
1157#include "sms_enum.h"
1158#include "event_shed.h"
1159#include "sms_timer.h"
1160
1161/* SMS Context */
1162#include "sms_defs.h"
1163#include "sms_tl.h"
1164#include "sms_rl.h"
1165#include "sms_cm.h"
1166#include "sms_context.h"
1167
1168/* SMS <--> MM */
1169#include "mcd_sms_gen_peer.h"
1170#include "mcd_l3_inc_gprs_struct.h"
1171#include "cm2mm_struct.h"
1172#include "mm2cm_struct.h"
1173#include "sms2mm_struct.h"
1174#include "mm2sms_struct.h"
1175
1176/* SMS <--> EMM */
1177#ifdef __LTE_RAT__
1178#include "sms_emm_struct.h"
1179#endif
1180
1181/* SMS <--> VGMM */
1182#ifdef __NR_RAT__
1183#include "sms_vgmm_struct.h"
1184#endif
1185
1186#endif
1187
1188#ifndef PPP_NOT_PRESENT
1189#include "mcd_l3_inc_struct.h"
1190#include "mcd_l3_inc_gprs_struct.h"
1191#include "l3_inc_local.h"
1192#include "tcm2sm_struct.h"
1193#include "tcm2ppp_struct.h"
1194#include "ppp2tcm_struct.h"
1195#include "ppp_l4_enums.h"
1196/* PPP for CSD usage */
1197 #ifdef __PPP_UT__
1198 #endif // ~ #ifdef __PPP_UT__
1199#endif /* ~PPP_NOT_PRESENT */
1200
1201#ifdef __MOD_CISS__
1202#include "mcd_ss_parameters.h"
1203#include "mcd_ss_tcapmessages.h"
1204#include "mnss_struct.h"
1205#include "mm2cm_struct.h"
1206#include "cm2mm_struct.h"
1207#include "mcd_l3_inc_struct.h"
1208#include "mcd_l3_inc_gprs_struct.h"
1209#include "l3_inc_local.h"
1210#include "mcd_ciss_peer.h"
1211#include "ciss_enum.h"
1212#include "ciss_eval_struct.h"
1213#endif /* __MOD_CISS__ */
1214
1215//#ifdef __PS_SERVICE__
1216#ifdef __MOD_TCM__
1217#include "mcd_l3_inc_struct.h"
1218#include "mcd_l3_inc_gprs_struct.h"
1219#include "l3_inc_local.h"
1220#include "tcm2sm_struct.h"
1221#include "sm2tcm_struct.h"
1222#include "rat_tcm_context.h"
1223#if defined(__MMI_FMI__)
1224#endif
1225#include "l4c2abm_struct.h"
1226/* mtk00938 2008-02-20: for streaming and secondary PDP context */
1227#include "mmi_sm_enums.h"
1228/* End of Jeff Wu */
1229#include "abm2l4c_struct.h"
1230#include "l4c2tcm_struct.h"
1231#include "l4c2tcm_func.h"
1232#include "tcm2l4c_struct.h"
1233#include "ppp2tcm_struct.h"
1234#include "tcm2ppp_struct.h"
1235#include "snd2tcm_struct.h"
1236#include "tcm2snd_struct.h"
1237#include "tcm_rattcm_struct.h"
1238#include "tcm_context.h"
1239
1240#include "tcm_assert.h"
1241#include "tcm_at_handler.h"
1242#include "tcm_gprs_statistic.h"
1243#include "tcm_init.h"
1244#include "tcm_main.h"
1245#include "tcm_pco_api.h"
1246#include "tcm_qos_api.h"
1247#include "tcm_reset.h"
1248#include "tcm_send_msg.h"
1249
1250#include "tcm_sic_context.h"
1251
1252#include "psilib_context.h"
1253#include "psilib_api.h"
1254
1255#ifdef __TURN_ON_GENERAL_SECONDARY_PDP__
1256#include "tcm_tft_api.h"
1257#endif /* __TURN_ON_GENERAL_SECONDARY_PDP__ */
1258
1259#ifdef __ACL_SUPPORT__
1260#endif /* __ACL_SUPPORT__ */
1261
1262#ifdef __UGTCM__
1263#include "tcm_ugtcm_check.h"
1264#include "tcm_ugtcm_fsm.h"
1265#include "tcm_ugtcm_send_msg.h"
1266#include "tcm_ugtcm_timer.h"
1267#endif /* __UGTCM__ */
1268
1269#endif /* __MOD_TCM__ */
1270//#endif /* __PS_SERVICE__ */
1271
1272
1273#ifndef RR_NOT_PRESENT
1274#ifdef __UMTS_RAT__
1275#endif
1276
1277/* For Poring CSN.1*/
1278
1279
1280
1281
1282#include "security_keys_enums.h"
1283#include "security_keys_struct.h"
1284#include "as2nas_struct.h"
1285#include "mcd_l3_inc_struct.h"
1286#include "mcd_l3_inc_gprs_struct.h"
1287#include "l3_inc_local.h"
1288#include "l3_inc_enums.h"
1289
1290#ifdef __UMTS_RAT__
1291/* John 2006/06/10*/
1292#include "mcd_l3_inc_struct.h"
1293#include "l3_inc_enums.h"
1294#include "l3_inc_local.h"
1295#ifdef __GSM_RAT__
1296#endif
1297#ifdef __UMTS_RAT__
1298#endif
1299
1300#include "mrs_common_band_table.h"
1301#include "mrs_common_operator_feature_table.h"
1302#include "mrs_common_search.h"
1303
1304#ifdef __LTE_RAT__
1305#endif
1306
1307#if defined(__LTE_RAT__)
1308#include "l4c_el1_struct.h"
1309#endif /* __LTE_RAT__ */
1310
1311
1312#include "l4c_nrrc_struct.h"
1313#include "rac_nrrc_struct.h"
1314
1315#ifdef __NR_RAT__
1316#include "smsal_nrrc_struct.h"
1317#endif /* __NR_RAT__ */
1318
1319/* For generating 3G LBM TRACE_PEER enum */
1320#include "ratcm_loop_mode.h"
1321
1322#endif /* __UMTS_RAT__ */
1323
1324#if defined(__GEMINI__)
1325#include "rsvas_enum.h"
1326#include "rsvas_struct.h"
1327#include "rsvas_mspm_struct.h"
1328#include "mspm_public_api.h"
1329#include "mspm_fsm.h"
1330#if defined(__UMTS_RAT__)
1331#include "rsvak_public_enum.h"
1332#include "rsvak_enum.h"
1333#include "rsvak_struct.h"
1334#include "urr_rsvau_struct.h"
1335#ifdef __GSM_RAT__
1336#include "gas_rsva_struct.h"
1337#endif /* __GSM_RAT__ */
1338#endif /* __UMTS_RAT__ */
1339#ifdef __LTE_RAT__
1340#include "eas_rsva_struct.h"
1341#include "rsvae_fsm.h"
1342#endif /* __LTE_RAT__ */
1343#ifdef __NR_RAT__
1344#include "nrrc_rsva_struct.h"
1345#include "rsvan_fsm.h"
1346#endif /* __NR_RAT__ */
1347#ifdef __CDMA2000_RAT__
1348#include "c2k_rsva_struct.h"
1349#include "rsvac_fsm.h"
1350#endif /* __CDMA2000_RAT__ */
1351#endif /* __GEMINI__ */
1352
1353#ifdef __GEMINI__
1354#include "as_access_sem_context.h"
1355#include "as_access_sem_funcs.h"
1356#endif /* __GEMINI__ */
1357
1358#include "rr2lapdm_struct.h"
1359#include "lapdm2rr_struct.h"
1360#ifdef __GEMINI__
1361#include "rr2prr_struct.h"
1362#endif
1363#include "l4c_l1_struct.h"
1364
1365/* CSN codec*/
1366
1367#ifdef __PS_SERVICE__
1368#include "gprs_rlcmac_ul.h"
1369/* Evelyn 20090415: Merge R6 */
1370#endif
1371
1372
1373#ifdef __PS_SERVICE__
1374#include "mcd_l3_inc_struct.h"
1375#include "mcd_l3_inc_gprs_struct.h"
1376#include "l3_inc_local.h"
1377#include "l3_inc_enums.h"
1378
1379/* peer message */
1380#include "si_peer.h"
1381#include "nstd_alloc_bitmap.h"
1382#include "nstd_mobile_alloc_peer.h"
1383#include "nstd_pmo.h"
1384#include "gprs_rlcmac_dl.h"
1385#include "nstd_pkt_meas_report.h"
1386#include "gprs_rlcmac_ul.h"
1387#include "rmc_peer.h"
1388#include "gprs_rlcmac_peer.h"
1389#include "meascell.h"
1390#include "gprs_rlcmac_common.h"
1391
1392#include "llcrlc_enums.h"
1393#include "rmpc_rlc_enums.h"
1394#include "llc2rlc_struct.h"
1395#ifdef __ADAPTIVE_PAGING_PERIOD_IN_UNACK_MODE__
1396#include "rlc2rmpc_struct.h"
1397#endif
1398#include "rmpc2rlc_struct.h"
1399#include "rmpc2mac_struct.h"
1400#include "rlc2reasm_struct.h"
1401#include "reasm2rlc_struct.h"
1402#ifndef __MTK_TARGET__
1403#endif
1404#endif /* end of __PS_SERVICE__ */
1405
1406#ifdef __UMTS_RAT__
1407
1408#endif /* __UMTS_RAT__ */
1409
1410
1411
1412#include "lapdm_enums.h"
1413
1414// Evelyn 20080902: For MAC UT
1415// Rachel 20101114: For MPAL UT
1416
1417/* MD IDC Start */
1418#if defined (__MD97__) && !defined (__UE_SIMULATOR__)
1419#include "idc_el1rx_enum.h"
1420#include "idc_el1rx_str.h"
1421#include "idc_el1mpc_str.h"
1422#include "idc_el1tx_str.h"
1423#include "idc_emac_enum.h"
1424#include "idc_emac_str.h"
1425#include "idc_errc_enum.h"
1426#include "idc_errc_str.h"
1427#include "idc_nl1rx_enum.h"
1428#include "idc_nl1rx_str.h"
1429#include "idc_nl1mpc_str.h"
1430#include "idc_nl1tx_enum.h"
1431#include "idc_nl1tx_str.h"
1432#include "idc_sm_common.h"
1433#include "idc_swmsg_str.h"
1434#include "idc.h"
1435#endif
1436/* MD IDC End */
1437
1438#include "mll1_msgid.h"
1439#include "mll1_eutran.h"
1440#include "mll1_umts_tdd.h"
1441
1442
1443#ifdef __AGPS_CONTROL_PLANE__
1444#endif
1445
1446#endif /* RR_NOT_PRESENT */
1447
1448#ifndef MM_NOT_PRESENT
1449
1450
1451
1452
1453
1454#ifdef __PS_SERVICE__
1455#endif
1456
1457
1458#endif /* #ifndef MM_NOT_PRESENT */
1459
1460
1461#ifdef __MOD_L4A__
1462#endif
1463
1464#ifdef WISDOM_MMI
1465#endif
1466
1467#ifndef VDM_NOT_PRESENT
1468/* VDM */
1469#include "vdm_atp_struct.h"
1470#include "vdm_imc_struct.h"
1471#include "vdm_eval_struct.h"
1472#include "vdm_l4c_struct.h"
1473#include "vdm_sdm_struct.h"
1474#include "vdm_rac_struct.h"
1475#include "vdm_trk_ads_msg.h"
1476#include "vdm_trk_vcc_msg.h"
1477#include "vdm_ads_vcc_msg.h"
1478#include "vdm_ut.h"
1479#include "vdm_trk_ut.h"
1480#include "vdm_ads_ut.h"
1481#include "vdm_vcc_ut.h"
1482#include "vdm_cval_struct.h"
1483#endif /* ifndef VDM_NOT_PRESENT */
1484
1485/**************************************************************************
1486 * GPRS NAS DATA PATH BEGINS
1487 **************************************************************************/
1488#ifdef __PS_SERVICE__
1489
1490#include "sm2l4c_struct.h"
1491#include "l4c2sm_struct.h"
1492#include "sm_esm_struct.h"
1493
1494#ifndef SNDCP_NOT_PRESENT
1495/* other needed struct and enums */
1496#include "snd_defines.h"
1497#include "sndllc_enums.h"
1498#include "data_plane_sm_enums.h"
1499#include "mcd_snd_peer.h"
1500/* sndcp peer struct */
1501/* sm local struct */
1502#include "snd2tcm_struct.h"
1503#include "tcm2snd_struct.h"
1504#include "snd2llc_struct.h"
1505#include "llc2snd_struct.h"
1506#include "llc2l3_struct.h"
1507#include "ratdm_sndcp_struct.h"
1508#include "snd_enums.h"
1509#include "snd_comp_interface.h"
1510#include "snd_flc.h"
1511
1512#include "snd_xid.h"
1513#include "snd_rfc1144.h"
1514#include "snd_context.h"
1515
1516#endif /* SNDCP_NOT_PRESENT */
1517
1518#ifndef SM_NOT_PRESENT
1519/* other needed struct and enums */
1520
1521#include "mcd_l3_inc_struct.h"
1522#include "mcd_l3_inc_gprs_struct.h"
1523#include "l3_inc_local.h"
1524#include "l3_inc_enums.h"
1525#include "mmi_sm_enums.h"
1526#include "data_plane_sm_enums.h"
1527#include "smmm_enums.h"
1528#include "sm_common_enums.h"
1529
1530/* sm peer struct */
1531#include "mcd_sm_gen_peer.h"
1532/* sm local struct */
1533#include "sm2mm_struct.h"
1534#include "mm2sm_struct.h"
1535#include "data_plane2sm_struct.h"
1536#include "sm2data_plane_struct.h"
1537#include "tcm2sm_struct.h"
1538#include "sm2tcm_struct.h"
1539#include "sm_defines.h"
1540#include "sm_context.h"
1541#include "sm_tcm_responser.h"
1542
1543/* sm conn sturct */
1544#include "sm_core_conn_enum.h"
1545#include "sm_core_conn_interface.h"
1546#include "sm_conn_timer.h"
1547#include "sm_conn_private_def.h"
1548
1549
1550#endif /* SM_NOT_PRESENT */
1551
1552
1553
1554#ifndef LLC_NOT_PRESENT
1555
1556/* other needed struct and enums */
1557#include "gmmllc_enums.h"
1558#include "mmllc_enums.h"
1559#include "sndllc_enums.h"
1560#include "llccipher_enums.h"
1561#include "llcrlc_enums.h"
1562#include "security_keys_enums.h"
1563/* In interface/include */
1564#include "llc_peer_interface.h"
1565
1566/* llc local struct */
1567#include "security_keys_struct.h"
1568#include "l32llc_struct.h"
1569#include "llc2l3_struct.h"
1570#include "llc2rlc_struct.h"
1571#include "rlc2llc_struct.h"
1572#include "snd2llc_struct.h"
1573#include "llc2snd_struct.h"
1574#include "llc_flowctrl.h"
1575
1576#include "ratcm_llc_struct.h"
1577
1578/* llc asn peer struct (Order shall be kept) */
1579#include "mcd_llc_peer_struct.h"
1580
1581/* other needed struct and enums */
1582#include "stacklib.h"
1583#include "stack_timer.h"
1584#include "event_shed.h"
1585#include "llc_lcdiplqueue.h"
1586
1587#include "llc_defs.h"
1588#include "llc_context.h"
1589#include "llc_specific_defines.h"
1590
1591#endif /* LLC_NOT_PRESENT */
1592
1593#endif /* __PS_SERVICE__ */
1594
1595#endif /*__L1_STANDALONE__*/
1596
1597/**************************************************************************
1598 * GPRS NAS DATA PATH ENDS
1599 **************************************************************************/
1600
1601#ifndef DATA_NOT_PRESENT
1602
1603
1604
1605
1606
1607#endif /* DATA_NOT_PRESENT */
1608
1609#if defined(__UMTS_RAT__) && defined(__MTK_UL1_FDD__)
1610#include "ul1cal.h"
1611#endif
1612
1613#ifdef __AST_TL1_TDD__
1614#endif
1615
1616
1617
1618//#ifdef __MCD__
1619
1620//#endif
1621
1622#include "uart_sw.h"
1623
1624#ifdef __IRDA_SUPPORT__
1625#ifndef OBEX_NOT_PRESENT
1626#endif
1627
1628#ifndef IRCOMM_NOT_PRESENT
1629#endif
1630#endif /* __IRDA_SUPPORT__ */
1631
1632#if defined(__MOD_SMSAL__) && !defined(SOC_NOT_PRESENT) //kevin 05/23
1633#endif /*__MOD_SMSAL__*/
1634
1635#ifndef __L1_STANDALONE__
1636#include "smsal_as_struct.h"
1637#endif
1638
1639#ifdef __LTE_RAT__
1640#include "mll1_msgid.h"
1641#include "mll1_eutran.h"
1642#include "mll1_umts_tdd.h"
1643#endif /*__LTE_RAT__*/
1644
1645#if defined(__MOD_RAC__)
1646#include "l4c2rac_struct.h"
1647#include "rac2l4c_struct.h"
1648#ifdef __LTE_RAT__
1649#include "rac_eval_struct.h"
1650#endif /* __LTE_RAT__ */
1651#include "mmi2mm_struct.h"
1652#include "mm2mmi_struct.h"
1653#include "rac_defs.h"
1654#include "rac_mrs_struct.h"
1655#include "rac_em_struct.h"
1656#include "rac_context.h"
1657#include "rac_gmss_struct.h"
1658#endif /* __MOD_RAC__ */
1659
1660#ifndef L4_NOT_PRESENT
1661#include "rmmi_context.h"
1662#include "drvsignals.h"
1663#include "l4_ipc_msg_struct.h"
1664#endif
1665
1666/* for BMT */
1667#include "drvsignals.h"
1668/* for BMT */
1669
1670#include "audio_enum.h"
1671
1672#ifdef __WIFI_SUPPORT__
1673#ifdef WIFI_BB_MT5921
1674#endif
1675#endif
1676
1677#define BREAK
1678
1679#ifndef __L1_STANDALONE__
1680#ifdef GEN_FOR_PC
1681//#include "sasken_msg.h"
1682//#include "smsal_peer.h"
1683//#include "mpal2rr_unpack_struct.h"
1684//#include "rr2mpal_unpack_struct.h"
1685#ifdef __UMTS_FDD_MODE__
1686//#include "nas_msg.h"
1687#endif
1688
1689#ifdef __UMTS_RAT__
1690#endif /* #ifdef __UMTS_RAT__ */
1691#ifdef __PS_SERVICE__
1692#include "rlc2mac_unpack_struct.h"
1693#endif /*__PS_SERVICE__*/
1694#endif /*GEN_FOR_PC*/
1695#endif /*__L1_STANDALONE__*/
1696
1697
1698#ifdef __PS_SERVICE__
1699#endif
1700
1701#ifndef __MTK_TARGET__
1702#endif
1703
1704
1705#ifdef __IPERF__
1706#endif /* __IPERF__ */
1707
1708#ifdef __DRM_SUPPORT__
1709#endif /* __DRM_SUPPORT__ */
1710
1711#ifdef GIS_SUPPORT
1712#endif
1713
1714#ifdef __CMUX_SUPPORT__
1715#include "cmux_struct.h"
1716#include "cmux_def.h"
1717#endif /* __CMUX_SUPPORT__ */
1718
1719
1720#ifdef __IPCORE_SUPPORT__
1721#include "ipc_struct.h"
1722#endif /* __IPCORE_SUPPORT__ */
1723
1724#ifdef __IPFCORE_SUPPORT__
1725#include "ipfc_enums.h"
1726#endif /* __IPFCORE_SUPPORT__ */
1727
1728#ifdef __DPFM_SUPPORT__
1729#include "dpfm_enums.h"
1730#include "dpfm_struct.h"
1731#endif /* __DPFM_SUPPORT__ */
1732
1733#ifdef __TMC_SUPPORT__
1734#include "tmc_struct.h"
1735#include "tmc_enums.h"
1736#endif /* __TMC_SUPPORT__ */
1737
1738#ifdef __HIF_AOMGR_SUPPORT__
1739#endif /* __HIF_AOMGR_SUPPORT__ */
1740
1741#ifdef __ETHERCORE_SUPPORT__
1742#endif /* __ETHERCORE_SUPPORT__ */
1743
1744#ifdef __NMU_ENABLE__
1745#include "dhcp4c_struct.h"
1746#include "ndpc_struct.h"
1747#endif
1748
1749#ifdef __USB_ECM_SUPPORT__
1750#endif
1751
1752#if defined(__GPS_SUPPORT__) || defined(__BT_GPS_SUPPORT__)
1753#include "gps_struct.h"
1754#endif
1755
1756#ifndef __L1_STANDALONE__
1757
1758/* for NAS/RATCM inerface */
1759#include "mcd_l3_inc_struct.h"
1760#include "mcd_l3_inc_gprs_struct.h"
1761#include "l3_inc_local.h"
1762#include "l3_inc_enums.h"
1763
1764#include "smsal_ratcm_struct.h"
1765#include "nwsel_ratdm_struct.h"
1766
1767#ifdef __PS_SERVICE__
1768#include "mm_ratdm_struct.h"
1769#include "sm_ratdm_struct.h"
1770#include "esm_ratdm_struct.h"
1771#include "smic_ratdm_struct.h"
1772
1773#ifndef UART_SW_H
1774#include "uart_sw.h"
1775#endif // ~ #ifndef UART_SW_H
1776#ifndef _PS_RATDM_STRUCT_H
1777#endif // ~ #ifndef _PS_RATDM_STRUCT_H
1778#include "tcm_ratdm_struct.h"
1779#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1780#endif
1781/* L4C -> RATDM */
1782//#ifndef _L4C_RATDM_STRUCT_H
1783#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1784#endif
1785//#endif
1786
1787/* L4C -> IPCORE */
1788#include "l4c_ipcore_struct.h"
1789
1790/* For RATDM/RABM UT */
1791#endif
1792
1793#ifdef __GSM_RAT__
1794/* for RATCM/GAS interface */
1795#include "ratcm_gas_enums.h"
1796#include "ratcm_gas_struct.h"
1797#endif
1798
1799#endif /* ! __L1_STANDALONE__ */
1800
1801
1802/* mtk04121 */
1803#if defined(__MOD_TCM__)
1804#include "l3_inc_local.h"
1805#include "tcm2sm_struct.h"
1806#include "sm2tcm_struct.h"
1807#include "rat_tcm_context.h"
1808#include "flc2_config.h"
1809#include "mmi_sm_enums.h"
1810#include "l4c2tcm_struct.h"
1811#include "l4c2tcm_func.h"
1812#include "tcm_api.h"
1813#include "tcm2l4c_struct.h"
1814#include "tcm_rattcm_struct.h"
1815/* PPP Dial-up */
1816#include "ppp2tcm_struct.h"
1817#include "tcm2ppp_struct.h"
1818#include "snd2tcm_struct.h"
1819#include "tcm2snd_struct.h"
1820#include "tcm_rattcm_struct.h"
1821#include "tcm_context.h"
1822#include "tcm_assert.h"
1823#include "tcm_at_handler.h"
1824#include "tcm_gprs_statistic.h"
1825#include "tcm_init.h"
1826#include "tcm_main.h"
1827#include "tcm_pco_api.h"
1828#include "tcm_qos_api.h"
1829#include "tcm_reset.h"
1830#include "tcm_send_msg.h"
1831
1832#ifdef __TURN_ON_GENERAL_SECONDARY_PDP__
1833#include "tcm_tft_api.h"
1834#endif /* __TURN_ON_GENERAL_SECONDARY_PDP__ */
1835
1836#ifdef __ACL_SUPPORT__
1837#endif /* __ACL_SUPPORT__ */
1838
1839#ifdef __UGTCM__
1840#include "tcm_ugtcm_check.h"
1841#include "tcm_ugtcm_fsm.h"
1842#include "tcm_ugtcm_send_msg.h"
1843#include "tcm_ugtcm_timer.h"
1844#endif /* __UGTCM__ */
1845
1846#if defined(__ETCM__)
1847#include "eval_msgid.h"
1848#include "upcm_msgid.h"
1849#include "tcm_eval_enums.h"
1850#include "tcm_eval_struct.h"
1851#include "tcm_upcm_struct.h"
1852#include "tcm_etcm_utility.h"
1853#endif
1854#endif
1855
1856/**************************************************************************
1857 * WCDMA INTERFACE BEGINS
1858 **************************************************************************/
1859#ifdef __UMTS_RAT__
1860#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1861#endif
1862#ifdef __CGEN_UMTS_TDD128_MODE__
1863#endif
1864#include "kal_public_api.h"
1865
1866#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1867#endif /*__UMTS_FDD_MODE__*/
1868
1869#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1870#include "hal_ul1_def.h"
1871#include "hal_ul1_struct.h"
1872#endif /*__UMTS_FDD_MODE__*/
1873
1874#ifdef __UL1_ON_MNT__
1875/* for UL1 MoDIS */
1876#endif
1877
1878#ifdef DUMMY_PROTOCOL
1879/* 3G DPS */
1880#endif
1881
1882
1883/* for MAL1 interface */
1884#ifdef __MA_L1__
1885#endif
1886
1887#ifndef __L1_STANDALONE__
1888
1889
1890/* for UAS common structure and enums */
1891
1892/* for inter-core common structure and enum */
1893#include "as_inter_core_enum.h"
1894#include "as_inter_core_struct.h"
1895#include "gise_str.h"
1896
1897#ifdef GEN_FOR_PC
1898#include "mcd_rrc_asn.h"
1899//John 960724
1900#include "asn_aper_common.h"
1901#include "mcd_h245_asn.h"
1902#endif
1903
1904//#ifdef __UMTS_FDD_MODE__
1905//#endif
1906
1907/* for UAS internal interface */
1908/* for URR/UL2D interface */
1909#include "meme_drlc_struct.h"
1910#ifdef __CGEN_UMTS_FDD_MODE__
1911#endif
1912
1913
1914/* for URR/UL2 interface */
1915
1916/* for UL2/UL2D interface */
1917#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1918#endif
1919#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
1920#endif
1921/* for URR internal interface */
1922#include "ex_item.h"
1923#include "sim_public_enum.h"
1924//#ifdef __UMTS_FDD_MODE__
1925//#endif
1926
1927/* discuss with SIM owner, UAS add sim header file when requirement.*/
1928#if defined(UNIT_TEST) && defined(__UMTS_TDD128_MODE__)
1929#include "sim_private_struct.h"
1930#endif
1931
1932/* for RATCM/UAS interface */
1933#include "ratcm_uas_enums.h"
1934#include "ratcm_slce_enums.h"
1935#include "ratcm_rrce_enums.h"
1936#include "ratcm_uas_struct.h"
1937#include "ratcm_rrce_struct.h"
1938#include "ratcm_slce_struct.h"
1939#include "ratcm_cse_enums.h"
1940#include "ratcm_cse_struct.h"
1941#include "ratcm_bmc_struct.h"
1942#include "ratcm_urlc_struct.h"
1943#include "ratdm_urlc_struct.h"
1944
1945/* for EAS interface */
1946#include "ratdm_el2_struct.h"
1947
1948/* for UAS/GAS interface */
1949
1950#include "nas_as_inter_core_struct.h"
1951
1952#ifdef __GEMINI__
1953/* for GAS/UL2 interface */
1954#include "l3_inc_enums.h"
1955#endif /* __GEMINI__ */
1956
1957/*Vito: for CSR UT */
1958
1959/* Jeff Wu 2006-02-13: For RABM/PDCP UT */
1960#include "flc2_config.h"
1961
1962/* Evan Chen 2007-08-13: For MM UT */
1963
1964/* Gibran Chang 2006/03/23: For CSCE */
1965
1966/* Nicky Chou 2014/08/25: For LCSCE */
1967#include "urr_inter_core_enum.h"
1968#include "as_inter_core_enum.h"
1969
1970/* For LMEME */
1971
1972/*For LRRCE*/
1973#if defined(__CGEN_UMTS_TDD128_MODE__)
1974#endif
1975
1976/* Dennis Weng 2010/08/09: For SIBE */
1977/* YenChih Yang 2012/04/18: For USIME */
1978
1979/* For MEME */
1980/* For TDD please modify the code wrapped by __UMTS_TDD128_MODE__ */
1981/* For TDD please modify the code wrapped by __UMTS_FDD_MODE__ */
1982#ifdef __GEMINI__
1983#endif
1984
1985#if defined(__CGEN_UMTS_TDD128_MODE__)
1986#endif
1987
1988#if defined(__CGEN_UMTS_FDD_MODE__) /* defined(__UMTS_FDD_MODE__) */
1989#endif
1990
1991/* MH Change 2006/04/18: For RRCE */
1992
1993/* John Tang 2005/11/08: For DB Unit-test tool */
1994#ifdef GEN_FOR_PC
1995
1996#define __int64
1997#define __cdecl
1998#include "db_io.h"
1999#include "./fdd/db_dump_api_fdd.h"
2000#ifdef __UMTS_TDD128_MODE__
2001#include "./tdd/db_dump_api_tdd.h"
2002#endif
2003#endif //#ifndef __L1_STANDALONE__
2004
2005
2006
2007
2008/* Alfie: 2006-0422 For SLCE Trace Info Start */
2009#ifndef __size_t
2010#define __size_t 1
2011typedef unsigned int size_t; /* used for dbme.h */
2012#endif
2013
2014#ifdef __CGEN_UMTS_FDD_MODE__ /* __UMTS_FDD_MODE__ */
2015#endif
2016/* Alfie: 2006-0422 For SLCE Trace Info End */
2017
2018
2019/*Christine 2006/05/02*/
2020
2021#endif
2022//Matt 2007/11/30 for VT feature
2023/*
2024#ifdef __VIDEO_CALL_SUPPORT__
2025#include "..\..\..\3g324m\interface\inc\vt_tst_enum.h"
2026#include "..\..\..\3g324m\appl\inc\vt_ut_struct.h"
2027#endif
2028*/
2029
2030#endif /* __UMTS_RAT__ */
2031#ifdef __L1_STANDALONE__
2032#ifdef __MOD_NVRAM__
2033#include "ex_item.h"
2034
2035#if defined(__MMI_FMI__)
2036#endif
2037
2038#endif /*__MOD_NVRAM__*/
2039#endif
2040/**************************************************************************
2041 * WCDMA INTERFACE ENDS
2042 **************************************************************************/
2043
2044#if defined(__GPS_SUPPORT__) || defined(__BT_GPS_SUPPORT__)
2045#include "gps_struct.h"
2046#ifdef __AGPS_SUPPORT__
2047#include "gps2lcsp_enum.h"
2048#include "gps2lcsp_struct.h"
2049#endif /* __AGPS_SUPPORT__ */
2050#endif
2051
2052#include "lbs_dhl_struct.h"
2053#include "lbs_loc_info_struct.h"
2054#include "lbs_gnss_tc_struct.h"
2055#include "gnss_tc_common_struct.h"
2056#include "gnss_tc_lte_struct.h"
2057#include "gnss_tc_nr_struct.h"
2058#include "gnss_tc_wcdma_struct.h"
2059#include "gnss_tc_context.h"
2060
2061#ifdef __RRLP_SUPPORT__
2062#include "rr2rrlp_struct.h"
2063#include "rrlp_common_headers.h"
2064#include "rrlp_enum.h"
2065#endif /* __RRLP_SUPPORT__ */
2066
2067#ifdef __AGPS_SUPPORT__
2068
2069#if defined(__UAGPS_CP_SUPPORT__)
2070#include "uagps_cp_sibe_struct.h"
2071#include "uagps_cp_meme_struct.h"
2072#include "l4c_uagps_cp_struct.h"
2073#include "uagps_cp_gps_struct.h"
2074#endif /* __UAGPS_CP_SUPPORT__ */
2075
2076#include "lbs_common_enum.h"
2077#endif /* __AGPS_SUPPORT__ */
2078
2079//#if defined(__AGNSS_SUPPORT__)
2080#include "gnss2lcsp_struct.h"
2081#include "gnss2lcsp_enum.h"
2082//#endif /* #if defined(__AGNSS_SUPPORT__) */
2083
2084/* for LPP*/
2085#if defined(__LTE_RAT__) && defined(__LPP_SUPPORT__)
2086#include "lpp_msg_struct.h"
2087#include "lpp_msg_enum.h"
2088#include "lpp_lbs_msg_struct.h"
2089#include "lpp_context.h"
2090#include "lpp_mcd_struct_id.h"
2091#include "Hal_el1_def.h"
2092#include "Hal_el1_struct.h"
2093/* LPPe */
2094#if defined(__LPP_EXT_SUPPORT__)
2095#include "lpp_lppe_struct.h"
2096#include "lpp_ext_context.h"
2097#endif
2098#endif
2099#include "as2l4c_struct.h"
2100
2101//#ifdef __ACMT_SUPPORT__
2102#include "nas2l4c_struct.h"
2103//#endif
2104
2105/*For UL1A*/
2106#if defined(__UMTS_RAT__) && defined(__MTK_UL1_FDD__)
2107#include "ul1a_enum.h"
2108#endif
2109
2110#if defined (__WMT_SUPPORT__) || defined(__WIFI_BT_SINGLE_ANTENNA_SUPPORT__)
2111#endif /* __WMT_SUPPORT__*/
2112
2113#ifdef __GADGET_SUPPORT__
2114#endif /* __GADGET_SUPPORT__ */
2115
2116#if defined(__RMMI_UT__)
2117#include "tcm_context.h"
2118#endif
2119
2120#include "sim_public_struct.h"
2121#include "sim_private_struct.h"
2122#include "sim_public_enum.h"
2123
2124#ifndef __MTK_TARGET__
2125#include "l4c_context.h"
2126#endif
2127
2128#if defined(__L4C_GPRS_UT__)
2129#include "rmmi_context.h"
2130#endif
2131
2132#ifndef __L1_STANDALONE__
2133#include "rmmi_common_enum.h"
2134#include "rmmi_struct.h"
2135#endif
2136#ifdef __VIDEO_ARCHI_V2__
2137#endif /* __VIDEO_ARCHI_V2__ */
2138
2139/* mpl & source*/
2140
2141#if defined(__L1_GPS_REF_TIME_SUPPORT__) || defined(__L1_GPS_AUTO_TIMING_SYNC_SUPPORT__)
2142#include "hal_l1_struct.h"
2143#endif /*(__L1_GPS_REF_TIME_SUPPORT__) || (__L1_GPS_AUTO_TIMING_SYNC_SUPPORT__)*/
2144
2145#if defined (__MOD_NVRAM__)
2146#endif
2147/* mtk04121 */
2148
2149/* SIM CODEGEN begin */
2150#ifndef SIM_NOT_PRESENT
2151#include "sim_ps_struct.h"
2152#include "sim_public_struct.h"
2153#endif
2154/* SIM CODEGEN end */
2155
2156/* EVAL CODEGEN begin */
2157#ifdef __EVAL_ENABLE__
2158#include "eval_msgid.h"
2159#include "l4c_eval_struct.h"
2160#include "nwsel_eval_struct.h"
2161#include "rac_eval_struct.h"
2162#include "tcm_eval_struct.h"
2163#include "sms_eval_struct.h"
2164#include "smsal_eval_struct.h"
2165#endif
2166/* EVAL CODEGEN end */
2167
2168//etc interface
2169#include "etc_upcm_struct.h"
2170#include "etc_msgid.h"
2171
2172/* TFTLIB CODEGEN */
2173#include "tftlib_common_struct.h"
2174#include "tftlib_msgid.h"
2175#include "tftlib_msg_struct.h"
2176
2177/* mtk00938: Multimode interfaces */
2178#ifdef __LTE_RAT__
2179#include "mm_emm_struct.h"
2180#include "mm_errc_struct.h"
2181#include "sm_esm_struct.h"
2182#endif
2183
2184/* mtk00938: This file is necessary even without LTE */
2185
2186/* MOD_PAM */
2187#ifdef __PS_SERVICE__
2188#include "pam_msg_struct.h"
2189#include "nwsel_pam_struct.h"
2190#include "pam_context.h"
2191#include "pam_sm_proc.h"
2192#include "pam_vzw_util.h"
2193#include "pam_send_msg.h"
2194#include "pam_assert.h"
2195#include "pam_main.h"
2196#include "pam_public_api.h"
2197#include "pam2tcm_struct.h"
2198#include "usm_context.h"
2199#endif /* __PS_SERVICE__ */
2200
2201/* SMIC */
2202#ifdef __PS_SERVICE__
2203#include "smic_common_def.h"
2204#include "smic_context.h"
2205#include "smic_main.h"
2206#include "smic_utility.h"
2207#endif /* __PS_SERVICE__ */
2208
2209/* UTT/LTT/GTEST */
2210#ifdef __LTT_ENABLE__
2211#endif /* __LTT_ENABLE__ */
2212
2213#if 0
2214#if defined (__EL1_ENABLE__) && !defined(__UE_SIMULATOR__)
2215/* under construction !*/
2216/* under construction !*/
2217#if defined(__LTE_RAT__) && defined(__L1EDPS_ENABLE__)
2218#endif /* __LTE_RAT__ */
2219#if defined(__MTK_TARGET__) && !defined(__L1EDPS_ENABLE__)
2220/* under construction !*/
2221#endif /* __MTK_TARGET__ */
2222#endif /* __EL1_ENABLE__ */
2223#endif
2224
2225#if defined (__IDC_ENABLED__)
2226#if defined (__MD97__)
2227#include "idc_md_msgid.h"
2228#include "idc_msgid.h"
2229#else
2230#include "ccci_ipc_msgid.h"
2231#endif
2232#endif
2233
2234#if defined (__EL2_V2_ENABLE__) || defined(__L1EDPS_ENABLE__)
2235#include "emac_ml1s_msg.h"
2236#endif
2237#include "mdfpm_msgid.h"
2238
2239
2240#if 0
2241#if defined(__EL2_ENABLE__) || defined(__L1EDPS_ENABLE__)
2242/* under construction !*/
2243/* under construction !*/
2244/* under construction !*/
2245/* under construction !*/
2246/* under construction !*/
2247/* under construction !*/
2248/* under construction !*/
2249/* under construction !*/
2250/* under construction !*/
2251/* under construction !*/
2252#endif
2253#endif
2254
2255/* global enum */
2256/***************************************************************
2257* if add _msgid.h or _sap.h file, should include the _msgid.h or _sap.h in : *
2258* kal_debug_msg_sap_defs.h & libParseDbModem.c & srcParseDbModem.c *
2259****************************************************************/
2260#include "module_msg_range.h"
2261#include "perf_msgid.h"
2262#include "sysservice_msgid.h"
2263#include "cc_msgid.h"
2264#include "ciss_msgid.h"
2265#include "mm_msgid.h"
2266#include "sms_msgid.h"
2267#include "sim_public_msgid.h"
2268#include "sim_ps_msgid.h"
2269#include "ps_public_l4_msgid.h"
2270#include "l4_msgid.h"
2271#include "psdm_msgid.h"
2272#include "rr_msgid.h"
2273#include "llc_msgid.h"
2274#include "p2p_msgid.h"
2275#include "sndcp_msgid.h"
2276#include "sm_msgid.h"
2277#include "pam_msgid.h"
2278#include "data_msgid.h"
2279#include "ps_public_vt_msgid.h"
2280#include "VT_msgid.h"
2281#include "nvram_msgid.h"
2282#include "l1_msgid.h"
2283#include "hal_l1_msgid.h"
2284#include "l1hisr_msgid.h"
2285#include "ft_msgid.h"
2286#include "tst_msgid.h"
2287#include "audio_msgid.h"
2288#include "cldmacore_msgid.h"
2289#include "ratcm_msgid.h"
2290#include "ratdm_msgid.h"
2291#include "uas_gas_msgid.h"
2292#include "mrs_msgid.h"
2293#include "uas_gas_gemini_msgid.h"
2294#include "ul1_msgid.h"
2295#include "ul1data_msgid.h"
2296#include "ul1hisr_msgid.h"
2297#include "ul1c_msgid.h"
2298#include "ll1_msgid.h"
2299#include "ul1tst_msgid.h"
2300#include "ulcs_msgid.h"
2301#include "tl1_msgid.h"
2302#include "lpp_msgid.h"
2303#include "tl1data_ast_msgid.h"
2304#include "tl1fta_ast_msgid.h"
2305#include "rsva_msgid.h"
2306#include "mspm_msgid.h"
2307#include "ndis_msgid.h"
2308#include "ps_public_ups_msgid.h"
2309#include "ups_msgid.h"
2310#include "ps_public_supl_msgid.h"
2311#include "supl_msgid.h"
2312#include "cmux_msgid.h"
2313#include "ppp_msgid.h"
2314#include "ext_modem_msgid.h"
2315#include "wmt_msgid.h"
2316#include "em_msgid.h"
2317#include "fs_msgid.h"
2318#include "med_msgid.h"
2319#include "dps_msgid.h"
2320#include "udps_msgid.h"
2321#include "drv_msgid.h"
2322#include "meut_msgid.h"
2323#include "l1_ext_msgid.h"
2324#include "haplus_msgid.h"
2325#include "hif_mw_msgid.h"
2326#include "hif_svc_msgid.h"
2327#include "el1_msgid.h"
2328#include "mcf_msgid.h"
2329#include "sap_relayer_msgid.h"
2330
2331#include "sap_range.h"
2332#include "svc_sap.h"
2333#include "md_sap.h"
2334#include "md_svc_sap.h"
2335#include "md_drv_sap.h"
2336#include "md_mmi_sap.h"
2337#include "md_mw_sap.h"
2338#include "mw_sap.h"
2339#include "drv_sap.h"
2340
2341#include "srv_modid.h"
2342#include "modem_2g3g_modid.h"
2343#include "modem_4g_modid.h"
2344#include "modem_5g_modid.h"
2345#include "middleware_modid.h"
2346#include "drv_modid.h"
2347#include "hisr_modid.h"
2348#include "isr_modid.h"
2349#include "system_profiler_public.h"
2350#if defined(__GSM_RAT__) || defined(__UMTS_RAT__) // BJM
2351#include "l1_core_private.h"
2352#include "l1_rtb.h"
2353#include "l1_rtb_timertype.h"
2354#ifdef __MTK_UL1_FDD__
2355#include "ul1c_trc.h"
2356#include "ul1c_core_private.h"
2357#include "ul1_public.h"
2358#endif /* __MTK_UL1_FDD__ */
2359#endif /* defined(__GSM_RAT__) || defined(__UMTS_RAT__) */
2360
2361//mtk04121
2362#if defined(__ETCM__)
2363#include "tcm_eval_struct.h"
2364#include "tcm_eval_enums.h"
2365#include "tcm_upcm_struct.h"
2366
2367#include "eval_msgid.h"
2368#include "upcm_msgid.h"
2369
2370#endif
2371
2372#include "mtf_msgid.h"
2373
2374#ifdef __MT_FRAMEWORK_SUPPORT__
2375#include "mtf_struct.h"
2376#endif
2377
2378#include "qmu_bm_enum.h"
2379#include "upcm_enum.h"
2380#include "tft_pf_enum.h"
2381
2382#include "qbm_stats.h"
2383#include "upcm_em_struct.h"
2384#include "eval_upcm_struct.h"
2385
2386#include "mrs_upcm_struct.h"
2387
2388#include "upcm.h"
2389
2390/* for RAC/GAS interface */
2391#include "rac_gas_enums.h"
2392#include "rac_gas_struct.h"
2393
2394#if defined(__IMS_SUPPORT__)
2395/* SDM */
2396#include "sdm_atp_struct.h"
2397#include "sdm_atp_enums.h"
2398#include "sdm_imcsms_enums.h"
2399#include "sdm_imcsms_struct.h"
2400#include "sdm_trc.h"
2401#include "sdm_msgid.h"
2402#include "sdm_context.h"
2403#include "sdm_imc_struct.h"
2404
2405/* IMSP */
2406#include "atp_structs.h"
2407#include "atp_msgid.h"
2408#include "atp_imcsms_struct.h"
2409#include "atp_dmf_struct.h"
2410
2411/* IMC */
2412#include "dhl_ims_sap_collect.h"
2413
2414/* IMCSMS */
2415#include "imcsms_msgid.h"
2416#include "imcsms_imc_struct.h"
2417#include "imcsms_enums.h"
2418#include "imcsms_defs.h"
2419#include "imcsms_rl.h"
2420#include "imcsms_context.h"
2421#include "imcsms_timer.h"
2422
2423/* IWLAN */
2424#include "iwlan_msg_struct.h"
2425#include "iwlan_sdm_struct.h"
2426#include "iwlan_public_defs.h"
2427
2428/* IMCB */
2429#include "imcb_msgid.h"
2430#include "imsm_imcb_struct.h"
2431//#include "imsvt_imcb_struct.h"
2432#ifdef __FIVEG_VOICE__
2433#include "atp_imcb_struct.h"
2434#endif /* __FIVEG_VOICE__ */
2435
2436/* IMS_STACK */
2437#include "ims_stack_msgid.h"
2438#include "ims_stack_struct.h"
2439#include "ims_common_def.h"
2440
2441/* IMSUA */
2442#include "imsua_msgid.h"
2443#include "imcb_imsua_struct.h"
2444#include "imc_imsua_struct.h"
2445
2446#endif /* defined(__IMS_SUPPORT__) */
2447
2448
2449#ifdef __N3GPP_OFFLOAD_ENABLE__
2450
2451/* N3ANS */
2452#include "n3ans_msgid.h"
2453#include "n3epc_n3ans_struct.h"
2454#include "atp_n3ans_struct.h"
2455#include "n3ans_l4bnw_struct.h"
2456
2457/* N3CF */
2458#include "n3cf_msgid.h"
2459#include "n3cf_msg_struct.h"
2460#include "n3cf_atp_struct.h"
2461#include "custom_n3cf_config.h"
2462
2463/* N3EPC */
2464#include "n3epc_msgid.h"
2465#include "d2pm_n3epc_struct.h"
2466#include "d2rm_n3epc_struct.h"
2467#include "iwlan_n3epc_struct.h"
2468#include "atp_n3epc_struct.h"
2469
2470/* N3SAM */
2471#include "n3sam_msgid.h"
2472#include "n3epc_n3sam_struct.h"
2473#include "n3sam_eap_proxy_struct.h"
2474#include "n3sam_primitive_log_struct.h"
2475
2476#endif /* __N3GPP_OFFLOAD_ENABLE__ */
2477
2478
2479#ifdef __MD_WLC_SUPPORT__
2480
2481#include "wlc_msgid.h"
2482#include "atp_wlc_struct.h"
2483#include "wlc_atp_struct.h"
2484#include "wlc_user_struct.h"
2485#include "tcpip_wlc_struct.h"
2486
2487#endif /* __MD_WLC_SUPPORT__ */
2488
2489/* CCCI IPC */
2490#if defined(__CCCIDEV_SUPPORT__)
2491#include "ccci_ipc_msgid.h"
2492#include "cccisrv_struct.h"
2493#include "ccci_fs_if.h"
2494#endif /*defined(__CCCIDEV_SUPPORT__)*/
2495#include "mdfpm_msgid.h"
2496
2497/* CCISM */
2498#if defined(__HIF_CCISM_SUPPORT__)
2499#include "ccismcore_msgid.h"
2500#endif /*defined(__HIF_CCISM_SUPPORT__)*/
2501
2502/* MCIF */
2503#if defined(__MCIF_SUPPORT__)
2504#include "mcif_msgid.h"
2505#include "mcif_public_api.h"
2506#ifdef __MCIF_WIFI_SUPPORT__
2507#include "wsvc_msgid.h"
2508#include "wsvc_msg_struct.h"
2509#include "wfpm_msgid.h"
2510#include "wfpm_struct.h"
2511#endif
2512#endif /*defined(__MCIF_SUPPORT__)*/
2513
2514#ifdef __MD_IPSEC_SUPPORT__
2515#include "ipsec_msgid.h"
2516#include "ipsec_tcpip_msg.h"
2517#include "ipsec_cp_msg.h"
2518#include "ipsec_wtunnel_msg.h"
2519#include "ipsec_atp_msg.h"
2520#include "wtunnel_msgid.h"
2521#include "n3sam_wt_struct.h"
2522#endif /* __MD_IPSEC_SUPPORT__ */
2523
2524#include "ps_public_struct.h"
2525
2526#ifdef __IPCORE_SUPPORT__
2527#include "pfm_struct.h"
2528#include "pfm_enums.h"
2529#endif /* __IPCORE_SUPPORT__ */
2530
2531#if defined(__HLT_SUPPORT__)
2532#include "hlt_if.h"
2533#endif
2534#include "mmrf_msgid.h"
2535#include "mmrf_msg_interface.h"
2536#include "ftc_msg.h"
2537#include "l1tst_msgid.h"
2538#include "el1tst_msgid.h"
2539
2540#ifdef __MTK_MD_DIRECT_USB_SUPPORT__
2541#endif
2542
2543#ifdef __WIFIPROXY_SUPPORT__
2544#include "wifi_proxy_msgid.h"
2545#include "wifi_proxy_public.h"
2546#include "wifi_proxy_struct.h"
2547#endif
2548
2549#include "l1d_gpt_if.h"
2550#include "el1d_gpt_if.h"
2551#include "ul1d_gpt_if.h"
2552#include "nl1_gpt_if.h"
2553#include "mml1_gpt_if.h"
2554
2555#include "mml1_rf_interface.h"
2556
2557#if defined(__MD97__)
2558#include "mml1_cdf_trc_enum.h"
2559#include "mml1_endc_trc_enum.h"
2560#endif
2561
2562#include "iwlan_errc_struct.h"
2563#include "iwlan_atp_struct.h"
2564
2565#ifdef __EL1_ENABLE__
2566#include "el1d_trace_public_common.h"
2567#include "el1d_public.h"
2568#include "el1cd_common.h"
2569#include "el1_phs_trace_enum.h"
2570#endif
2571
2572#ifdef __MD_TCPIP_SUPPORT__
2573#include "tcpip_msgid.h"
2574#include "tcpip_struct.h"
2575#include "nal_msgid.h"
2576#include "nal_struct.h"
2577#ifdef __NAL_TEST__
2578#endif
2579#endif
2580
2581/* DNS */
2582#ifdef __MD_TCPIP_SUPPORT__
2583#include "dns_msgid.h"
2584#include "dns_struct.h"
2585#endif
2586
2587/* Ethernet Service */
2588#ifdef __ETHERNET_SERVICE_SUPPORT__
2589#include "ethsvc_msgid.h"
2590#include "ethsvc_struct.h"
2591#endif
2592
2593/* L4B Begin */
2594#include "l4b_internal_defs.h"
2595#include "atp_msgid.h"
2596#include "atp_l4b_struct.h"
2597#include "l4b_atci_struct.h"
2598#include "l4b_cval_struct.h"
2599#include "l4bpwr_struct.h"
2600#include "l4bnw_struct.h"
2601#include "l4bpwr_l4bnw_struct.h"
2602#include "val_msgid.h"
2603#include "l4bsim_struct.h"
2604#include "l4bsat_struct.h"
2605#include "l4bsms_struct.h"
2606#include "l4aps_l4bpdn_struct.h"
2607#include "ddm_l4aps_struct.h"
2608#include "l4bpdn_l4c_struct.h"
2609#include "l4bpdn_tcm_struct.h"
2610#include "l4bpdn_cval_struct.h"
2611#include "l4bpdn_struct.h"
2612#include "tcm_cval_struct.h"
2613#include "l4bpdn_upcm_struct.h"
2614#include "l4c_upcm_struct.h"
2615#include "l4bpdn_leisim.h"
2616#include "l4bpdn_context.h"
2617#include "l4b_vdm_struct.h"
2618#include "l4bcc_struct.h"
2619#include "l4bsbp_struct.h"
2620#include "l4bpwr_l4bsbp_struct.h"
2621#include "l4bss_struct.h"
2622#include "ddm_l4bnw_struct.h"
2623#include "wo_l4bnw_struct.h"
2624#include "l4bnw_l4c_struct.h"
2625#include "l4bpwr_l4c_struct.h"
2626#ifndef __MTK_TARGET__
2627//for l4b.gv
2628#endif
2629/* L4B End */
2630
2631#include "nas_sv_msgid.h"
2632
2633#include "ddm_msgid.h"
2634#include "d2_msgid.h"
2635#include "intctrl_msgid.h"
2636
2637#include "imsm_msgid.h"
2638#include "imsm_struct.h"
2639
2640#include "atp_d2at_struct.h"
2641#include "atp_imsm_struct.h"
2642#include "atp_ddm_struct.h"
2643#include "d2cm_struct.h"
2644#include "d2am_struct.h"
2645#include "d2_struct_tmp.h"
2646#include "d2apn_struct.h"
2647#include "em_ddm_public_struct.h"
2648
2649#include "simmngr_msgid.h"
2650#include "simmngr_struct.h"
2651#include "d2pm_ddm_struct.h"
2652
2653#include "iwlan_msgid.h"
2654#include "atp_iwlan_struct.h"
2655
2656#include "atp_d2rm_struct.h"
2657#include "d2pm_d2rm_struct.h"
2658#include "d2rm_ddm_struct.h"
2659#include "d2rm_iwlan_struct.h"
2660#include "imc_iwlan_struct.h"
2661#include "wipc_iwlan_struct.h"
2662
2663#include "d2ut_struct.h"
2664#include "d2pm_struct.h"
2665#include "d2apn_struct.h"
2666
2667#include "ursp_struct.h"
2668#include "intctrl_user_struct.h"
2669#include "ddm_intctrl_struct.h"
2670
2671#include "wo_msgid.h"
2672
2673#include "eap_common_struct.h"
2674#include "eap_msgid.h"
2675
2676#include "atp_ltecsr_struct.h"
2677#include "sim_dummy_driver.h"
2678
2679#include "l4c_imc_struct.h"
2680#include "l4c_mt_struct.h"
2681
2682#include "atp_l4c_struct.h"
2683#include "atp_smsal_struct.h"
2684#include "atp_sms_struct.h"
2685#include "sdm_sms_struct.h"
2686
2687#ifdef __KPALV_SUPPORT__
2688#include "kpalv_msgid.h"
2689#include "kpalv_struct.h"
2690#endif
2691
2692/* MCF */
2693#include "mcf_struct.h"
2694#include "mcf_enum.h"
2695
2696#ifdef __CDMA2000_RAT__
2697#include "cas_eas_struct.h"
2698#include "evl1shsch.h"
2699#include "rmcsch.h"
2700#include "evl1fhrrm.h"
2701#include "evl1fhhsca.h"
2702#include "evl1fhmain.h"
2703#include "evl1shmain.h"
2704#include "evl1flbrphandler.h"
2705#include "cphevdosch.h"
2706#include "cl1tstl1psif.h"
2707#include "cl1tst_l1ps_msgid.h"
2708#undef register
2709#define register
2710#include "systyp.h"
2711#include "psw_nvram.h"
2712#include "elt_msg_struct.h"
2713#include "cl1_elt_msg_struct.h"
2714#include "elt_msgid.h"
2715#include "l1d_msgid.h"
2716#include "l1d_msg_struct.h"
2717#include "lmd_msg_struct.h"
2718#include "lmd_msgid.h"
2719#include "lmds_msgid.h"
2720#include "psw_msg_struct.h"
2721#include "psw_msgid.h"
2722#include "psws_msg_struct.h"
2723#include "psws_msgid.h"
2724#include "rlp_msg_struct.h"
2725#include "rlp_msgid.h"
2726#include "do_fcp_msg_struct.h"
2727#include "do_fcp_msgid.h"
2728#include "lec_msg_struct.h"
2729#include "lec_msgid.h"
2730#include "do_clc_msg_struct.h"
2731#include "do_clc_msgid.h"
2732#include "do_slc_msg_struct.h"
2733#include "do_slc_msgid.h"
2734#include "do_rmc_msg_struct.h"
2735#include "do_rmc_msgid.h"
2736#include "do_sec_msg_struct.h"
2737#include "do_sec_msgid.h"
2738#include "do_rcp_msg_struct.h"
2739#include "do_rcp_msgid.h"
2740#include "rcp_dhl_trace_enum.h"
2741#include "cpbuf.h"
2742#include "hlp_msgid.h"
2743#include "hlp_msg_struct.h"
2744#include "PPP.H"
2745#include "css_msgid.h"
2746#include "css_msg_struct.h"
2747#include "cssdefs.h"
2748#include "hsc_msgid.h"
2749#include "hsc_msg_struct.h"
2750#include "stub_msgid.h"
2751#include "val_msgid.h"
2752#include "val_msg_struct.h"
2753#include "valpsdm.h"
2754#include "valpdp.h"
2755#include "uim_msgid.h"
2756#include "uim_msg_struct.h"
2757#include "uim_proxy_private_api.h"
2758#include "cuim_private_api.h"
2759#include "valsmsdandcn.h"
2760#include "evl1fhdfs.h"
2761#include "evl1fhinterho.h"
2762#include "l1dsch.h"
2763#include "xl1fhsth.h"
2764#include "xl1shsch.h"
2765#include "xl1shtmglp.h"
2766#include "xl1shrfc.h"
2767#include "lmdapi.h"
2768#include "rmcfmp.h"
2769#include "cphevdoflsrp.h"
2770#include "cl1shrfc.h"
2771#include "cval_ratdm_struct.h"
2772#include "ratdm_chlp_struct.h"
2773#include "cl1rcreq.h"
2774#include "cl1rcseq.h"
2775#include "cl1rcd.h"
2776#include "evl1fhmm.h"
2777#include "evl1fhgm.h"
2778#include "rmcdrcdefs.h"
2779#include "cl1shmmafc.h"
2780#include "evl1shsch.h"
2781#include "hscapi.h"
2782#include "stub_msg_struct.h"
2783#include "tas.h"
2784#include "gmss_cval_struct.h"
2785
2786/* Add C2K EM headers */
2787#include "em_public_struct_evl1.h"
2788#include "em_public_struct_xl1.h"
2789#include "em_public_struct_chsc.h"
2790#include "em_public_struct_evl2.h"
2791#include "em_public_struct_xl2.h"
2792#include "em_public_struct_evl3.h"
2793#include "em_public_struct_xl3.h"
2794#include "em_public_struct_c2k_hlp.h"
2795#include "em_public_struct_cval.h"
2796
2797#include "em_lbs_public_struct.h"
2798#include "em_lpp_public_struct.h"
2799
2800#ifdef __BIP_SUPPORT__
2801#include "bip_msgid.h"
2802#include "bip_if.h"
2803#endif
2804
2805//#include "ssds_imc_struct.h"
2806#include "ssds_l4c_struct.h"
2807
2808#ifdef __XCAP_SUPPORT__
2809#include "xcap_msgid.h"
2810#include "xcap_if.h"
2811#include "atp_xcap_struct.h"
2812#endif
2813
2814#ifdef __DISPATCHER_SUPPORT__
2815#include "dispatcher_msgid.h"
2816#include "ipcore_dispatcher_struct.h"
2817#include "n3epc_dispatcher_struct.h"
2818#endif
2819
2820#ifdef __MD_CRYPTO_SUPPORT__
2821#include "crypto_msgid.h"
2822#include "crypto_struct.h"
2823#endif
2824
2825#undef register
2826#endif /* __CDMA2000_RAT__ */
2827
2828#ifdef __HTTP_TLS_SUPPORT__
2829#include "http_tls_msgid.h"
2830#include "http_if.h"
2831#include "tls_if.h"
2832#endif
2833
2834#ifdef __MD_CERT_SUPPORT__
2835#include "cert_msgid.h"
2836#include "cert_struct.h"
2837#endif
2838
2839#ifdef __SASE_SUPPORT__
2840#include "sase_msgid.h"
2841#include "sase_if.h"
2842#endif
2843
2844#if defined(__FIVEG_NAS__)
2845#include "vgmm_ratdm_struct.h"
2846#include "nas_sv_vgmm_struct.h"
2847#include "vgmm_upcm_struct.h"
2848#include "ddm_vgmm_struct.h"
2849//#include "vgmm_msg_unpack.h"
2850//#include "vgsm_msg_unpack.h"
2851
2852/* UPDS */
2853#include "upds_msgid.h"
2854#include "upds_common.h"
2855#include "upds_context.h"
2856#include "ursp_upds_struct.h"
2857#include "upds_vgmm_struct.h"
2858
2859#endif /* __FIVEG_NAS__ */
2860
2861
2862#if defined (__NR_RAT__)
2863#if defined (__ENDC__)
2864#include "errc_nrrc_struct.h"
2865#endif /*__ENDC__*/
2866#include "rrc_nrrc_struct.h"
2867#include "rr_nrrc_struct.h"
2868#include "upcm_nmac_struct.h"
2869//#include "nmac_enum_struct.h"
2870#include "erm_nrrc_struct.h" /// ERM NRRC SAP
2871#endif /* __NR_RAT__ */
2872
2873#ifdef __PERF_SUPPORT__
2874#include "perf.h" /// protocol exception recovery framework enum for format string
2875#endif // ~ #ifdef __PERF_SUPPORT__
2876#include "perf_api.h" /// protocol exception recovery framework API
2877
2878#ifdef __IPC_ADAPTER__
2879#ifndef __MTK_TARGET__
2880#include "oemdebug.h"
2881#include "oemutility.h"
2882#endif
2883#include "ipc_adapter_public_struct.h"
2884#include "ipc_adapter_public_def.h"
2885#include "ipc_adapter_public_em_struct.h"
2886#include "ipc_adapter_msgid.h"
2887#include "ipc_adapter_cc_struct.h"
2888#include "ipc_adapter_pwr_struct.h"
2889#include "ipc_adapter_sms_struct.h"
2890#include "ipc_adapter_atp_struct.h"
2891#include "ipc_adapter_sat_struct.h"
2892#include "ipc_adapter_phb_struct.h"
2893#include "ipc_adapter_smu_struct.h"
2894#include "ipc_adapter_ss_struct.h"
2895#include "ipc_adapter_imei_struct.h"
2896#include "ipc_adapter_cfg_struct.h"
2897#include "ipc_adapter_embms_struct.h"
2898#include "ipc_adapter_l23_struct.h"
2899#include "ipc_adapter_domestic_struct.h"
2900#include "ipc_adapter_jpn_struct.h"
2901#include "ipca_smu_private_enum.h"
2902#include "ipca_smu_context.h"
2903#include "ipca_embms_context.h"
2904#include "ipca_ctrl_struct.h"
2905#include "ipca_phb_enum.h"
2906#include "ipca_imei_enum.h"
2907#include "ipca_pwr_enum.h"
2908#include "ipca_pwr_context.h"
2909#include "ipca_sms_hdlr.h"
2910#include "ipc_adapter_nw_struct.h"
2911#include "ipc_adapter_dspl_struct.h"
2912#include "ipc_adapter_misc_struct.h"
2913#include "ipca_nw_enum.h"
2914#include "ipca_nw_context.h"
2915#include "ipca_misc_enum.h"
2916#include "ipc_adapter_enum.h"
2917#include "ipc_adapter_gprs_struct.h"
2918#include "ipca_ctrl_context.h"
2919#include "ipca_factory_enum.h"
2920#include "ipc_adapter_factory_struct.h"
2921#include "ipc_adapter_sap_struct.h"
2922#include "ipca_gprs_enum.h"
2923#include "ipca_gprs_context.h"
2924#include "ipca_gprs_ps.h"
2925#include "ipca_gprs_ps_routine_struct.h"
2926#include "ipc_adapter_em_struct.h"
2927#include "ipca_sat_private_struct.h"
2928#include "ipca_sat_private_enum.h"
2929#include "ipca_cc_utility.h"
2930#include "ipc_adapter_srlte_struct.h"
2931#include "ipca_srlte_context.h"
2932#include "ipca_em_struct.h"
2933#include "ipca_jpn_private_struct.h"
2934#include "ipca_jpn_private_defs.h"
2935#include "ipca_domestic_main.h"
2936#include "ipca_sap_enum.h"
2937#include "ipca_sap_context.h"
2938#endif //__IPC_ADAPTER__
2939
2940#ifdef __L5_SUPPORT__
2941#include "l5_msgid.h"
2942#include "l5_structs.h"
2943#include "l5ath_def.h"
2944#include "l5ath_switch_def.h"
2945#include "l5ath_rf_def.h"
2946#include "l5uss_def.h"
2947#include "l5ucat_def.h"
2948#include "l5mipc_sms.h"
2949#include "l5sms_def.h"
2950#include "l5sys_def.h"
2951#include "l5usms_def.h"
2952#include "l5ath_ss_def.h"
2953#include "l5mipc_struct.h"
2954#include "l5updn_def.h"
2955#include "l5_nw_structs.h"
2956#include "l5usim_struct.h"
2957#include "l5_switch_structs.h"
2958#include "l5_common.h"
2959#include "tmc_l5_struct.h"
2960#include "l5ucc_struct.h"
2961#include "l5u_structs.h"
2962#include "l5uims_def.h"
2963#include "l5io_structs.h"
2964#include "l5u_structs.h"
2965#include "ath_cmd.h"
2966#include "nccmni_if.h"
2967#include "idc_l5_str.h"
2968#if ((defined __ECALL_SUPPORT__) || (defined __NG_ECALL_SUPPORT__))
2969#include "l5uecall_def.h"
2970#endif
2971#endif /* __L5_SUPPORT__ */
2972
2973#ifdef __MD_TFWK__
2974#include "tfwk.h"
2975#endif
2976
2977/********************************************* Warning **********************************************
2978* Please make sure header file is included correctly!
2979* If the common header file is added to libParseDbModem_tdd_fdd.c, the context of header file will be preprocessed twice.
2980* The change as above can lead to build time inefficiency.
2981*
2982* common header file => libParseDbModem.c
2983* Tdd/Fdd(2g/3g) header file => libParseDbModem_tdd_fdd.c
2984*
2985* If the header file relate to Tdd/Fdd (2g/3g), please include the header file in libParseDbModem_tdd_fdd.c
2986* If the header file is common header file or is not related to Tdd/Fdd(2g/3g), please add the header file to libParseDbModem.c
2987********************************************** Warning **********************************************/