summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAnurag Chouhan <achouhan@codeaurora.org>2017-03-21 19:16:53 +0530
committerAnurag Chouhan <achouhan@codeaurora.org>2017-04-03 12:18:37 +0530
commitc1f5dcc5e8e77afb01eaeb9d9ea6577366f21c3f (patch)
treed238b156a32484d2326edffa8498a682e9f4ca2f /include/soc
parent92124c76a2bd3e0c1d98de91d09199558117a1a9 (diff)
icnss: Send FW Down indication to WLAN host driver
If FW is down irrespective of crash, a uevent is sent to wlan host driver to indicate FW is down. Change-Id: I9fe2a2a11178f72ea27150d74d93a1e411eac030 CRs-fixed: 2027902 Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org> Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/icnss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/soc/qcom/icnss.h b/include/soc/qcom/icnss.h
index 731fa6970b95..7ef984afc442 100644
--- a/include/soc/qcom/icnss.h
+++ b/include/soc/qcom/icnss.h
@@ -20,6 +20,11 @@
enum icnss_uevent {
ICNSS_UEVENT_FW_READY,
ICNSS_UEVENT_FW_CRASHED,
+ ICNSS_UEVENT_FW_DOWN,
+};
+
+struct icnss_uevent_fw_down_data {
+ bool crashed;
};
struct icnss_uevent_data {