qcacld-3.0: Delete use cases of INI enable_dynamic_pcie_gen_speed_switch

INI item enable_dynamic_pcie_gen_speed_switch is no longer. Hence,
delete all uses cases of it.

Change-Id: I1082620c4354bda48ebc54aae7e72e5a81c4aa94
CRs-Fixed: 3068122
这个提交包含在:
Alan Chen
2021-11-02 11:36:29 -07:00
提交者 Madan Koyyalamudi
父节点 1a6c66d871
当前提交 d60caf55b0
修改 6 个文件,包含 6 行新增45 行删除

查看文件

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. 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
@@ -528,27 +529,6 @@
0, \
"This ini is used to enable bus suspend in P2PGO mode")
/*
* <ini>
* enable_dynamic_pcie_gen_speed_switch - enable dynamic PCIe gen speed change
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini is used to enable dynamic PCIe gen speed change
*
* 0: Dynamic PCIe gen speed change is not enabled
* 1: Dynamic PCIe gen speed change is enabled
*
* Usage: Internal
*
* </ini>
*/
#define CFG_ENABLE_DYNAMIC_PCIE_GEN_SPEED_SWITCH CFG_INI_BOOL( \
"enable_dynamic_pcie_gen_speed_switch", \
0, \
"This ini is used to enable dynamic PCIe gen speed change")
/*
* <ini>
* igmp_version_support - Configure igmp version
@@ -637,7 +617,6 @@
CFG(CFG_ENABLE_BUS_SUSPEND_IN_SAP_MODE) \
CFG(CFG_ENABLE_BUS_SUSPEND_IN_GO_MODE)\
CFG(CFG_DISCONNECT_SAP_TDLS_IN_WOW) \
CFG(CFG_ENABLE_DYNAMIC_PCIE_GEN_SPEED_SWITCH) \
CFG(CFG_IGMP_VERSION_SUPPORT) \
CFG(CFG_ENABLE_ICMP_OFFLOAD)

查看文件

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. 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
@@ -442,7 +443,6 @@ struct pmo_psoc_cfg {
bool is_mod_dtim_on_sys_suspend_enabled;
bool is_bus_suspend_enabled_in_sap_mode;
bool is_bus_suspend_enabled_in_go_mode;
bool is_dynamic_pcie_gen_speed_change_enabled;
#ifdef WLAN_ENABLE_GPIO_WAKEUP
bool enable_gpio_wakeup;
uint32_t gpio_wakeup_pin;

查看文件

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. 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
@@ -2269,16 +2270,6 @@ ucfg_pmo_get_go_mode_bus_suspend(struct wlan_objmgr_psoc *psoc);
enum pmo_suspend_mode
ucfg_pmo_get_suspend_mode(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_pmo_get_dynamic_pcie_gen_switch_cfg() - get PMO config for
* dynamic PCIe gen speed change
* @psoc: pointer to psoc object
*
* Return: bool
*/
bool
ucfg_pmo_get_dynamic_pcie_gen_switch_cfg(struct wlan_objmgr_psoc *psoc);
#ifdef SYSTEM_PM_CHECK
/**
* ucfg_pmo_notify_system_resume() - system resume notification to pmo

查看文件

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. 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
@@ -948,14 +949,6 @@ ucfg_pmo_get_suspend_mode(struct wlan_objmgr_psoc *psoc)
return pmo_psoc_ctx->psoc_cfg.suspend_mode;
}
bool
ucfg_pmo_get_dynamic_pcie_gen_switch_cfg(struct wlan_objmgr_psoc *psoc)
{
struct pmo_psoc_priv_obj *pmo_psoc_ctx = pmo_psoc_get_priv(psoc);
return pmo_psoc_ctx->psoc_cfg.is_dynamic_pcie_gen_speed_change_enabled;
}
QDF_STATUS ucfg_pmo_core_txrx_suspend(struct wlan_objmgr_psoc *psoc)
{
return pmo_core_txrx_suspend(psoc);