[Feature]Upload Modem source code

Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/protocol/interface/ims/d2_struct_tmp.h b/mcu/protocol/interface/ims/d2_struct_tmp.h
new file mode 100644
index 0000000..a378d6d
--- /dev/null
+++ b/mcu/protocol/interface/ims/d2_struct_tmp.h
@@ -0,0 +1,105 @@
+#ifndef __D2_STRUCT_TMP__
+#define __D2_STRUCT_TMP__
+
+#include "d2cm_struct.h"
+
+#include "d2_d2rm_struct.h"
+
+
+typedef d2cm_get_pdn_profile_req_struct d2_get_pdn_profile_req_struct;
+typedef d2cm_get_pdn_profile_ind_struct d2_get_pdn_profile_ind_struct;
+typedef d2cm_get_pdn_profile_cnf_struct d2_get_pdn_profile_cnf_struct;
+
+typedef d2cm_get_pdn_profile_req_struct d2_get_pdn_profile_req_struct;
+
+
+#define D2_REQ_LOCAL_PARA_HDR \
+    LOCAL_PARA_HDR \
+    kal_uint32          src_id; \
+    kal_uint32          cmd_mode;
+
+#define D2_CNF_LOCAL_PARA_HDR \
+    LOCAL_PARA_HDR \
+    kal_uint32          src_id; \
+    kal_bool            is_success; \
+    kal_uint16          err_cause;
+
+#define D2_IND_LOCAL_PARA_HDR    \
+    LOCAL_PARA_HDR \
+    kal_uint16 src_id;
+
+typedef struct {
+    D2_REQ_LOCAL_PARA_HDR
+    kal_uint32          interface_id;
+} d2_get_ip_info_req_struct;
+
+typedef struct {
+    D2_CNF_LOCAL_PARA_HDR
+    new_ip_info_struct ip_info;
+} d2_get_ip_info_cnf_struct;
+
+typedef struct {
+    D2_CNF_LOCAL_PARA_HDR
+    kal_bool            is_up;
+} d2_is_interface_up_cnf_struct;
+
+typedef struct{
+    LOCAL_PARA_HDR 
+    kal_uint32          src_id; 
+    kal_bool            status; 
+}d2_set_profile_status_req_struct;
+
+// MSG_ID_D2_GET_IF_ID_REQ
+typedef struct {
+    D2_REQ_LOCAL_PARA_HDR
+
+    kal_bool apn_present;
+    kal_char apn[APN_STRING_LEN];
+} d2_get_if_id_req_struct;
+
+// MSG_ID_D2_GET_IF_ID_CNF
+typedef struct {
+    D2_CNF_LOCAL_PARA_HDR
+
+    kal_uint32 interface_id;
+} d2_get_if_id_cnf_struct;
+
+typedef struct
+{
+    LOCAL_PARA_HDR
+    
+    kal_bool                                reset_gprs_apn;
+
+} d2at_ipca_reset_iaapn_req_struct;
+
+typedef struct 
+{
+    LOCAL_PARA_HDR
+
+    kal_uint32 src_id;
+    kal_uint8 sim_id;
+    kal_uint8 apn[APN_STRING_LEN];
+    kal_uint8 iccid[24]; // it's 20, just prevent over-boundary
+    kal_int32 apn_idx; // apn index in apn setting table
+    kal_uint8 pdp_type[PDP_TYPE_STRING_LEN]; // string type
+    kal_uint8 roaming_pdp_type[PDP_TYPE_STRING_LEN]; // string type
+    atcmd_auth_prot_enum auth_prot;
+    kal_uint8 userid[USERID_STRING_LEN];
+    kal_uint8 password[PASSWORD_STRING_LEN];
+
+    kal_bool is_pco_present;           /* PCO parameters */
+    kal_uint8 IE_count;                /* PCO IE count */
+    egpco_ie_struct IE[MAX_IE_COUNT];  /* PCO IE */
+
+} l5updn_d2am_set_ia_apn_req_struct;
+
+typedef struct 
+{
+    LOCAL_PARA_HDR
+
+    kal_uint32 src_id;
+    kal_bool is_success;
+    kal_uint16 err_cause;
+} l5updn_d2am_set_ia_apn_cnf_struct;
+
+#endif