[Feature][T8TSK-212][Modem]Update MTK modem version to MOLY.NR15.R3.MD700.MP.V75.P10.L805A.L1.240604.20240618

MTK modem version: MOLY01321298_AUTO00301652(For_MOBILETEK35_IVT_T800_MOLY.NR15.R3.MD700.MP.V75.P10).tar.gz
RF  modem version: L805A/l1_240604.rar

Change-Id: Iec1399f8bd9f11d5129368e5daedf82a0305f362
diff --git a/mcu/protocol/interface/ddm/d2_netif_struct.h b/mcu/protocol/interface/ddm/d2_netif_struct.h
old mode 100755
new mode 100644
index 1474046..560eaa7
--- a/mcu/protocol/interface/ddm/d2_netif_struct.h
+++ b/mcu/protocol/interface/ddm/d2_netif_struct.h
@@ -175,6 +175,15 @@
     } param;
 } d2_netif_api_dump_ind_struct;
 
+// MSG_ID_D2_L5UPDN_REL_CONFLICT_IF_IND
+typedef struct
+{
+    LOCAL_PARA_HDR 
+    kal_uint32                              src_id;
+    kal_bool                                apn_present;
+    kal_char                                apn[APN_STRING_LEN];
+} d2_l5updn_rel_conflict_if_ind_struct;
+
 
 /**
  * @brief Callback function type "d2_netif_interface_cb"
diff --git a/mcu/protocol/interface/ims/imcb_imc_struct.h b/mcu/protocol/interface/ims/imcb_imc_struct.h
index 7cc3f5f..9c3aa83 100644
--- a/mcu/protocol/interface/ims/imcb_imc_struct.h
+++ b/mcu/protocol/interface/ims/imcb_imc_struct.h
@@ -204,6 +204,7 @@
     IMCB_IMC_CALL_CAUSE_NO_RETRY_BAR_IMS,
 	IMCB_IMC_CALL_CAUSE_BEREJECT_380_FLIGHTMODE_CS,
     IMCB_IMC_CALL_CAUSE_NO_RETRY_EMERGENCY,
+    IMCB_IMC_CALL_CAUSE_NOT_ENTER_ECBM,
     IMCB_IMC_CALL_CAUSE_UA_MAX,
     IMCB_IMC_CALL_CAUSE_AVAIABLE_OF_CALLS,
     IMCB_IMC_CALL_CAUSE_EMERG_REG_TIMEOUT, /* AT&T <CDR-LTE-2424>, CS domain search after emerg-reg-timer expires */
@@ -637,6 +638,7 @@
     IMCB_IMC_OPERATOR_FIRSTNET      = 0xC4, //196
     IMCB_IMC_OPERATOR_TPG           = 0xDD, //221
     IMCB_IMC_OPERATOR_CBN           = 0x0184, //388 
+    IMCB_IMC_OPERATOR_CUBIC         = 0x01BB, //443
     
     /* For Any IODT Activities */
     IMCB_IMC_OPERATOR_ERICSSON_IMS_IWLAN = 0x03E9, //1001
diff --git a/mcu/protocol/interface/ims/imcb_imsua_struct.h b/mcu/protocol/interface/ims/imcb_imsua_struct.h
old mode 100755
new mode 100644
index 1090191..f915273
--- a/mcu/protocol/interface/ims/imcb_imsua_struct.h
+++ b/mcu/protocol/interface/ims/imcb_imsua_struct.h
@@ -358,6 +358,7 @@
     VoLTE_Event_Call_Cause_No_Retry_Bar_IMS,            /*Huawei's requirement, bar IMS for some specific scenarios, then VDM will only try CS during a time period*/
     VoLTE_Event_Call_Cause_BeReject_380_FlightMode_CS,  /* For Claro requirement , UI should pop-up message when receive 380 alternative service during FlightMode, mapping to CS SERVICE_NOT_AVAILABLE = 380. Other behavior is same as Bereject_380 (cause = 7)*/
     VoLTE_Event_Call_Cause_No_Retry_emergency,     /* For KDDI requirement, MD don't retry IMS/CS when UA receive error code, AP may customize to choice another sim card to retry */
+    VoLTE_Event_Call_Cause_Not_Enter_Ecbm,              /*for vzw ,not enter ecbm when call end*/ 
     /*add here*/
     VoLTE_Event_Call_Cause_Max,
 } VoLTE_Event_Call_stop_cause_e;
diff --git a/mcu/protocol/interface/ims/ims_common_def.h b/mcu/protocol/interface/ims/ims_common_def.h
index 1b75933..84bc76b 100644
--- a/mcu/protocol/interface/ims/ims_common_def.h
+++ b/mcu/protocol/interface/ims/ims_common_def.h
@@ -3286,6 +3286,7 @@
     kal_uint8                       add_timezone_to_pani;
     kal_uint8                       add_pani_in_ack;
     kal_uint8                       add_pani_in_cancel;
+    kal_uint8                       force_add_country_code;   //some operators force to add country to pani header ,vzw
     
 } VoLTE_Event_UA_Stack_PANI_Info_t;
 
@@ -3380,6 +3381,7 @@
     IMS_CC_CAUSE_NO_RETRY_BAR_IMS,  /*Huawei's requirement, bar IMS for some specific scenarios, then VDM will only try CS during a time period*/
     IMS_CC_CAUSE_BEREJECT_380_FLIGHTMODE_CS, /* For Claro requirement , UI should pop-up message when receive 380 alternative service during FlightMode, mapping to CS SERVICE_NOT_AVAILABLE = 380. Other behavior is same as Bereject_380 (cause = 7)*/
     IMS_CC_CAUSE_NO_RETRY_EMERGENCY, /* For KDDI requirement, MD don't retry IMS/CS when UA receive error code, AP may customize to choice another sim card to retry */
+    IMS_CC_CAUSE_NOT_ENTER_ECBM, /*For vzw ,when emc call end ,not enter ECBM*/
     IMS_CC_CAUSE_UA_MAX,
 
     // Source: IMC
@@ -3540,7 +3542,8 @@
     IMS_EXT_ERROR_REPORT_DIAL_1XRTT_DIRECTLY            = 2002,
     IMS_EXT_ERROR_REPORT_NEED_GLOBAL_MODE_FOR_EMERG     = 2003,
     IMS_EXT_ERROR_REPORT_SSAC_BAR                       = 2004,
-    IMS_EXT_ERROR_REPORT_RTT_EMC_FAIL                   = 2005
+    IMS_EXT_ERROR_REPORT_RTT_EMC_FAIL                   = 2005,
+	IMS_EXT_ERROR_REPORT_DO_NOT_ENTER_ECBM              = 2006
 } ims_ext_error_report_enum;
 
 /* Deprecated: do not use after IMS interface 0x55 taken in use */
@@ -3882,6 +3885,7 @@
     CALL_CS_SERVICE_NOTIFY_RSP_TIMER,       /////For Airtel, during ongoing IMS call, handles CS service response delay timer
     CALL_INVITE_NO_RSP_RAN_PRIO_REQ_TIMER,  ///<Timer for waiting INVITE response in WiFi call and trigger MSG_ID_IMC_IWLAN_REG_RAN_PRIO_UPDATE_REQ to IWLAN to trigger possible HO to LTE..>
     CALL_SENDING_DELAY_TIMER,               ///< Timer to delay the sending of ILMs.
+	CALL_MO_SDP_ANS_TIMER,					///<Timer for waiting SDP answer after initial SDP offer was send in MO Call
 } ims_call_timer_type_enum;
 
 typedef enum {
diff --git a/mcu/protocol/interface/ims/ims_stack_struct.h b/mcu/protocol/interface/ims/ims_stack_struct.h
old mode 100755
new mode 100644
index dc284e9..94e32f3
--- a/mcu/protocol/interface/ims/ims_stack_struct.h
+++ b/mcu/protocol/interface/ims/ims_stack_struct.h
@@ -787,7 +787,8 @@
     char                            stop_err_resp_retx_when_not_needed;
 
     unsigned int                    ignore_missing_sip_headers;
-
+    unsigned int                    tcp_retransmit_count;
+    unsigned int                    tcp_retransmit_interval;
     char                            ignore_remote_ip_filter;
 } VoLTE_Stack_Ua_Info_t;
 
@@ -1315,6 +1316,8 @@
     char                icd_decrypt_dump;
     char                stop_err_resp_retx_when_not_needed;
     unsigned int        ignore_missing_sip_headers;
+    unsigned int        tcp_retransmit_count;
+    unsigned int        tcp_retransmit_interval;
     char                ignore_remote_ip_filter;
 } siptx_req_create_conn_struct;
 
diff --git a/mcu/protocol/interface/l4misc/l4c_em.h b/mcu/protocol/interface/l4misc/l4c_em.h
old mode 100755
new mode 100644
index bc12866..96d21a4
--- a/mcu/protocol/interface/l4misc/l4c_em.h
+++ b/mcu/protocol/interface/l4misc/l4c_em.h
@@ -23,7 +23,7 @@
 *  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. 
+*  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
@@ -51,20 +51,20 @@
  *
  *==============================================================================
  *             HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
