Ver Fonte

qcacld-3.0: Display control pipes info on WOW ack failure

Display control pipes info on WOW ack failure which helps to
debug issues when full debug history is not available.

Change-Id: I6a84aa01c07831b7109d0741337cae6ac0be2f44
CRs-Fixed: 3246284
Azmath Mohammed há 2 anos atrás
pai
commit
842dc538f3
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      components/pmo/core/src/wlan_pmo_suspend_resume.c

+ 4 - 0
components/pmo/core/src/wlan_pmo_suspend_resume.c

@@ -847,6 +847,10 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
 	status = qdf_wait_for_event_completion(&psoc_ctx->wow.target_suspend,
 					       PMO_TARGET_SUSPEND_TIMEOUT);
 	if (QDF_IS_STATUS_ERROR(status)) {
+		if (hif_ctx) {
+			hif_display_ctrl_traffic_pipes_state(hif_ctx);
+			hif_display_latest_desc_hist(hif_ctx);
+		}
 		pmo_err("Failed to receive WoW Enable Ack from FW");
 		pmo_err("Credits:%d; Pending_Cmds: %d",
 			pmo_tgt_psoc_get_host_credits(psoc),