diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 94006b1386..25f3339440 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -5412,6 +5412,7 @@ struct wmi_host_fw_abi_ver { * @carrier_vow_optmization: configure vow-optimization for carrier-usecase * @is_sap_connected_d3wow_enabled: is sap d3wow with connected client supported * @is_go_connected_d3wow_enabled: is go d3wow with connected client supported + * @dynamic_pcie_gen_speed_change: is dynamic pcie gen speed change enabled */ typedef struct { uint32_t num_vdevs; @@ -5521,6 +5522,7 @@ typedef struct { uint32_t is_sap_connected_d3wow_enabled; uint32_t is_go_connected_d3wow_enabled; bool sae_eapol_offload; + bool dynamic_pcie_gen_speed_change; } target_resource_config; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index c83ef21bd7..f45b6155c3 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -7571,6 +7571,11 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, tgt_res_cfg->is_reg_cc_ext_event_supported); wmi_set_nan_channel_support(resource_cfg); + + wmi_info("Enable dynamic PCIe gen speed: %d", + 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); } /* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd