summaryrefslogtreecommitdiff
path: root/core/bmi/src
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@codeaurora.org>2016-08-18 15:25:24 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-26 04:49:39 -0700
commit78ff65a8c6462e12e8513ae0ac7d40eacd2dd88f (patch)
treeee23dd0c616ec32c0a3b3cbaad104704e379ac51 /core/bmi/src
parente492bfefbf0065f2c4ddd1bcb4f1439f8a0a764a (diff)
qcacld-3.0: Add NL event to indicate SSR shutdown is triggered
propagation from qcacld-2.0 to qcacld-3.0. On Dual-WiFi Platforms, Radio Device 1 (R1 - SDIO interface) should be functional only if Radio Device 0 (R0 - PCIe interface) is active. If SSR is indentified on R0, indicate userspace application to unload R1 on this event and Reload R1 once R0 SSR and reload is complete. CRs-Fixed: 1046397 Change-Id: I8a06b569fe536bb93dbb37bdb289295bfce62f6e
Diffstat (limited to 'core/bmi/src')
-rw-r--r--core/bmi/src/ol_fw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/bmi/src/ol_fw.c b/core/bmi/src/ol_fw.c
index 429ae5f848d1..e6178a43d3ee 100644
--- a/core/bmi/src/ol_fw.c
+++ b/core/bmi/src/ol_fw.c
@@ -593,6 +593,7 @@ void ol_target_failure(void *instance, QDF_STATUS status)
struct hif_opaque_softc *scn = ol_ctx->scn;
tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA);
struct ol_config_info *ini_cfg = ol_get_ini_handle(ol_ctx);
+ qdf_device_t qdf_dev = ol_ctx->qdf_dev;
int ret;
enum hif_target_status target_status = hif_get_target_status(scn);
@@ -640,6 +641,7 @@ void ol_target_failure(void *instance, QDF_STATUS status)
BMI_ERR("XXX TARGET ASSERTED XXX");
+ cds_svc_fw_shutdown_ind(qdf_dev->dev);
/* Collect the RAM dump through a workqueue */
if (ini_cfg->enable_ramdump_collection)
qdf_sched_work(0, &ol_ctx->ramdump_work);