From 964bb04a2846af1ed00433430d479ab8bdc2c017 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Fri, 29 Jan 2021 13:55:30 -0800 Subject: [PATCH] qcacld-3.0: Set target config with default sap and go d3 config Host needs to send down sap and go client connected mode d3 wow feature support and hence save the default config which will be send later down to FW via WMI INIT CMD. Change-Id: I71ff3155e30ea03c63045473ad256dc14026f5fd CRs-Fixed: 2866617 --- core/wma/src/wma_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index e38db43d7903..fb39e86ddcc1 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -361,6 +361,10 @@ static void wma_set_default_tgt_config(tp_wma_handle wma_handle, tgt_cfg->mgmt_comp_evt_bundle_support = true; tgt_cfg->tx_msdu_new_partition_id_support = true; + tgt_cfg->is_sap_connected_d3wow_enabled = + ucfg_pmo_get_sap_mode_bus_suspend(wma_handle->psoc); + tgt_cfg->is_go_connected_d3wow_enabled = + ucfg_pmo_get_go_mode_bus_suspend(wma_handle->psoc); cfg_nan_get_max_ndi(wma_handle->psoc, &tgt_cfg->max_ndi);