[Feature]Upload Modem source code

Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/protocol/interface/l4misc/atp_l4b_struct.h b/mcu/protocol/interface/l4misc/atp_l4b_struct.h
new file mode 100644
index 0000000..d148bcc
--- /dev/null
+++ b/mcu/protocol/interface/l4misc/atp_l4b_struct.h
@@ -0,0 +1,219 @@
+/*****************************************************************************
+*  Copyright Statement:
+*  --------------------
+*  This software is protected by Copyright and the information contained
+*  herein is confidential. The software may not be copied and the information
+*  contained herein may not be used or disclosed except with the written
+*  permission of MediaTek Inc. (C) 2005
+*
+*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
+*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
+*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
+*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
+*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
+*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
+*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
+*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
+*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
+*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
+*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
+*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
+*
+*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
+*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
+*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
+*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
+*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
+*
+*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
+*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
+*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
+*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
+*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
+*
+*****************************************************************************/
+
+/*****************************************************************************
+ *
+ * Filename:
+ * ---------
+ *   l4b_atp_struct.h
+ *
+ * Description:
+ * ------------
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ *============================================================================
+ *             HISTORY
+ * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *------------------------------------------------------------------------------
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ *
+ *
+ *------------------------------------------------------------------------------
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
+ *============================================================================
+ ****************************************************************************/
+
+
+
+#ifndef _L4B_ATP_STRUCT_H
+#define _L4B_ATP_STRUCT_H
+
+#include "kal_general_types.h"
+#include "atp_public_defs.h"
+
+
+/* MSG_ID_ATP_L4B_AT_CMD_REQ */
+typedef struct {
+    LOCAL_PARA_HDR
+    atp_channel_enum ch_id;
+} atp_l4b_at_cmd_req_struct;
+
+/* MSG_ID_ATP_L4B_AT_CMD_CNF */
+typedef struct {
+    LOCAL_PARA_HDR
+        
+    atp_channel_enum ch_id;
+    proxy_cmd_result_enum result;
+    atp_err_id_enum cause;
+    kal_bool stuff;
+} atp_l4b_at_cmd_cnf_struct;
+
+/* MSG_ID_ATP_L4B_AT_URC_IND */
+typedef struct {
+    LOCAL_PARA_HDR    
+    kal_uint8 ch_id;
+    kal_bool stuff;
+} atp_l4b_at_urc_ind_struct; //align to l4b_atci_at_urc_ind_struct
+typedef struct {
+    LOCAL_PARA_HDR    
+    kal_uint8 lock_mode;//0:unlock;1:lock
+    kal_bool attach_type;//0: no attach/detach;1:attach when lcok/detach when unlock
+} atp_l4bnw_sim_lock_req_struct; //align to atp_l4bnw_sim_lock_req_struct
+/* MSG_ID_ATP_L4BNW_SIM_LOCK_CNF */
+typedef struct {
+    LOCAL_PARA_HDR    
+    kal_bool result;
+} atp_l4bnw_sim_lock_cnf_struct; //align to atp_l4bnw_sim_lock_cnf_struct
+
+//MSG_ID_ATP_L4BSBP_AT_CH_LOCK_REQ/ MSG_ID_ATP_L4BSBP_AT_CH_UNLOCK_REQ
+typedef struct 
+{
+    LOCAL_PARA_HDR
+} atp_l4bsbp_at_ch_lock_req_struct, atp_l4bsbp_at_ch_unlock_req_struct, l5io_l4bsbp_at_ch_lock_req_struct, l5io_l4bsbp_at_ch_unlock_req_struct;
+
+//MSG_ID_ATP_L4BSBP_AT_CH_LOCK_CNF/ MSG_ID_ATP_L4BSBP_AT_CH_UNLOCK_CNF
+typedef struct 
+{
+    LOCAL_PARA_HDR
+    kal_bool result;                                // 0: fail, 1: success
+} atp_l4bsbp_at_ch_lock_cnf_struct, atp_l4bsbp_at_ch_unlock_cnf_struct, l5io_l4bsbp_at_ch_lock_cnf_struct, l5io_l4bsbp_at_ch_unlock_cnf_struct;
+
+//MSG_ID_L5IO_L4BSBP_SBP_ID_CHANGE_IND
+typedef struct 
+{
+    LOCAL_PARA_HDR
+    kal_uint32 sbp_id;
+} l5io_l4bsbp_sbp_id_change_ind_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR    
+    atp_channel_enum ch_id;
+    atp_cmd_mode_enum cmd_mode;
+    kal_uint8 fun;
+    kal_uint8 cause;    
+} atp_l4bpwr_efun_req_struct;
+
+typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_efun_cnf_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR    
+    atp_channel_enum ch_id;
+    atp_cmd_mode_enum cmd_mode;
+    kal_uint8 fun;
+    kal_uint8 rst;
+} atp_l4bpwr_cfun_req_struct;
+
+typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_cfun_cnf_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR    
+    atp_channel_enum ch_id;
+} atp_l4bpwr_epof_req_struct;
+
+typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_epof_cnf_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+    atp_channel_enum ch_id;
+} atp_l4bpwr_get_nr_ps_req_struct;
+
+typedef struct {
+    LOCAL_PARA_HDR
+    atp_channel_enum ch_id;
+    kal_uint8        target_nr_ps;         // bitmap for protocols which can connect NR
+} atp_l4bpwr_set_nr_ps_req_struct;
+
+typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_get_nr_ps_cnf_struct;
+typedef atp_l4b_at_cmd_cnf_struct atp_l4bpwr_set_nr_ps_cnf_struct;
+
+#endif /* _L4B_ATP_STRUCT_H */
+
+