ソースを参照

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
Rajeev Kumar 4 年 前
コミット
b4bce577f2
1 ファイル変更4 行追加0 行削除
  1. 4 0
      core/wma/src/wma_main.c

+ 4 - 0
core/wma/src/wma_main.c

@@ -349,6 +349,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);