qcacmn: Handle TWT ack event support in wmi init

In WMI INIT, check whether firmware supports the ack event or
not. If it supports then enable driver support and send it to
firmware during WMI INIT.

Change-Id: Icfdee6bc06e6a393de880b87fdab70665ea7c8b4
CRs-Fixed: 2987898
This commit is contained in:
Jyoti Kumari
2021-06-27 23:19:29 +05:30
committed by Madan Koyyalamudi
parent fc3c62d771
commit e831cf3415
3 changed files with 9 additions and 1 deletions

View File

@@ -7583,6 +7583,10 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
tgt_res_cfg->dynamic_pcie_gen_speed_change);
WMI_RSRC_CFG_FLAGS2_IS_DYNAMIC_PCIE_GEN_SPEED_SWITCH_ENABLED_SET(resource_cfg->flags2, tgt_res_cfg->dynamic_pcie_gen_speed_change);
if (tgt_res_cfg->twt_ack_support_cap)
WMI_RSRC_CFG_HOST_SERVICE_FLAG_STA_TWT_SYNC_EVT_SUPPORT_SET(
resource_cfg->host_service_flags, 1);
}
/* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd