Prechádzať zdrojové kódy

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
Dustin Brown 7 rokov pred
rodič
commit
983c53f4d0
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      wmi_unified_tlv.c

+ 2 - 0
wmi_unified_tlv.c

@@ -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);