Procházet zdrojové kódy

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

Add QMI IDL changes for supporting cleaning DL MHIP filtering
rules and also adds an option to use legacy path instead
of MHIP path for DL frag packets which are not supported.

Change-Id: Ic5641012f1d8a8365f51eef27426ad4d008d9892
Signed-off-by: Arnav Sharma <[email protected]>
Michael Adisumarta před 5 roky
rodič
revize
e0745d4cc5
1 změnil soubory, kde provedl 40 přidání a 0 odebrání
  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,