summaryrefslogtreecommitdiff
path: root/core/cds/inc/cds_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/cds/inc/cds_config.h')
-rw-r--r--core/cds/inc/cds_config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/core/cds/inc/cds_config.h b/core/cds/inc/cds_config.h
index 4553eb0fad..2de4add797 100644
--- a/core/cds/inc/cds_config.h
+++ b/core/cds/inc/cds_config.h
@@ -56,6 +56,32 @@ enum active_bpf_mode {
};
/**
+ * enum cds_hang_reason - host hang/ssr reason
+ * @CDS_REASON_UNSPECIFIED: Unspecified reason
+ * @CDS_RX_HASH_NO_ENTRY_FOUND: No Map for the MAC entry for the received frame
+ * @CDS_PEER_DELETION_TIMEDOUT: peer deletion timeout happened
+ * @CDS_PEER_UNMAP_TIMEDOUT: peer unmap timeout
+ * @CDS_SCAN_REQ_EXPIRED: Scan request timed out
+ * @CDS_SCAN_ATTEMPT_FAILURES: Consecutive Scan attempt failures
+ * @CDS_GET_MSG_BUFF_FAILURE: Unable to get the message buffer
+ * @CDS_ACTIVE_LIST_TIMEOUT: Current command processing is timedout
+ * @CDS_SUSPEND_TIMEOUT: Timeout for an ACK from FW for suspend request
+ * @CDS_RESUME_TIMEOUT: Timeout for an ACK from FW for resume request
+ */
+enum cds_hang_reason {
+ CDS_REASON_UNSPECIFIED = 0,
+ CDS_RX_HASH_NO_ENTRY_FOUND = 1,
+ CDS_PEER_DELETION_TIMEDOUT = 2,
+ CDS_PEER_UNMAP_TIMEDOUT = 3,
+ CDS_SCAN_REQ_EXPIRED = 4,
+ CDS_SCAN_ATTEMPT_FAILURES = 5,
+ CDS_GET_MSG_BUFF_FAILURE = 6,
+ CDS_ACTIVE_LIST_TIMEOUT = 7,
+ CDS_SUSPEND_TIMEOUT = 8,
+ CDS_RESUME_TIMEOUT = 9,
+};
+
+/**
* struct cds_config_info - Place Holder for cds configuration
* @max_station: Max station supported
* @max_bssid: Max Bssid Supported