Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ff3165d authored by Utkarsh Saxena's avatar Utkarsh Saxena Committed by Mohammed Javid
Browse files

msm: ipa: send filter notify req when client disconnects



IPA Q6 needs to know when the client pipe disconnects
to clean up call related settings. Make a change to
send filter notify req with filter index len as 0.

Change-Id: I989eed2e04156b4f6e193dce0e8e71d1f588e749
Acked-by: default avatarChaitanya Pratapa <cpratapa@qti.qualcomm.com>
Acked-by: default avatarPooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: default avatarUtkarsh Saxena <usaxena@codeaurora.org>
parent cd538dbf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -655,9 +655,8 @@ int qmi_filter_notify_send(struct ipa_fltr_installed_notif_req_msg_v01 *req)

	/* check if the filter rules from IPACM is valid */
	if (req->filter_index_list_len == 0) {
		IPAWANERR(" delete UL filter rule for pipe %d\n",
		IPAWANDBG(" delete UL filter rule for pipe %d\n",
		req->source_pipe_index);
		return -EINVAL;
	} else if (req->filter_index_list_len > QMI_IPA_MAX_FILTERS_V01) {
		IPAWANERR(" UL filter rule for pipe %d exceed max (%u)\n",
		req->source_pipe_index,
+1 −2
Original line number Diff line number Diff line
@@ -798,9 +798,8 @@ int ipa3_qmi_filter_notify_send(

	/* check if the filter rules from IPACM is valid */
	if (req->rule_id_len == 0) {
		IPAWANERR(" delete UL filter rule for pipe %d\n",
		IPAWANDBG(" delete UL filter rule for pipe %d\n",
		req->source_pipe_index);
		return -EINVAL;
	} else if (req->rule_id_len > QMI_IPA_MAX_FILTERS_V01) {
		IPAWANERR(" UL filter rule for pipe %d exceed max (%u)\n",
		req->source_pipe_index,