mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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
This commit is contained in:
parent
e46dcc86b4
commit
3d1b656b67
2 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -5465,6 +5465,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
|
||||
|
|
@ -5559,6 +5560,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 */
|
||||
|
|
|
|||
|
|
@ -7289,6 +7289,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue