summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAnurag Chouhan <achouhan@codeaurora.org>2018-08-30 14:29:14 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-30 02:21:41 -0700
commite7ad20af9a4e6466d6cd3a4d26d13780c63c3b87 (patch)
tree3eebcdc4a62e06bc997017820b95f88fcbf49d92 /include/soc
parentd61ed3e62e804e1c7e8bc87e20716f6fa6e91bfc (diff)
icnss: Add a flag to indicare FW rejuvenate
Add a flag to maintain fw rejuvenate state, set if fw rejuvenate happens and reset at fw ready. export an API to the wlan host driver to distinguish the case of ssr or pdr with the FW rejuventae. Change-Id: I7a01cc4996f68f78aa13eacf36648331a701882a Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/icnss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/qcom/icnss.h b/include/soc/qcom/icnss.h
index ae8834d3fe54..85ec8beb3157 100644
--- a/include/soc/qcom/icnss.h
+++ b/include/soc/qcom/icnss.h
@@ -153,6 +153,7 @@ extern int icnss_wlan_get_dfs_nol(void *info, u16 info_len);
extern bool icnss_is_qmi_disable(struct device *dev);
extern bool icnss_is_fw_ready(void);
extern bool icnss_is_fw_down(void);
+extern bool icnss_is_rejuvenate(void);
extern int icnss_set_wlan_mac_address(const u8 *in, const uint32_t len);
extern u8 *icnss_get_wlan_mac_address(struct device *dev, uint32_t *num);
extern int icnss_trigger_recovery(struct device *dev);