Browse Source

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
Uraj Sasan 5 years ago
parent
commit
775ab18f1c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dp/inc/cdp_txrx_stats_struct.h

+ 2 - 0
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 */