qcacmn: Add pci gen switch in wmi resource config

Add a pci gen switch flag in the wmi resource config to send
to FW in the init command.

Change-Id: If3a50d80103387a8f1f77ecb43a16c7b41ce5a11
CRs-Fixed: 2865866
Dieser Commit ist enthalten in:
Abdul Muqtadeer Ahmed
2021-01-19 13:59:51 +05:30
committet von snandini
Ursprung 4427314322
Commit 96f3c808f1
2 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -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 */

Datei anzeigen

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