qcacmn: Set SAP and P2P GO D3 wow host WMI resource config

Set SAP and P2P GO D3 wow host WMI resource config such that
FW is aware of host capability and can allocate memory for
sufficient remote peers.

Change-Id: I05499f98bd6bc080a9aefb302be12873bf19ac35
CRs-Fixed: 2869055
Tento commit je obsažen v:
Rajeev Kumar
2021-01-31 18:45:52 -08:00
odevzdal snandini
rodič afdf38701e
revize 5f5eda6e0e

Zobrazit soubor

@@ -7443,6 +7443,13 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
WMI_RSRC_CFG_FLAG_VIDEO_OVER_WIFI_ENABLE_SET(
resource_cfg->flag1, tgt_res_cfg->carrier_vow_optimization);
if (tgt_res_cfg->is_sap_connected_d3wow_enabled)
WMI_RSRC_CFG_FLAGS2_IS_SAP_CONNECTED_D3WOW_ENABLED_SET(
resource_cfg->flags2, 1);
if (tgt_res_cfg->is_go_connected_d3wow_enabled)
WMI_RSRC_CFG_FLAGS2_IS_GO_CONNECTED_D3WOW_ENABLED_SET(
resource_cfg->flags2, 1);
}
/* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd