[Feature]Upload Modem source code
Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/protocol/interface/l4misc/ddm_l4aps_struct.h b/mcu/protocol/interface/l4misc/ddm_l4aps_struct.h
new file mode 100644
index 0000000..fd06696
--- /dev/null
+++ b/mcu/protocol/interface/l4misc/ddm_l4aps_struct.h
@@ -0,0 +1,318 @@
+/*****************************************************************************
+* 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:
+ * ---------
+ * ddm_l4aps_struct.h
+ *
+ * Project:
+ * --------
+ *
+ *
+ * Description:
+ * ------------
+ *
+ *
+ * Author:
+ * -------
+ *
+ *
+ *
+ ****************************************************************************/
+
+
+#ifndef _DDM_L4APS_STRUCT_H
+#define _DDM_L4APS_STRUCT_H
+
+#include "kal_general_types.h"
+#include "kal_public_defs.h"
+
+#include "ddm_common_struct.h"
+#include "atcmd_struct.h"
+#include "ps_public_enum.h"
+
+#include "ps_public_struct.h"
+#include "mcd_l3_inc_struct.h"
+
+#include "l4aps_l4bpdn_struct.h"
+#include "l4aps_public_enum.h"
+
+#if 1 /* MSG: DDM -> L4APS */
+/*********************************************************************************************************
+ * MSG: DDM -> L4APS: Start *
+ *********************************************************************************************************/
+
+typedef l4aps_l4bpdn_cmd_common_header_req_struct ddm_l4aps_cmd_common_header_req_struct;
+
+typedef l4aps_l4bpdn_nw_applied_cache_data_notify_struct ddm_l4aps_nw_applied_cache_data_notify_struct;
+
+typedef l4aps_l4bpdn_cgdcont_req_struct ddm_l4aps_cgdcont_req_struct;
+
+typedef l4aps_l4bpdn_cgdscont_req_struct ddm_l4aps_cgdscont_req_struct;
+
+typedef l4aps_l4bpdn_cgtft_req_struct ddm_l4aps_cgtft_req_struct;
+
+typedef l4aps_l4bpdn_cgqreq_req_struct ddm_l4aps_cgqreq_req_struct;
+
+typedef l4aps_l4bpdn_cgqmin_req_struct ddm_l4aps_cgqmin_req_struct;
+
+typedef l4aps_l4bpdn_cgeqreq_req_struct ddm_l4aps_cgeqreq_req_struct;
+
+typedef l4aps_l4bpdn_cgeqmin_req_struct ddm_l4aps_cgeqmin_req_struct;
+
+typedef l4aps_l4bpdn_cgeqneg_req_struct ddm_l4aps_cgeqneg_req_struct;
+
+typedef l4aps_l4bpdn_cgact_req_struct ddm_l4aps_cgact_req_struct;
+
+typedef l4aps_l4bpdn_cgcmod_req_struct ddm_l4aps_cgcmod_req_struct;
+
+typedef l4aps_l4bpdn_cgpaddr_req_struct ddm_l4aps_cgpaddr_req_struct;
+
+typedef l4aps_l4bpdn_cgauto_req_struct ddm_l4aps_cgauto_req_struct;
+
+typedef l4aps_l4bpdn_cgans_req_struct ddm_l4aps_cgans_req_struct;
+
+typedef l4aps_l4bpdn_cgerep_req_struct ddm_l4aps_cgerep_req_struct;
+
+typedef l4aps_l4bpdn_cgcontrdp_req_struct ddm_l4aps_cgcontrdp_req_struct;
+
+typedef l4aps_l4bpdn_cgscontrdp_req_struct ddm_l4aps_cgscontrdp_req_struct;
+
+typedef l4aps_l4bpdn_cgtftrdp_req_struct ddm_l4aps_cgtftrdp_req_struct;
+
+typedef l4aps_l4bpdn_cgeqos_req_struct ddm_l4aps_cgeqos_req_struct;
+
+typedef l4aps_l4bpdn_cgeqosrdp_req_struct ddm_l4aps_cgeqosrdp_req_struct;
+
+typedef l4aps_l4bpdn_c5gqos_req_struct ddm_l4aps_c5gqos_req_struct;
+
+typedef l4aps_l4bpdn_c5gqosrdp_req_struct ddm_l4aps_c5gqosrdp_req_struct;
+
+typedef l4aps_l4bpdn_cgdel_req_struct ddm_l4aps_cgdel_req_struct;
+
+typedef l4aps_l4bpdn_cgauth_req_struct ddm_l4aps_cgauth_req_struct;
+
+typedef l4aps_l4bpdn_cladn_req_struct ddm_l4aps_cladn_req_struct;
+
+typedef l4aps_l4bpdn_ecncfg_req_struct ddm_l4aps_ecncfg_req_struct;
+
+typedef l4aps_l4bpdn_egdcont_req_struct ddm_l4aps_egdcont_req_struct;
+
+typedef l4aps_l4bpdn_vzwapnetmr_req_struct ddm_l4aps_vzwapnetmr_req_struct;
+
+typedef l4aps_l4bpdn_vzwapne_req_struct ddm_l4aps_vzwapne_req_struct;
+
+typedef l4aps_l4bpdn_egpau_req_struct ddm_l4aps_egpau_req_struct;
+
+typedef l4aps_l4bpdn_egact_req_struct ddm_l4aps_egact_req_struct;
+
+typedef l4aps_l4bpdn_cgsdata_req_struct ddm_l4aps_cgsdata_req_struct;
+
+typedef l4aps_l4bpdn_acttest_req_struct ddm_l4aps_acttest_req_struct;
+
+typedef l4aps_l4bpdn_psbearer_req_struct ddm_l4aps_psbearer_req_struct;
+
+typedef l4aps_l4bpdn_egfb_req_struct ddm_l4aps_egfb_req_struct;
+
+typedef l4aps_l4bpdn_egdelpf_req_struct ddm_l4aps_egdelpf_req_struct;
+
+typedef l4aps_l4bpdn_eglnkpf_req_struct ddm_l4aps_eglnkpf_req_struct;
+
+typedef l4aps_l4bpdn_egpcordp_req_struct ddm_l4aps_egpcordp_req_struct;
+
+typedef l4aps_l4bpdn_egpco_req_struct ddm_l4aps_egpco_req_struct;
+
+typedef l4aps_l4bpdn_cgdata_req_struct ddm_l4aps_cgdata_req_struct;
+
+typedef l4aps_l4bpdn_egld_req_struct ddm_l4aps_egld_req_struct;
+
+typedef l4aps_l4bpdn_edallow_req_struct ddm_l4aps_edallow_req_struct;
+
+typedef l4aps_l4bpdn_lte_attach_pdn_define_needed_rsp_struct ddm_l4aps_lte_attach_pdn_define_needed_rsp_struct;
+
+typedef l4aps_l4bpdn_set_default_sim_ind_struct ddm_l4aps_set_default_sim_ind_struct;
+
+typedef l4aps_l4bpdn_set_eimsroam_config_value_req_struct ddm_l4aps_set_eimsroam_config_value_req_struct;
+
+typedef l4aps_l4bpdn_cmd_not_yet_support_req_struct ddm_l4aps_cmd_not_yet_support_req_struct;
+
+typedef l4aps_l4bpdn_eapnsync_req_struct ddm_l4aps_eapnsync_req_struct;
+
+typedef l4aps_l4bpdn_evzwapfcia_req_struct ddm_l4aps_evzwapfcia_req_struct;
+
+typedef l4aps_l4bpdn_eggrntrspt_req_struct ddm_l4aps_eggrntrspt_req_struct;
+
+typedef l4aps_l4bpdn_egpcap_req_struct ddm_l4aps_egpcap_req_struct;
+
+typedef l4aps_l4bpdn_notify_pdn_type_req_struct ddm_l4aps_notify_pdn_type_req_struct;
+
+typedef l4aps_l4bpdn_escontind_ind_struct ddm_l4aps_escontind_ind_struct;
+
+typedef l4aps_l4bpdn_escontind_req_struct ddm_l4aps_escontind_req_struct;
+
+typedef ia_apn_change_req_struct ddm_l4aps_ia_apn_change_req_struct;
+
+typedef struct {
+ LOCAL_PARA_HDR
+
+ kal_uint8 ap_cid;
+ kal_uint8 d2_cid;
+} ddm_l4aps_update_cid_mapping_req_struct;
+
+/*********************************************************************************************************
+ * MSG: DDM -> L4APS: End *
+ *********************************************************************************************************/
+#endif
+
+#if 1 /* MSG: L4APS -> DDM */
+/*********************************************************************************************************
+ * MSG: L4APS -> DDM: Start *
+ *********************************************************************************************************/
+/* A general purpose AT-CMD confirm message */
+
+typedef struct {
+ LOCAL_PARA_HDR
+
+ at_cmd_cnf_struct cmd;
+
+ /* In the above field (cmd),
+ * if cmd.is_success == KAL_FALSE, the cmd.err_cause is a converted cause according to 27.007.
+ * The below original_cause is an "unconverted" counterpart for reference. */
+ kal_bool is_original_cause_from_3gpp_present; /* True: If (cmd.is_success == KAL_FALSE) AND (is from 3GPP MD) */
+ ps_cause_enum original_cause_from_3gpp; /* Valid if is_original_cause_from_3gpp_present == KAL_TRUE */
+
+ l4aps_retry_type_enum retry_type;
+} ddm_l4aps_cmd_cnf_struct;
+
+
+typedef l4aps_l4bpdn_cgev_ind_struct ddm_l4aps_cgev_ind_struct;
+
+typedef l4aps_l4bpdn_cgdcont_ind_struct ddm_l4aps_cgdcont_ind_struct;
+
+typedef l4aps_l4bpdn_cgdscont_ind_struct ddm_l4aps_cgdscont_ind_struct;
+
+typedef l4aps_l4bpdn_cgtft_ind_struct ddm_l4aps_cgtft_ind_struct;
+
+typedef l4aps_l4bpdn_cgqreq_ind_struct ddm_l4aps_cgqreq_ind_struct;
+
+typedef l4aps_l4bpdn_cgqmin_ind_struct ddm_l4aps_cgqmin_ind_struct;
+
+typedef l4aps_l4bpdn_cgeqreq_ind_struct ddm_l4aps_cgeqreq_ind_struct;
+
+typedef l4aps_l4bpdn_cgeqmin_ind_struct ddm_l4aps_cgeqmin_ind_struct;
+
+typedef l4aps_l4bpdn_cgeqneg_ind_struct ddm_l4aps_cgeqneg_ind_struct;
+
+typedef l4aps_l4bpdn_cgact_ind_struct ddm_l4aps_cgact_ind_struct;
+
+typedef l4aps_l4bpdn_cgpaddr_ind_struct ddm_l4aps_cgpaddr_ind_struct;
+
+typedef l4aps_l4bpdn_cgauto_ind_struct ddm_l4aps_cgauto_ind_struct;
+
+typedef l4aps_l4bpdn_cgerep_ind_struct ddm_l4aps_cgerep_ind_struct;
+
+typedef l4aps_l4bpdn_cgcontrdp_ind_struct ddm_l4aps_cgcontrdp_ind_struct;
+
+typedef l4aps_l4bpdn_cgscontrdp_ind_struct ddm_l4aps_cgscontrdp_ind_struct;
+
+typedef l4aps_l4bpdn_cgtftrdp_ind_struct ddm_l4aps_cgtftrdp_ind_struct;
+
+typedef l4aps_l4bpdn_cgeqos_ind_struct ddm_l4aps_cgeqos_ind_struct;
+
+typedef l4aps_l4bpdn_cgeqosrdp_ind_struct ddm_l4aps_cgeqosrdp_ind_struct;
+
+typedef l4aps_l4bpdn_c5gqos_ind_struct ddm_l4aps_c5gqos_ind_struct;
+
+typedef l4aps_l4bpdn_c5gqosrdp_ind_struct ddm_l4aps_c5gqosrdp_ind_struct;
+
+typedef l4aps_l4bpdn_cgdel_ind_struct ddm_l4aps_cgdel_ind_struct;
+
+typedef l4aps_l4bpdn_cgauth_ind_struct ddm_l4aps_cgauth_ind_struct;
+
+typedef l4aps_l4bpdn_cladn_ind_struct ddm_l4aps_cladn_ind_struct;
+
+typedef l4aps_l4bpdn_cladnu_ind_struct ddm_l4aps_cladnu_ind_struct;
+
+typedef l4aps_l4bpdn_psbearer_ind_struct ddm_l4aps_psbearer_ind_struct;
+
+typedef l4aps_l4bpdn_egfb_ind_struct ddm_l4aps_egfb_ind_struct;
+
+typedef l4aps_l4bpdn_egdelpf_ind_struct ddm_l4aps_egdelpf_ind_struct;
+
+typedef l4aps_l4bpdn_eglnkpf_ind_struct ddm_l4aps_eglnkpf_ind_struct;
+
+typedef l4aps_l4bpdn_egpcordp_ind_struct ddm_l4aps_egpcordp_ind_struct;
+
+typedef l4aps_l4bpdn_egpco_ind_struct ddm_l4aps_egpco_ind_struct;
+
+typedef l4aps_l4bpdn_cgdata_cnf_struct ddm_l4aps_cgdata_cnf_struct;
+
+typedef l4aps_l4bpdn_egld_cnf_struct ddm_l4aps_egld_cnf_struct;
+
+typedef l4aps_l4bpdn_egev_ind_struct ddm_l4aps_egev_ind_struct;
+
+typedef l4aps_l4bpdn_lte_attach_needed_ind_struct ddm_l4aps_lte_attach_needed_ind_struct;
+
+typedef l4aps_l4bpdn_lte_attach_pdn_define_needed_ind_struct ddm_l4aps_lte_attach_pdn_define_needed_ind_struct;
+
+typedef l4aps_l4bpdn_lte_attach_pdn_activate_success_ind_struct ddm_l4aps_lte_attach_pdn_activate_success_ind_struct;
+
+typedef l4aps_l4bpdn_lte_attach_pdn_activate_failure_ind_struct ddm_l4aps_lte_attach_pdn_activate_failure_ind_struct;
+
+typedef l4aps_l4bpdn_vzwapne_ind_struct ddm_l4aps_vzwapne_ind_struct;
+
+typedef l4aps_l4bpdn_vzwapnetmr_ind_struct ddm_l4aps_vzwapnetmr_ind_struct;
+
+typedef l4aps_l4bpdn_pdn_modify_ind_struct ddm_l4aps_pdn_modify_ind_struct;
+
+typedef l4aps_l4bpdn_eapnsync_ind_struct ddm_l4aps_eapnsync_ind_struct;
+
+typedef l4aps_l4bpdn_evzwapfcia_ind_struct ddm_l4aps_evzwapfcia_ind_struct;
+
+typedef l4aps_l4bpdn_eggrntrspt_ind_struct ddm_l4aps_eggrntrspt_ind_struct;
+
+typedef l4aps_l4bpdn_egpcap_test_mode_ind_struct ddm_l4aps_egpcap_test_mode_ind_struct;
+
+typedef l4aps_l4bpdn_backoff_timer_status_ind_struct ddm_l4aps_backoff_timer_status_ind_struct;
+
+typedef l4aps_tcm_update_cid_mapping_cnf_struct ddm_l4aps_update_cid_mapping_cnf_struct;
+
+/*********************************************************************************************************
+ * MSG: L4APS -> DDM: End *
+ *********************************************************************************************************/
+#endif
+
+#endif /* _DDM_L4APS_STRUCT_H */