qcacmn: Add new resource config fields

Firmware recently exposed two new resource config fields,
num_packet_filters, and num_max_sta_vdevs. Add these fields to the
host-side resource config struct so appropriate values can be populated
and communicated to firmware.

Change-Id: I951ba6ac929c38c2d78af6705f4922b62fc7d3a1
CRs-Fixed: 2201876
This commit is contained in:
Dustin Brown
2018-03-07 11:48:14 -08:00
committed by nshrivas
parent cf3b8b97c7
commit 983c53f4d0

View File

@@ -13335,6 +13335,8 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
resource_cfg->max_num_dbs_scan_duty_cycle =
tgt_res_cfg->max_num_dbs_scan_duty_cycle;
resource_cfg->sched_params = tgt_res_cfg->scheduler_params;
resource_cfg->num_packet_filters = tgt_res_cfg->num_packet_filters;
resource_cfg->num_max_sta_vdevs = tgt_res_cfg->num_max_sta_vdevs;
if (tgt_res_cfg->atf_config)
WMI_RSRC_CFG_FLAG_ATF_CONFIG_ENABLE_SET(resource_cfg->flag1, 1);