[Feature]Upload Modem source code

Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/protocol/interface/ims/atp_ddm_struct.h b/mcu/protocol/interface/ims/atp_ddm_struct.h
new file mode 100644
index 0000000..a2050e1
--- /dev/null
+++ b/mcu/protocol/interface/ims/atp_ddm_struct.h
@@ -0,0 +1,993 @@
+/*****************************************************************************
+*  Copyright Statement:
+*  --------------------
+*  This software is protected by Copyright and the information contained
+*  herein is confidential. The software may not be copied and the information
+*  contained herein may not be used or disclosed except with the written
+*  permission of MediaTek Inc. (C) 2012
+*
+*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
+*
+*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+
+/*******************************************************************************
+ * Filename:
+ * ---------
+ *   atp_ddm_struct.h
+ *
+ * Project:
+ * --------
+ *   
+ *
+ * Description:
+ * ------------
+ *
+ *
+ * Author:
+ * -------
+ *  
+ *   
+ *
+ * ==========================================================================
+ * $Log$
+ *
+ * 02 04 2021 you-ren.chen
+ * [MOLY00595427] [FBC][M80][FM350-GL][mipc可以管理所有的APN list,AT也可以管理所有的APN list]
+ * 	
+ * 	14628099
+ * 	1. XGDCONT
+ * 	2. Query CGCONTRDP for activated CID 0 failed.
+ * 	3. No handling CGEQMIN in get_src_id.
+ *
+ * 11 17 2020 you-ren.chen
+ * [MOLY00595872] [MD700.MP] Porting from T700.MP.
+ * 	
+ * 	Build error fix.
+ *
+ * 10 29 2020 vijayan.amalraj
+ * [MOLY00546031] [Cayman][Modem][Fatal error] err_code1:0x0000001D err_code2:0x9027B6F4 err_code3:0x9027B6F4
+ * 	
+ * 	.
+ *
+ * 05 11 2020 you-ren.chen
+ * [MOLY00505574] [C7108][P171031-06272] MD response error QCI value after call is ended
+ * 	
+ * 	Adding messge +ESCONTIND. (MOLY00387552)
+ *
+ * 03 17 2020 you-ren.chen
+ * [MOLY00505574] [C7108][P171031-06272] MD response error QCI value after call is ended
+ * 	
+ * 	[VMOLY.TC10] MOLY00387552
+ *
+ * 02 12 2020 dennis.tsai
+ * [MOLY00499183] [VMOLY][LADN-IT] LADN bugs check-in
+ * 	
+ * 	add ladn feature.
+ *
+ * 12 06 2019 dennis.tsai
+ * [MOLY00463375] [Gen97][VMOLY] LADN feature check-in.
+ * 	
+ * 	add ladn feature.
+ *
+ * 12 06 2019 dennis.tsai
+ * [MOLY00463375] [Gen97][VMOLY] LADN feature check-in.
+ * 	
+ * 	add ladn feature.
+ *
+ * 12 06 2019 dennis.tsai
+ * [MOLY00463375] [Gen97][VMOLY] LADN feature check-in.
+ * add ladn feature.
+ *
+ * 10 07 2019 you-ren.chen
+ * [MOLY00446606] [MT6885][Petrus][MP1][SQC][CTA][NSA][PCT][DT][8.20.00.00][TCID:10.2.2.1]Fail
+ * 	
+ * 	Update present bit.
+ *
+ * 09 23 2019 chang-yen.chih
+ * [MOLY00442502] D2/DDM Gen97 feature
+ * 	
+ * 	D2/DDM large patch back - MPD part
+ *
+ * 05 31 2019 you-ren.chen
+ * [MOLY00410234] [VMOLY] AT+EGPCO
+ * 	
+ * 	[VMOLY] ATP->DDM AT+EGPCO.
+ *
+ * 05 23 2019 you-ren.chen
+ * [MOLY00408491] [VMOLY] C5GQOSRDP
+ * 	
+ * 	[VMOLY] C5GQOSRDP
+ *
+ * 05 21 2019 you-ren.chen
+ * [MOLY00407636] [VMOLY] C5GQOS
+ * 	
+ * 	[VMOLY] C5GQOS
+ *
+ * 11 28 2018 th.cheng
+ * [MOLY00368256] [MT6297][L4][PS]+EPBSEH for 5G
+ * Fix invalid PSI issue
+ * 	
+ * 	.
+ *
+ * 11 28 2018 th.cheng
+ * [MOLY00367472] Fix invalid PSI issue
+ * 	
+ * 	.
+ *
+ * 11 28 2018 th.cheng
+ * [MOLY00367472] Fix fatel error for CGDCONT.
+ *
+ * 07 31 2018 you-ren.chen
+ * [MOLY00343419] [UMOLYE] Auto sync failed fix.
+ * 	
+ * 	[UMOLYE] Sync code fail bug fix
+ *
+ * 07 27 2018 you-ren.chen
+ * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
+ * 	
+ * 	[LR13.R0] LGDCONT change + ACT_DATA_CALL refine
+ *
+ * 07 27 2018 you-ren.chen
+ * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
+ * 	
+ * 	[LR13.R0] LGDCONT change + ACT_DATA_CALL refine
+ *
+ * 07 27 2018 you-ren.chen
+ * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
+ * 	
+ * 	[LR13.R0] LGDCONT change + ACT_DATA_CALL refine
+ *
+ * 07 27 2018 you-ren.chen
+ * [MOLY00340510] [LR12A.R3.TC01.SP] Leading PDP context setting feature. (+LGDCONT)
+ * 	
+ * 	[LR13.R0] LGDCONT change + ACT_DATA_CALL refine
+ *
+ * 03 08 2018 dennis.tsai
+ * [MOLY00310154] [MT6763][Telcel] Implement telcel data retry requirement(interface)
+ * add telcel cc33 data retry interface.
+ *
+ * 12 14 2017 you-ren.chen
+ * [MOLY00295872] [MT6763] BGPCORDP
+ * 	
+ * 	[LR12A.R3] BGPCORDP command with apn index.
+ *
+ * 12 13 2017 you-ren.chen
+ * [MOLY00295872] [MT6763] BGPCORDP
+ * [LR12A.R3] BGPCORDP implement
+ *
+ * 12 01 2017 you-ren.chen
+ * [MOLY00292296] [MT6763][LR12A.R3] CGEREP & CGPIAF set&read mode
+ * 	
+ * 	[LR12A.R3] Auto sync to R3
+ *
+ * 11 29 2017 you-ren.chen
+ * [MOLY00292296] [MT6763][LR12A.R3] CGEREP & CGPIAF set&read mode
+ * 	
+ * 	[LR12A.R3] EGPCORDP
+ *
+ * 11 28 2017 dennis.tsai
+ * [MOLY00280226] [Bianco][MT6763][DDM]implement new feature for LR12A.R3.MP
+ * add vzwapne read mode.
+ *
+ * 07 27 2017 mingchun.cheng
+ * [MOLY00267137] [6293] Data Retry Framework
+ * .
+ *
+ * 07 27 2017 mingchun.cheng
+ * [MOLY00267137] [6293] Data Retry Framework
+ * .
+ *
+ * 06 24 2017 mingchun.cheng
+ * [MOLY00259445] [Bianco] sync code form LR12A.MP1
+ * sync from MP1.
+ * 07 05 2017 mingchun.cheng
+ * define MSG_ID & interface for data retry
+ *
+ * 06 24 2017 mingchun.cheng
+ * [MOLY00259445] [Bianco] sync code form LR12A.MP1
+ * sync from MP1.
+ *
+ * 05 25 2017 you-ren.chen
+ * [MOLY00252893] [BIANCO][MT6763] D2AT
+ * 	
+ * 	7531 UMOLYA TRUNK
+ *
+ * 04 19 2017 chang-yen.chih
+ * [MOLY00243485] [BIANCO][MT6763][RDIT][PHONE][PCT][R&S][16.24][E41][10.7.3]ERROR
+ * 	
+ * 	.
+ *
+ * 04 07 2017 chang-yen.chih
+ * [MOLY00240148] [MT6763] DAST/DDM integration check in
+ *
+ * 04 05 2017 verit.chen
+ * [MOLY00239378] [BIANCO][MT6763][UMOLYA][D2/DDM] M3 check-in
+ * for M3 check-in
+ *
+ * 02 21 2017 mingchun.cheng
+ * [MOLY00228739] [GEN93][M2] for D2/DDM check-in TRUNK
+ * fix ATP build error (lacking of structure definition).
+ *
+ * 11 14 2016 mingchun.cheng
+ * [MOLY00210549] [MT6293] DAST/DDM integration check in
+ * .
+ *
+ * 11 13 2016 mingchun.cheng
+ * [MOLY00210549] [MT6293] DAST/DDM integration check in
+ * rollback
+ *
+ ****************************************************************************/
+
+#ifndef  _ATP_DDM_STRUCT_H
+#define  _ATP_DDM_STRUCT_H
+
+#include "kal_general_types.h"
+#include "kal_public_defs.h"
+#include "atcmd_struct.h"
+#include "pdn_public_defs.h"
+
+#define QOS_DATA_STRING_LEN         256
+
+/*******************************************************************************
+* DDM to ATP IND and ATP to DDM RSP (send AT to PS)                            *
+*******************************************************************************/
+#define ATP_DDM_L4_CMD_IND_LOCAL_PARA_HDR \
+    LOCAL_PARA_HDR \
+    kal_uint32          src_id;
+
+#define ATP_DDM_L4_RSP_IND_LOCAL_PARA_HDR \
+    LOCAL_PARA_HDR \
+    kal_uint32          src_id; \
+    kal_bool            is_success; \
+    kal_uint16          err_cause;
+
+
+//AT+CGATT IND
+typedef struct {
+    ATP_DDM_L4_CMD_IND_LOCAL_PARA_HDR
+
+    atcmd_state_enum state;
+} atp_ddm_l4_cmd_cgatt_ind_struct;
+
+//AT+CGATT RSP
+typedef struct {
+    ATP_DDM_L4_RSP_IND_LOCAL_PARA_HDR
+} atp_ddm_l4_cmd_cgatt_rsp_struct;
+
+/*******************************************************************************
+* ATP to DDM (relay AT command from ATP to DDM)                                *
+*******************************************************************************/
+//MSG_ID_ATP_DDM_EIMSCFG_REQ
+typedef struct {
+    LOCAL_PARA_HDR
+        kal_bool            volte_enable;
+    kal_bool            vilte_enable;
+    kal_bool            vowifi_enable;
+    kal_bool            viwifi_enable;
+    kal_bool            ims_sms_enable;
+    kal_bool            eims_enable;
+} atp_ddm_eimscfg_req_struct;
+typedef struct {
+    LOCAL_PARA_HDR 
+
+    at_cmd_common_header_req_struct cmd;
+} atp_ddm_common_req_struct;
+typedef atp_ddm_common_req_struct d2at_ddm_common_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdcont_req_struct cmd;
+    kal_uint8 psi; 
+} atp_ddm_cgdcont_req_struct;
+typedef atp_ddm_cgdcont_req_struct atp_d2at_cgdcont_req_struct;
+typedef atp_ddm_cgdcont_req_struct d2at_ddm_cgdcont_req_struct;
+typedef atp_ddm_cgdcont_req_struct atp_d2at_xgdcont_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdscont_req_struct cmd; 
+} atp_ddm_cgdscont_req_struct;
+typedef atp_ddm_cgdscont_req_struct atp_d2at_cgdscont_req_struct;
+typedef atp_ddm_cgdscont_req_struct d2at_ddm_cgdscont_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgtft_req_struct cmd; 
+} atp_ddm_cgtft_req_struct;
+typedef atp_ddm_cgtft_req_struct atp_d2at_cgtft_req_struct;
+typedef atp_ddm_cgtft_req_struct d2at_ddm_cgtft_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgqreq_req_struct cmd; 
+} atp_ddm_cgqreq_req_struct;
+typedef atp_ddm_cgqreq_req_struct atp_d2at_cgqreq_req_struct;
+typedef atp_ddm_cgqreq_req_struct d2at_ddm_cgqreq_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgqmin_req_struct cmd; 
+} atp_ddm_cgqmin_req_struct;
+typedef atp_ddm_cgqmin_req_struct atp_d2at_cgqmin_req_struct;
+typedef atp_ddm_cgqmin_req_struct d2at_ddm_cgqmin_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqreq_req_struct cmd; 
+} atp_ddm_cgeqreq_req_struct;
+typedef atp_ddm_cgeqreq_req_struct atp_d2at_cgeqreq_req_struct;
+typedef atp_ddm_cgeqreq_req_struct d2at_ddm_cgeqreq_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqmin_req_struct cmd; 
+} atp_ddm_cgeqmin_req_struct;
+typedef atp_ddm_cgeqmin_req_struct atp_d2at_cgeqmin_req_struct;
+typedef atp_ddm_cgeqmin_req_struct d2at_ddm_cgeqmin_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqneg_req_struct cmd; 
+} atp_ddm_cgeqneg_req_struct;
+typedef atp_ddm_cgeqneg_req_struct atp_d2at_cgeqneg_req_struct;
+typedef atp_ddm_cgeqneg_req_struct d2at_ddm_cgeqneg_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_crladn_req_struct cmd;
+} atp_ddm_crladn_req_struct;
+typedef atp_ddm_crladn_req_struct atp_d2at_crladn_req_struct;
+typedef atp_ddm_crladn_req_struct d2at_ddm_crladn_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_cladn_req_struct cmd;
+} atp_ddm_cladn_req_struct;
+typedef atp_ddm_cladn_req_struct atp_d2at_cladn_req_struct;
+typedef atp_ddm_cladn_req_struct d2at_ddm_cladn_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_escontind_req_struct cmd;
+} atp_ddm_escontind_req_struct;
+typedef atp_ddm_escontind_req_struct atp_d2at_escontind_req_struct;
+typedef atp_ddm_escontind_req_struct d2at_ddm_escontind_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_escontind_ind_struct cmd;
+} atp_ddm_escontind_ind_struct;
+typedef atp_ddm_escontind_ind_struct atp_d2at_escontind_ind_struct;
+typedef atp_ddm_escontind_ind_struct d2at_ddm_escontind_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    kal_uint32  src_id;
+    kal_uint8 ladn_support; 
+} atp_ddm_eladn_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgact_req_struct cmd; 
+} atp_ddm_cgact_req_struct;
+typedef atp_ddm_cgact_req_struct atp_d2at_ddm_cgact_req_struct;
+typedef atp_ddm_cgact_req_struct d2at_ddm_cgact_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgcmod_req_struct cmd; 
+} atp_ddm_cgcmod_req_struct;
+typedef atp_ddm_cgcmod_req_struct atp_d2at_cgcmod_req_struct;
+typedef atp_ddm_cgcmod_req_struct d2at_ddm_cgcmod_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgpaddr_req_struct cmd; 
+} atp_ddm_cgpaddr_req_struct;
+typedef atp_ddm_cgpaddr_req_struct atp_d2at_cgpaddr_req_struct;
+typedef atp_ddm_cgpaddr_req_struct d2at_ddm_cgpaddr_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgauto_req_struct cmd; 
+} atp_ddm_cgauto_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgans_req_struct cmd; 
+} atp_ddm_cgans_req_struct;
+typedef atp_ddm_cgans_req_struct atp_d2at_cgans_req_struct;
+typedef atp_ddm_cgans_req_struct d2at_ddm_cgans_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgerep_req_struct cmd; 
+} atp_ddm_cgerep_req_struct;
+typedef atp_ddm_cgerep_req_struct atp_d2at_cgerep_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgcontrdp_req_struct cmd; 
+} atp_ddm_cgcontrdp_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgscontrdp_req_struct cmd; 
+} atp_ddm_cgscontrdp_req_struct;
+typedef atp_ddm_cgscontrdp_req_struct atp_d2at_cgscontrdp_req_struct;
+typedef atp_ddm_cgscontrdp_req_struct d2at_ddm_cgscontrdp_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgtftrdp_req_struct cmd; 
+} atp_ddm_cgtftrdp_req_struct;
+typedef atp_ddm_cgtftrdp_req_struct atp_d2at_cgtftrdp_req_struct;
+typedef atp_ddm_cgtftrdp_req_struct d2at_ddm_cgtftrdp_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqos_req_struct cmd; 
+} atp_ddm_cgeqos_req_struct;
+typedef atp_ddm_cgeqos_req_struct atp_d2at_cgeqos_req_struct;
+typedef atp_ddm_cgeqos_req_struct d2at_ddm_cgeqos_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqosrdp_req_struct cmd; 
+} atp_ddm_cgeqosrdp_req_struct;
+typedef atp_ddm_cgeqosrdp_req_struct atp_d2at_cgeqosrdp_req_struct;
+typedef atp_ddm_cgeqosrdp_req_struct d2at_ddm_cgeqosrdp_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_c5gqos_req_struct cmd; 
+} atp_ddm_c5gqos_req_struct;
+typedef atp_ddm_c5gqos_req_struct atp_d2at_c5gqos_req_struct;
+typedef atp_ddm_c5gqos_req_struct d2at_ddm_c5gqos_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_c5gqosrdp_req_struct cmd; 
+} atp_ddm_c5gqosrdp_req_struct;
+typedef atp_ddm_c5gqosrdp_req_struct atp_d2at_c5gqosrdp_req_struct;
+typedef atp_ddm_c5gqosrdp_req_struct d2at_ddm_c5gqosrdp_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdel_req_struct cmd; 
+} atp_ddm_cgdel_req_struct;
+typedef atp_ddm_cgdel_req_struct atp_d2at_cgdel_req_struct;
+typedef atp_ddm_cgdel_req_struct d2at_ddm_cgdel_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgauth_req_struct cmd; 
+    kal_uint8 psi;
+} atp_ddm_cgauth_req_struct;
+typedef atp_ddm_cgauth_req_struct atp_d2at_cgauth_req_struct;
+typedef atp_ddm_cgauth_req_struct d2at_ddm_cgauth_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_ecncfg_req_struct cmd; 
+} atp_ddm_ecncfg_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egdcont_req_struct cmd; 
+    kal_uint8 psi;
+} atp_ddm_egdcont_req_struct;
+typedef atp_ddm_egdcont_req_struct atp_d2at_egdcont_req_struct;
+typedef atp_ddm_egdcont_req_struct d2at_ddm_egdcont_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_vzwapnetmr_req_struct cmd; 
+} atp_ddm_vzwapnetmr_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_vzwapne_req_struct cmd; 
+} atp_ddm_vzwapne_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egpau_req_struct cmd; 
+} atp_ddm_egpau_req_struct;
+typedef atp_ddm_egpau_req_struct atp_d2at_egpau_req_struct;
+typedef atp_ddm_egpau_req_struct d2at_ddm_egpau_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egact_req_struct cmd; 
+} atp_ddm_egact_req_struct;
+typedef atp_ddm_egact_req_struct atp_d2at_egact_req_struct;
+typedef atp_ddm_egact_req_struct d2at_ddm_egact_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgsdata_req_struct cmd; 
+} atp_ddm_cgsdata_req_struct;
+typedef atp_ddm_cgsdata_req_struct atp_d2at_cgsdata_req_struct;
+typedef atp_ddm_cgsdata_req_struct d2at_ddm_cgsdata_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_acttest_req_struct cmd; 
+} atp_ddm_acttest_req_struct;
+typedef atp_ddm_acttest_req_struct atp_d2at_acttest_req_struct;
+typedef atp_ddm_acttest_req_struct d2at_ddm_acttest_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_psbearer_req_struct cmd; 
+} atp_ddm_psbearer_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egfb_req_struct cmd; 
+} atp_ddm_egfb_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egdelpf_req_struct cmd; 
+} atp_ddm_egdelpf_req_struct;
+typedef atp_ddm_egdelpf_req_struct atp_d2at_egdelpf_req_struct;
+typedef atp_ddm_egdelpf_req_struct d2at_ddm_egdelpf_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_eglnkpf_req_struct cmd; 
+} atp_ddm_eglnkpf_req_struct;
+typedef atp_ddm_eglnkpf_req_struct atp_d2at_eglnkpf_req_struct;
+typedef atp_ddm_eglnkpf_req_struct d2at_ddm_eglnkpf_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egpcordp_req_struct cmd; 
+    at_token_parse_result_enum  APN_parse_result;
+    kal_char    APN[APN_STRING_LEN];   
+    at_token_parse_result_enum  APN_index_parse_result;
+    kal_bool    APN_index;
+} atp_ddm_egpcordp_req_struct;
+typedef atp_ddm_egpcordp_req_struct atp_d2at_egpcordp_req_struct;
+typedef atp_ddm_egpcordp_req_struct d2at_ddm_egpcordp_req_struct;
+typedef atp_ddm_egpcordp_req_struct atp_d2at_bgpcordp_req_struct;
+
+typedef struct { 
+     LOCAL_PARA_HDR 
+ 
+     at_egpco_req_struct cmd; 
+     kal_uint8 psi;
+} atp_ddm_egpco_req_struct;
+typedef atp_ddm_egpco_req_struct atp_d2at_egpco_req_struct;
+typedef atp_ddm_egpco_req_struct d2at_ddm_egpco_req_struct;
+
+typedef struct {
+    kal_uint32  src_id;
+    atp_cmd_mode_enum   cmd_mode;
+    at_token_parse_result_enum    mode_parse_result;
+    kal_uint8   mode;
+    at_token_parse_result_enum    APN_parse_result;
+    kal_uint8   APN[APN_STRING_LEN];   
+} at_edretry_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_edretry_req_struct cmd;
+} atp_ddm_edretry_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdata_req_struct cmd;
+    network_interface_id_info_struct selected_network_interface_id_info;
+    apn_type_info_struct apn_type_info;
+} atp_ddm_cgdata_req_struct;
+typedef atp_ddm_cgdata_req_struct atp_d2at_cgdata_req_struct;
+typedef atp_ddm_cgdata_req_struct d2at_ddm_cgdata_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_egld_req_struct cmd;
+} atp_ddm_egld_req_struct;
+typedef atp_ddm_egld_req_struct atp_d2at_egld_req_struct;
+typedef atp_ddm_egld_req_struct d2at_ddm_egld_req_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_edallow_req_struct cmd; 
+} atp_ddm_edallow_req_struct;
+
+/*******************************************************************************
+* DDM to ATP(relay AT cnf/ind from DDM to ATP)                                 *
+*******************************************************************************/
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_cmd_cnf_struct cmd;
+} atp_ddm_cmd_cnf_struct;
+typedef atp_ddm_cmd_cnf_struct atp_d2at_cmd_cnf_struct;
+typedef atp_ddm_cmd_cnf_struct d2at_ddm_cmd_cnf_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_cgev_ind_struct cmd; 
+} atp_ddm_cgev_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdcont_ind_struct cmd; 
+} atp_ddm_cgdcont_ind_struct;
+typedef atp_ddm_cgdcont_ind_struct atp_d2at_cgdcont_ind_struct;
+typedef atp_ddm_cgdcont_ind_struct d2at_ddm_cgdcont_ind_struct;
+typedef atp_ddm_cgdcont_ind_struct atp_d2at_xgdcont_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdscont_ind_struct cmd; 
+} atp_ddm_cgdscont_ind_struct;
+typedef atp_ddm_cgdscont_ind_struct atp_d2at_cgdscont_ind_struct;
+typedef atp_ddm_cgdscont_ind_struct d2at_ddm_cgdscont_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgtft_ind_struct cmd; 
+} atp_ddm_cgtft_ind_struct;
+typedef atp_ddm_cgtft_ind_struct atp_d2at_cgtft_ind_struct;
+typedef atp_ddm_cgtft_ind_struct d2at_ddm_cgtft_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgqreq_ind_struct cmd; 
+} atp_ddm_cgqreq_ind_struct;
+typedef atp_ddm_cgqreq_ind_struct atp_d2at_cgqreq_ind_struct;
+typedef atp_ddm_cgqreq_ind_struct d2at_ddm_cgqreq_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgqmin_ind_struct cmd; 
+} atp_ddm_cgqmin_ind_struct;
+typedef atp_ddm_cgqmin_ind_struct atp_d2at_cgqmin_ind_struct;
+typedef atp_ddm_cgqmin_ind_struct d2at_ddm_cgqmin_ind_struct;
+
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqreq_ind_struct cmd; 
+} atp_ddm_cgeqreq_ind_struct;
+typedef atp_ddm_cgeqreq_ind_struct atp_d2at_cgeqreq_ind_struct;
+typedef atp_ddm_cgeqreq_ind_struct d2at_ddm_cgeqreq_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqmin_ind_struct cmd; 
+} atp_ddm_cgeqmin_ind_struct;
+typedef atp_ddm_cgeqmin_ind_struct atp_d2at_cgeqmin_ind_struct;
+typedef atp_ddm_cgeqmin_ind_struct d2at_ddm_cgeqmin_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqneg_ind_struct cmd; 
+} atp_ddm_cgeqneg_ind_struct;
+typedef atp_ddm_cgeqneg_ind_struct atp_d2at_cgeqneg_ind_struct;
+typedef atp_ddm_cgeqneg_ind_struct d2at_ddm_cgeqneg_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgact_ind_struct cmd; 
+} atp_ddm_cgact_ind_struct;
+typedef atp_ddm_cgact_ind_struct atp_d2at_ddm_cgact_ind_struct;
+typedef atp_ddm_cgact_ind_struct d2at_ddm_cgact_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgpaddr_ind_struct cmd; 
+} atp_ddm_cgpaddr_ind_struct;
+typedef atp_ddm_cgpaddr_ind_struct atp_d2at_cgpaddr_ind_struct;
+typedef atp_ddm_cgpaddr_ind_struct d2at_ddm_cgpaddr_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgauto_ind_struct cmd; 
+} atp_ddm_cgauto_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgerep_ind_struct cmd; 
+} atp_ddm_cgerep_ind_struct;
+typedef atp_ddm_cgerep_ind_struct atp_d2at_cgerep_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgcontrdp_ind_struct cmd; 
+} atp_ddm_cgcontrdp_ind_struct;
+typedef atp_ddm_cgcontrdp_ind_struct atp_d2at_ddm_cgcontrdp_ind_struct;
+typedef atp_ddm_cgcontrdp_ind_struct d2at_ddm_cgcontrdp_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgscontrdp_ind_struct cmd; 
+} atp_ddm_cgscontrdp_ind_struct;
+typedef atp_ddm_cgscontrdp_ind_struct atp_d2at_cgscontrdp_ind_struct;
+typedef atp_ddm_cgscontrdp_ind_struct d2at_ddm_cgscontrdp_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgtftrdp_ind_struct cmd; 
+} atp_ddm_cgtftrdp_ind_struct;
+typedef atp_ddm_cgtftrdp_ind_struct atp_d2at_cgtftrdp_ind_struct;
+typedef atp_ddm_cgtftrdp_ind_struct d2at_ddm_cgtftrdp_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqos_ind_struct cmd; 
+} atp_ddm_cgeqos_ind_struct;
+typedef atp_ddm_cgeqos_ind_struct atp_d2at_cgeqos_ind_struct;
+typedef atp_ddm_cgeqos_ind_struct d2at_ddm_cgeqos_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgeqosrdp_ind_struct cmd; 
+} atp_ddm_cgeqosrdp_ind_struct;
+typedef atp_ddm_cgeqosrdp_ind_struct atp_d2at_cgeqosrdp_ind_struct;
+typedef atp_ddm_cgeqosrdp_ind_struct d2at_ddm_cgeqosrdp_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_c5gqos_ind_struct cmd; 
+} atp_ddm_c5gqos_ind_struct;
+typedef atp_ddm_c5gqos_ind_struct atp_d2at_c5gqos_ind_struct;
+typedef atp_ddm_c5gqos_ind_struct d2at_ddm_c5gqos_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_c5gqosrdp_ind_struct cmd; 
+} atp_ddm_c5gqosrdp_ind_struct;
+typedef atp_ddm_c5gqosrdp_ind_struct atp_d2at_c5gqosrdp_ind_struct;
+typedef atp_ddm_c5gqosrdp_ind_struct d2at_ddm_c5gqosrdp_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgdel_ind_struct cmd; 
+} atp_ddm_cgdel_ind_struct;
+typedef atp_ddm_cgdel_ind_struct atp_d2at_cgdel_ind_struct;
+typedef atp_ddm_cgdel_ind_struct d2at_ddm_cgdel_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_cgauth_ind_struct cmd; 
+} atp_ddm_cgauth_ind_struct;
+typedef atp_ddm_cgauth_ind_struct atp_d2at_cgauth_ind_struct;
+typedef atp_ddm_cgauth_ind_struct d2at_ddm_cgauth_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_psbearer_ind_struct cmd; 
+} atp_ddm_psbearer_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egfb_ind_struct cmd; 
+} atp_ddm_egfb_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egdelpf_ind_struct cmd; 
+} atp_ddm_egdelpf_ind_struct;
+typedef atp_ddm_egdelpf_ind_struct atp_d2at_egdelpf_ind_struct;
+typedef atp_ddm_egdelpf_ind_struct d2at_ddm_egdelpf_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_eglnkpf_ind_struct cmd; 
+} atp_ddm_eglnkpf_ind_struct;
+typedef atp_ddm_eglnkpf_ind_struct atp_d2at_eglnkpf_ind_struct;
+typedef atp_ddm_eglnkpf_ind_struct d2at_ddm_eglnkpf_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+
+    at_egpcordp_ind_struct cmd; 
+    kal_uint8   BGPCORDP_flag; 
+} atp_ddm_egpcordp_ind_struct;
+typedef atp_ddm_egpcordp_ind_struct atp_d2at_egpcordp_ind_struct;
+typedef atp_ddm_egpcordp_ind_struct d2at_ddm_egpcordp_ind_struct;
+typedef atp_ddm_egpcordp_ind_struct atp_d2at_bgpcordp_ind_struct;
+
+typedef struct { 
+    LOCAL_PARA_HDR 
+ 
+    at_egpco_ind_struct cmd; 
+} atp_ddm_egpco_ind_struct;
+typedef atp_ddm_egpco_ind_struct atp_d2at_egpco_ind_struct;
+typedef atp_ddm_egpco_ind_struct d2at_ddm_egpco_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_cmd_cnf_struct cmd;
+} atp_ddm_cgdata_cnf_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_egev_ind_struct cmd; 
+} atp_ddm_egev_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_vzwapne_ind_struct cmd; 
+} atp_ddm_vzwapne_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_vzwapnetmr_ind_struct cmd; 
+} atp_ddm_vzwapnetmr_ind_struct;
+#ifdef __TC01__
+//+ETIMER IND
+typedef struct {
+    LOCAL_PARA_HDR
+    at_backoff_timer_ind_struct cmd;
+} atp_ddm_backoff_timer_ind_struct;
+#endif
+//+ENWLIMIT IND
+typedef struct
+{
+    kal_uint32 src_id;
+    kal_uint32 limit_value;
+    kal_uint32 cid;
+} at_nwlimit_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_nwlimit_ind_struct cmd;
+} atp_ddm_nwlimit_ind_struct;
+
+typedef struct
+{
+    kal_uint32                      src_id;
+    atp_cmd_mode_enum               cmd_mode;
+
+    at_token_parse_result_enum      enable_value_parse_result;
+    kal_uint32                      enable_value;
+
+    at_token_parse_result_enum      qos_data_parse_result;
+    kal_uint8                       qos_data[QOS_DATA_STRING_LEN];
+} at_egqos_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_egqos_req_struct cmd;
+} atp_ddm_egqos_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_crladn_ind_struct cmd;
+} atp_ddm_crladn_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_cladn_ind_struct cmd;
+} atp_ddm_cladn_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+
+    at_cladnu_ind_struct cmd;
+} atp_ddm_cladnu_ind_struct;
+#if 0 //should be removed
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+/* under construction !*/
+#endif
+#endif /* _ATP_DDM_STRUCT_H */