+ * 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!
@@ -73,20 +73,20 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  * removed!
  * removed!
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
@@ -95,13 +95,13 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  * removed!
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
@@ -110,67 +110,67 @@
  *
  * 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!
+ *
  * removed!
  * removed!
+ *
  * removed!
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
@@ -194,12 +194,12 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
@@ -212,12 +212,12 @@
  *
  * removed!
  * removed!
- * removed!
- * removed!
  *
  * removed!
+ *
  * removed!
  * removed!
+ *
  * removed!
  *
  * removed!
@@ -230,12 +230,12 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
  * removed!
- * removed!
+ *
  * removed!
  *
  * removed!
@@ -243,9 +243,9 @@
  *
  * removed!
  * removed!
- * removed!
- * removed!
+ *
  * removed!
+ *
  * removed!
  *
  * removed!
@@ -334,7 +334,7 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  * removed!
  * removed!
@@ -346,23 +346,23 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  * removed!
  * removed!
@@ -370,10 +370,10 @@
  *
  * removed!
  * removed!
- * removed!
+ *
  *
  *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
+ * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
  *==============================================================================
  *******************************************************************************/
 
@@ -473,7 +473,7 @@
 #if defined(__MODEM_EM_MODE__)
 #if defined(__CHANNEL_LOCK__)
 void l4c_emmchlck_read(kal_uint8 src_id);
