diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index e463703b00..956b7b2c65 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -5184,6 +5184,7 @@ struct wmi_host_fw_abi_ver { * @max_frag_entries: Max frag entries * @agile_capability: Target Agile Capability * End common + * @enable_pci_gen: To enable pci gen switch * @max_peer_ext_stats: Max peer EXT stats * @smart_ant_cap: Smart antenna capabilities * @BK_Minfree: BIN configuration for BK traffic @@ -5279,6 +5280,7 @@ typedef struct { uint32_t max_frag_entries; uint32_t scheduler_params; uint32_t agile_capability; + uint32_t enable_pci_gen; /* End common */ /* Added for Beeliner */ diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index c761e38479..21953ebd72 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -7320,6 +7320,9 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, resource_cfg->flag1, 1); if (tgt_res_cfg->cce_disable) WMI_RSRC_CFG_FLAG_TCL_CCE_DISABLE_SET(resource_cfg->flag1, 1); + if (tgt_res_cfg->enable_pci_gen) + WMI_RSRC_CFG_FLAG_PCIE_GEN_SWITCH_CAPABLITY_SET( + resource_cfg->flag1, 1); if (tgt_res_cfg->eapol_minrate_set) { WMI_RSRC_CFG_FLAG_EAPOL_REKEY_MINRATE_SUPPORT_ENABLE_SET( resource_cfg->flag1, 1);