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

@@ -730,7 +730,7 @@ static void send_flush_completion_to_user(uint8_t ring_id)
wlan_report_log_completion(is_fatal, indicator, reason_code, ring_id);
if (recovery_needed)
cds_trigger_recovery();
cds_trigger_recovery(QDF_REASON_UNSPECIFIED);
}
#endif