Browse Source

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
Pavankumar Nandeshwar 2 years ago
parent
commit
e93182a1b2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      dp/wifi3.0/dp_umac_reset.c

+ 6 - 0
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(&params, sizeof(params));
 	ret = pld_get_user_msi_assignment(soc->osdev->dev, "DP",