From 78ff65a8c6462e12e8513ae0ac7d40eacd2dd88f Mon Sep 17 00:00:00 2001 From: Komal Seelam Date: Thu, 18 Aug 2016 15:25:24 +0530 Subject: 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 --- core/bmi/src/ol_fw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/bmi/src') 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); -- cgit v1.2.3