Преглед на файлове

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 години
родител
ревизия
775ab18f1c
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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 */