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

Commit 6079be74 authored by Rakesh Pillai's avatar Rakesh Pillai
Browse files

ath10k: Fix crash when SSR is done during packet transfer



If any data traffic is ON, when SSR is triggered there is a crash
since we allowed HTT packets to go through.
Stopping these packets to go through fixes this crash.

Also changing the QMI client ID for the qmi client.

CRs-Fixed: 2033262
Change-Id: I1236ef901fd8943f228497a79f11feaec1c16d8e
Signed-off-by: default avatarRakesh Pillai <pillair@codeaurora.org>
parent 4a4051e5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -854,7 +854,6 @@ int ath10k_snoc_start_qmi_service(struct ath10k *ar)
		goto out_destroy_wq;
	}

	atomic_set(&qmi_cfg->fw_ready, 1);
	ath10k_dbg(ar, ATH10K_DBG_SNOC, "QMI service started successfully\n");
	return 0;

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#define ATH10K_SNOC_WLAN_FW_READY_TIMEOUT	8000

#define WLFW_SERVICE_INS_ID_V01		0
#define WLFW_CLIENT_ID			0x4b4e454c
#define WLFW_CLIENT_ID			0x41544851
#define WLFW_TIMEOUT_MS			20000

enum ath10k_snoc_driver_event_type {
+3 −0
Original line number Diff line number Diff line
@@ -650,6 +650,9 @@ static int ath10k_snoc_hif_tx_sg(struct ath10k *ar, u8 pipe_id,
	if (!ar_snoc)
		return  -EINVAL;

	if (atomic_read(&ar_snoc->fw_crashed))
		return -ESHUTDOWN;

	snoc_pipe = &ar_snoc->pipe_info[pipe_id];
	ce_pipe = snoc_pipe->ce_hdl;
	src_ring = ce_pipe->src_ring;