Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1299022c authored by Arun Kumar Khandavalli's avatar Arun Kumar Khandavalli Committed by snandini
Browse files

qcacmn: Add additional vendor specific hang reason codes

Add additional hang reason codes in enum qca_wlan_vendor_hang_reason to
address potential internal failure cases

Change-Id: I4bf154805d3e06241e9fdd799f1e6ffc4c046fca
CRs-Fixed: 2803747
parent d5038639
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -706,6 +706,12 @@ enum qca_wlan_vendor_hang_reason {
	 * the FW on a specific VDEV.
	 */
	QCA_WLAN_HANG_VDEV_PEER_DELETE_ALL_RESPONSE_TIMED_OUT = 22,
	/* WMI sequence mismatch between WMI command and Tx completion */
	QCA_WLAN_HANG_WMI_BUF_SEQUENCE_MISMATCH = 23,
	/* Write to Device HAL register failed */
	QCA_WLAN_HANG_REG_WRITE_FAILURE = 24,
	/* No credit left to send the wow_wakeup_from_sleep to firmware */
	QCA_WLAN_HANG_SUSPEND_NO_CREDIT = 25,
};

/**
+2 −0
Original line number Diff line number Diff line
@@ -1311,6 +1311,7 @@ enum qdf_suspend_type {
 * @QDF_VDEV_STOP_RESPONSE_TIMED_OUT: Stop response timeout from FW
 * @QDF_VDEV_DELETE_RESPONSE_TIMED_OUT: Delete response timeout from FW
 * @QDF_VDEV_PEER_DELETE_ALL_RESPONSE_TIMED_OUT: Peer delete all resp timeout
 * @QDF_WMI_BUF_SEQUENCE_MISMATCH: WMI Tx completion buffer sequence mismatch
 * @QDF_HAL_REG_WRITE_FAILURE: HAL register writing failures
 * @QDF_SUSPEND_NO_CREDIT: host lack of credit after suspend
 */
@@ -1335,6 +1336,7 @@ enum qdf_hang_reason {
	QDF_VDEV_STOP_RESPONSE_TIMED_OUT,
	QDF_VDEV_DELETE_RESPONSE_TIMED_OUT,
	QDF_VDEV_PEER_DELETE_ALL_RESPONSE_TIMED_OUT,
	QDF_WMI_BUF_SEQUENCE_MISMATCH,
	QDF_HAL_REG_WRITE_FAILURE,
	QDF_SUSPEND_NO_CREDIT,
};