From 775ab18f1ca388ab873e6479de0938bee5a959aa Mon Sep 17 00:00:00 2001 From: Uraj Sasan Date: Mon, 13 May 2019 15:33:26 +0530 Subject: [PATCH] qcacmn: Trigger FW dump during WMI backpressure [Patch 1/1] Incase we have WMI backpressure issue, which is not caused by host, collect the fw dump. We trigger host dump when WMI Pending cmds reache max wmi commands. If this feature is enable then we will not assert host,rather will wait for fw to dump the logs which can later be used by fw team for debugging. To enable this debug feature:- cfg80211tool wifi0 set_wmi_dis_dump 1 Change-Id: I499d83d5f014e953310481816e40c3c15b715620 --- dp/inc/cdp_txrx_stats_struct.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index 21549e1c1cf6..61164b22f4e5 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -1594,6 +1594,8 @@ enum _ol_ath_param_t { /* wifi down indication used in MBSS feature */ OL_ATH_PARAM_WIFI_DOWN_IND = 408, OL_ATH_PARAM_TX_CAPTURE = 409, + /* Enable fw dump collectin if wmi disconnects */ + OL_ATH_PARAM_WMI_DIS_DUMP = 410, }; #endif /* Bitmasks for stats that can block */