From e93182a1b2555ea8903a6297139ec7658a495156 Mon Sep 17 00:00:00 2001 From: Pavankumar Nandeshwar Date: Mon, 6 Mar 2023 02:12:39 -0800 Subject: [PATCH] qcacmn: Do not allow Umac reset in DS mode Do not send prerequisite htt message informing support of Umac reset feature to firmware if DS is enabled Change-Id: I1272579a3079e126b81a3b324009f6f32c65a904 CRs-Fixed: 3425584 --- dp/wifi3.0/dp_umac_reset.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dp/wifi3.0/dp_umac_reset.c b/dp/wifi3.0/dp_umac_reset.c index 51d14b66bd..67b8a17950 100644 --- a/dp/wifi3.0/dp_umac_reset.c +++ b/dp/wifi3.0/dp_umac_reset.c @@ -62,6 +62,12 @@ dp_umac_reset_send_setup_cmd(struct dp_soc *soc) uint32_t msi_base_data, msi_vector_start; struct dp_htt_umac_reset_setup_cmd_params params; + if (wlan_cfg_get_dp_soc_is_ppeds_enabled(soc->wlan_cfg_ctx)) { + dp_umac_reset_err( + "Umac reset is currently not supported in DS config"); + return QDF_STATUS_E_NOSUPPORT; + } + umac_reset_ctx = &soc->umac_reset_ctx; qdf_mem_zero(¶ms, sizeof(params)); ret = pld_get_user_msi_assignment(soc->osdev->dev, "DP",