-void l4c_emmchlck_write(kal_uint8 src_id, kal_uint8 mode, kal_uint8 act, 
+void l4c_emmchlck_write(kal_uint8 src_id, kal_uint8 mode, kal_uint8 act,
     kal_uint16 *band_indicator_ptr, kal_uint32 *arfcn_ptr, kal_uint16 cell_id,kal_uint8 channel_num,kal_uint8 lock_mode, kal_uint8 is_user_scenario);
 #endif /* __CHANNEL_LOCK__ */
 #endif /* __MODEM_EM_MODE__ */
@@ -526,9 +526,9 @@
 extern void l4c_rx_rssi_verify_ind_hdlr(msg_type msg_id,local_para_struct *local_para_ptr);
 extern void l4c_em_tx_report_ind_hdlr(msg_type msg_id,local_para_struct *local_para_ptr);
 
-extern kal_bool l4c_set_rf_temperature_threshold_req(kal_uint8 src_id, 
-                                                     kal_bool on, 
-                                                     kal_int16 threshold, 
+extern kal_bool l4c_set_rf_temperature_threshold_req(kal_uint8 src_id,
+                                                     kal_bool on,
+                                                     kal_int16 threshold,
                                                      kal_int16 period);
 extern void l4c_set_rf_temperature_threshold_cnf_hdlr(msg_type msg_id, local_para_struct *local_para_ptr);
 extern void l4c_set_rf_temperature_threshold_ind_hdlr(msg_type msg_id, local_para_struct *local_para_ptr);
@@ -544,11 +544,11 @@
 extern void l4c_c2k_rf_test_cnf_hdlr(local_para_struct *local_para_ptr);
 
 extern kal_bool l4c_em_mmrf_mipi_action_req(kal_uint8 src_id,
-                                        kal_uint8 action, 
-                                        kal_uint8 port, 
-                                        kal_uint8 rw_type, 
-                                        kal_uint8 usid, 
-                                        kal_uint16 addr, 
+                                        kal_uint8 action,
+                                        kal_uint8 port,
+                                        kal_uint8 rw_type,
+                                        kal_uint8 usid,
+                                        kal_uint16 addr,
                                         kal_uint32 wr_data);
 
 extern kal_bool l4c_em_mmrf_bpi_action_req(kal_uint8 src_id, kal_uint8 action, kal_uint32 data1, kal_uint32 data2);
@@ -568,7 +568,7 @@
 extern void l4c_em_rf_test_gsm_tx_test_ind_hdlr(local_para_struct *local_para_ptr);
 
 extern void l4c_em_erftx_gsm_rsp(kal_uint8 src_id, ps_cause_enum error_cause);
-#endif 
+#endif
 
 
 extern kal_bool l4c_set_max_tx_power_req_hdlr(kal_uint8 src_id, kal_uint8 rat, kal_uint16 offset, kal_uint8 gsm_band);
@@ -600,20 +600,20 @@
 
 extern void l4c_mcf_update_ota_file_cnf_hdlr(local_para_struct *local_para_ptr);
 extern void l4c_mcf_config_cnf_hdlr(local_para_struct *local_para_ptr);
-extern kal_bool l4c_mcf_config_lid_variable_op_req_hdlr(kal_uint8 src_id, kal_uint8 op,kal_uint8 action, kal_uint16 lid_num, 
+extern kal_bool l4c_mcf_config_lid_variable_op_req_hdlr(kal_uint8 src_id, kal_uint8 op,kal_uint8 action, kal_uint16 lid_num,
                                                        kal_uint16 record_id, kal_uint8 *tag_name, kal_uint8 length);
 extern void l4c_mcf_config_lid_variable_op_cnf_hdlr(local_para_struct *local_para_ptr);
 
 #ifdef __MCF_COMBINE_FILE_SUPPORT__
-extern kal_bool l4c_mcf_variable_value_operation_req_hdlr(kal_uint8 src_id, kal_uint8 op, kal_uint8 format, kal_uint8 action, kal_uint32 number, 
+extern kal_bool l4c_mcf_variable_value_operation_req_hdlr(kal_uint8 src_id, kal_uint8 op, kal_uint8 format, kal_uint8 action, kal_uint32 number,
                                                        kal_uint8 *config, kal_uint8 length, kal_uint16 record_id, kal_uint8 *value);
 
-extern kal_bool l4c_mcf_assign_combined_file_path_req_hdlr(kal_uint8 src_id, kal_uint8 op, kal_uint8 config_type, 
+extern kal_bool l4c_mcf_assign_combined_file_path_req_hdlr(kal_uint8 src_id, kal_uint8 op, kal_uint8 config_type,
                                                             kal_uint8 path_type, kal_uint8 *config1);
 extern void l4c_mcf_assign_combined_file_path_cnf_hdlr(local_para_struct *local_para_ptr);
 
 #else
-extern kal_bool l4c_mcf_variable_value_operation_req_hdlr(kal_uint8 src_id, kal_uint8 op, kal_uint8 format, kal_uint8 action, kal_uint32 number, 
+extern kal_bool l4c_mcf_variable_value_operation_req_hdlr(kal_uint8 src_id, kal_uint8 op, kal_uint8 format, kal_uint8 action, kal_uint32 number,
                                                        kal_uint8 *config, kal_uint8 length, kal_uint16 record_id);
 
 #endif /* __MCF_COMBINE_FILE_SUPPORT__ */
@@ -672,6 +672,6 @@
 void l4c_get_exclusive_max_tx_power_cnf_hdlr(msg_type msg_id, local_para_struct *local_para_ptr);
 #endif
 
-
-#endif /* _L4C_EM_H */ 
+extern void l4c_em_rx_verify_cnf_hdlr(local_para_struct *local_para_ptr);
+#endif /* _L4C_EM_H */
 
diff --git a/mcu/protocol/interface/l4misc/l4c_utility.h b/mcu/protocol/interface/l4misc/l4c_utility.h
old mode 100755
new mode 100644
index 26b06d5..5aa1787
--- a/mcu/protocol/interface/l4misc/l4c_utility.h
+++ b/mcu/protocol/interface/l4misc/l4c_utility.h
@@ -875,8 +875,8 @@
 
 extern void l4c_find_sms_da_for_mo_sms(peer_buff_struct *peer_buff_ptr, kal_uint8 *length, kal_uint8 *type_of_address, kal_uint8 *da_info);
 
-extern kal_bool l4c_find_sms_category_for_mt_sms(peer_buff_struct *peer_buff_ptr);
-extern kal_bool l4c_find_sms_category_for_mo_sms(peer_buff_struct *peer_buff_ptr);
+extern kal_bool l4c_find_sms_category_for_mt_sms(peer_buff_struct *peer_buff_ptr,protocol_id_enum ps_id);
+extern kal_bool l4c_find_sms_category_for_mo_sms(peer_buff_struct *peer_buff_ptr,protocol_id_enum ps_id);
 extern kal_bool l4c_find_sms_category_for_cmss(peer_buff_struct *peer_buff_ptr);
 
 #ifdef __TC01__
diff --git a/mcu/protocol/interface/l4misc/rmmi_context.h b/mcu/protocol/interface/l4misc/rmmi_context.h
old mode 100755
new mode 100644
index 57d9c1f..82b0f8e
--- a/mcu/protocol/interface/l4misc/rmmi_context.h
+++ b/mcu/protocol/interface/l4misc/rmmi_context.h
@@ -1148,6 +1148,8 @@
     rmmi_cscon_state_enum last_cscon_state;
     rmmi_cscon_access_enum last_cscon_access;
     rmmi_cscon_core_network_enum last_cscon_core_network;
+
+    kal_uint8 erftx_rssi_src_id;
 } rmmi_context_struct;
 
 typedef struct rmmi_string_struct