Browse Source

Merge "msm: ipa3: add qmi support for cleaning MHIP rules and frags"

qctecmdr 5 years ago
parent
commit
69dcd6150f
1 changed files with 40 additions and 0 deletions
  1. 40 0
      ipa/ipa_v3/ipa_qmi_service_v01.c

+ 40 - 0
ipa/ipa_v3/ipa_qmi_service_v01.c

@@ -4940,6 +4940,26 @@ struct qmi_elem_info ipa_add_offload_connection_req_msg_v01_ei[] = {
 			struct ipa_add_offload_connection_req_msg_v01,
 			embedded_call_mux_id),
 	},
+	{
+		.data_type      = QMI_OPT_FLAG,
+		.elem_len       = 1,
+		.elem_size      = sizeof(u8),
+		.array_type       = NO_ARRAY,
+		.tlv_type       = 0x15,
+		.offset         = offsetof(
+			struct ipa_add_offload_connection_req_msg_v01,
+			default_mhi_path_valid),
+	},
+	{
+		.data_type      = QMI_UNSIGNED_1_BYTE,
+		.elem_len       = 1,
+		.elem_size      = sizeof(u8),
+		.array_type       = NO_ARRAY,
+		.tlv_type       = 0x15,
+		.offset         = offsetof(
+			struct ipa_add_offload_connection_req_msg_v01,
+			default_mhi_path),
+	},
 	{
 		.data_type      = QMI_EOTI,
 		.array_type       = NO_ARRAY,
@@ -5033,6 +5053,26 @@ struct qmi_elem_info ipa_remove_offload_connection_req_msg_v01_ei[] = {
 		.ei_array      =
 			ipa3_filter_rule_identifier_to_handle_map_data_v01_ei,
 	},
+	{
+		.data_type      = QMI_OPT_FLAG,
+		.elem_len       = 1,
+		.elem_size      = sizeof(u8),
+		.array_type       = NO_ARRAY,
+		.tlv_type       = 0x11,
+		.offset         = offsetof(
+			struct ipa_remove_offload_connection_req_msg_v01,
+			clean_all_rules_valid),
+	},
+	{
+		.data_type      = QMI_UNSIGNED_1_BYTE,
+		.elem_len       = 1,
+		.elem_size      = sizeof(u8),
+		.array_type       = NO_ARRAY,
+		.tlv_type       = 0x11,
+		.offset         = offsetof(
+			struct ipa_remove_offload_connection_req_msg_v01,
+			clean_all_rules),
+	},
 	{
 		.data_type      = QMI_EOTI,
 		.array_type       = NO_ARRAY,