[Feature][Modem]Add Modem Patch P1

Change-Id: Idee4f9fd6700b484f7db86704cf5639cec4d71a2
diff --git a/mcu/protocol/interface/l4misc/l3_inc_enums.h b/mcu/protocol/interface/l4misc/l3_inc_enums.h
old mode 100644
new mode 100755
index a56e4b0..430e01f
--- a/mcu/protocol/interface/l4misc/l3_inc_enums.h
+++ b/mcu/protocol/interface/l4misc/l3_inc_enums.h
@@ -61,6 +61,22 @@
  * removed!
  * removed!
  *
+
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
+ * removed!
+ * removed!
+ * removed!
+ * removed!
+ *
  * removed!
  * removed!
  * removed!
@@ -2791,6 +2807,7 @@
 
     /* VzW VGMM NAS not allow cause */
     NWSEL_NAS_NOT_ALLOW_VZW_VGMM_N1_MODE_NOT_ALLOWED_TG,
+    NWSEL_N1_DISABLED_BY_NR_EMC_AVAILABILITY,
 } nwsel_capability_disabled_reason_enum;
 
 typedef enum {
@@ -5501,7 +5518,10 @@
     VGMM_CAUSE_MESSAGE_NOT_COMPATIBLE           = 0x65,
     VGMM_CAUSE_PROTOCOL_ERROR                   = 0x6f,
 
+    /* Causes in ts24.301 but not in ts24.501. There causes are used for interworking between LTE and NR. */
+    VGMM_CAUSE_NO_EPS_CTXT_ACT                  = EMM_CAUSE_NO_EPS_CTXT_ACT,
 
+    
     /* MTK internal-defined causes */
     /* NOTE: the values of MTK internal-defined causes should be the same as mm_cause_enum */
     VGMM_CAUSE_NO_COVERAGE                       = NO_COVERAGE,
diff --git a/mcu/protocol/interface/l4misc/l4c_lcs_cmd.h b/mcu/protocol/interface/l4misc/l4c_lcs_cmd.h
old mode 100644
new mode 100755
index e94004b..06e5f2e
--- a/mcu/protocol/interface/l4misc/l4c_lcs_cmd.h
+++ b/mcu/protocol/interface/l4misc/l4c_lcs_cmd.h
@@ -107,6 +107,7 @@
 
 extern void l4c_lcs_ecc_info_req(kal_bool ecc_ongoing);
 extern void l4c_lcs_emt_info_req(kal_bool emt_ongoing);
+extern void l4c_lcs_emc_info_req(call_status_enum call_status);
 
 #endif /* _L4C_LCS_CMD_H */ 
 
diff --git a/mcu/protocol/interface/l4misc/l4c_utility.h b/mcu/protocol/interface/l4misc/l4c_utility.h
old mode 100644
new mode 100755
index 064228b..52a44f5
--- a/mcu/protocol/interface/l4misc/l4c_utility.h
+++ b/mcu/protocol/interface/l4misc/l4c_utility.h
@@ -138,6 +138,7 @@
 #define convert_to_bcd(source, dest, max_dest_len) convert_to_general_bcd(source, dest, max_dest_len, CONVERT_TO_BCD_NORMAL)
 #define convert_to_bcd_wild(source, dest, max_dest_len) convert_to_general_bcd(source, dest, max_dest_len, CONVERT_TO_BCD_WILD)
 extern kal_uint8 convert_to_general_bcd(kal_uint8 *source, kal_uint8 *dest, kal_uint8 max_dest_len, kal_uint8 type);
+extern kal_bool l4c_get_nw_cause(kal_uint16 ps_cause, kal_uint16 *nw_err_cause);
 
 
 #define convert_to_digit(source, dest) convert_to_general_digit(source, dest, CONVERT_TO_DIGIT_NORMAL)
@@ -1072,4 +1073,6 @@
 extern kal_bool l4c_is_epsfb_needed(protocol_id_enum ps_id, rat_type_enum source_rat, rat_type_enum target_rat, irat_type_enum ir_type);
 #endif
 extern kal_bool l4c_is_call_ongoing_over_wifi();
+extern kal_bool l4c_is_vzw_private_uicc(kal_uint8 ps_id);
+extern void l4c_set_is_vzw_private_uicc();
 #endif /* _L4C_UTILITY_H */ /* l4c_utility.h */
diff --git a/mcu/protocol/interface/l4misc/rmmi_context.h b/mcu/protocol/interface/l4misc/rmmi_context.h
old mode 100644
new mode 100755
index 2e93695..b141afa
--- a/mcu/protocol/interface/l4misc/rmmi_context.h
+++ b/mcu/protocol/interface/l4misc/rmmi_context.h
@@ -500,6 +500,7 @@
     esm_cause_enum esm_rej_cause;
     rmmi_proc_result_type_enum proc_result;
     nas_proc_enum nas_proc;
+    plmn_id_struct plmn_id;
 } rmmi_nw_rej_cause_attemp_counter_struct;
 
 #if defined(__CDMA2000_RAT__)