Loading drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service_v01.c +40 −0 Original line number Diff line number Diff line Loading @@ -4950,6 +4950,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, Loading Loading @@ -5043,6 +5063,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, Loading include/uapi/linux/ipa_qmi_service_v01.h +15 −2 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ * Indicates presence of newly added member to support HW stats. */ #define IPA_QMI_SUPPORTS_STATS #define IPA_QMI_SUPPORT_MHI_DEFAULT #define IPA_INT_MAX ((int)(~0U>>1)) #define IPA_INT_MIN (-IPA_INT_MAX - 1) Loading Loading @@ -2598,8 +2599,14 @@ struct ipa_add_offload_connection_req_msg_v01 { /* Must be set to true if embedded_call_mux_id is being passed */ uint32_t embedded_call_mux_id; /* Mux ID for the new embedded call */ /* Optional */ /* Default MHI path */ uint8_t default_mhi_path_valid; /* Must be set to true if default_mhi_path is being passed */ uint8_t default_mhi_path; /* Default MHI path */ }; /* Message */ #define IPA_ADD_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 11357 #define IPA_ADD_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 11361 struct ipa_add_offload_connection_resp_msg_v01 { /* Result Code */ Loading @@ -2622,8 +2629,14 @@ struct ipa_remove_offload_connection_req_msg_v01 { uint32_t filter_handle_list_len; struct ipa_filter_rule_identifier_to_handle_map_v01 filter_handle_list[QMI_IPA_MAX_FILTERS_V01]; /* Optional */ /* Clean All rules */ uint8_t clean_all_rules_valid; /* Must be set to true if clean_all_rules is being passed */ uint8_t clean_all_rules; /* Clean All rules */ }; /* Message */ #define IPA_REMOVE_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 516 #define IPA_REMOVE_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 520 struct ipa_remove_offload_connection_resp_msg_v01 { /* optional */ Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service_v01.c +40 −0 Original line number Diff line number Diff line Loading @@ -4950,6 +4950,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, Loading Loading @@ -5043,6 +5063,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, Loading
include/uapi/linux/ipa_qmi_service_v01.h +15 −2 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ * Indicates presence of newly added member to support HW stats. */ #define IPA_QMI_SUPPORTS_STATS #define IPA_QMI_SUPPORT_MHI_DEFAULT #define IPA_INT_MAX ((int)(~0U>>1)) #define IPA_INT_MIN (-IPA_INT_MAX - 1) Loading Loading @@ -2598,8 +2599,14 @@ struct ipa_add_offload_connection_req_msg_v01 { /* Must be set to true if embedded_call_mux_id is being passed */ uint32_t embedded_call_mux_id; /* Mux ID for the new embedded call */ /* Optional */ /* Default MHI path */ uint8_t default_mhi_path_valid; /* Must be set to true if default_mhi_path is being passed */ uint8_t default_mhi_path; /* Default MHI path */ }; /* Message */ #define IPA_ADD_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 11357 #define IPA_ADD_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 11361 struct ipa_add_offload_connection_resp_msg_v01 { /* Result Code */ Loading @@ -2622,8 +2629,14 @@ struct ipa_remove_offload_connection_req_msg_v01 { uint32_t filter_handle_list_len; struct ipa_filter_rule_identifier_to_handle_map_v01 filter_handle_list[QMI_IPA_MAX_FILTERS_V01]; /* Optional */ /* Clean All rules */ uint8_t clean_all_rules_valid; /* Must be set to true if clean_all_rules is being passed */ uint8_t clean_all_rules; /* Clean All rules */ }; /* Message */ #define IPA_REMOVE_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 516 #define IPA_REMOVE_OFFLOAD_CONNECTION_REQ_MSG_V01_MAX_MSG_LEN 520 struct ipa_remove_offload_connection_resp_msg_v01 { /* optional */ Loading