qcacmn: Introduce QCA_NL80211_VENDOR_SUBCMD_HANG

Event indicating to the user space that the driver has detected an
internal failure. The driver is expected to recover from such a failure
automatically, e.g., by resetting the device.
This event carries the information indicating the reason that triggered
this detection.

Change-Id: Ia13e6f102e5e18ec4864ed258728369d51a77ff4
CRs-fixed: 2120886
This commit is contained in:
Anurag Chouhan
2017-10-04 12:42:27 +05:30
committed by snandini
parent 1b5ceb75a2
commit 6e56986cae
5 changed files with 85 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ typedef __qdf_event_t qdf_event_t;
/* Function declarations and documenation */
#ifdef CONFIG_MCL
typedef void (*qdf_self_recovery_callback)(void);
typedef void (*qdf_self_recovery_callback)(enum qdf_hang_reason);
#endif
QDF_STATUS qdf_event_create(qdf_event_t *event);