qcacld-3.0: Add a new ini param to enable PCI gen switch

Add a new ini param to enable/disable PCI gen switch

Change-Id: Ie8c61dbfb9834aac96a95eb935521e1bc4b3b835
CRs-Fixed: 2865861
This commit is contained in:
Abdul Muqtadeer Ahmed
2021-01-19 11:18:10 +05:30
committed by snandini
parent 4abfac4f6b
commit fdd65fd9ea
2 changed files with 23 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-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
@@ -837,6 +837,25 @@
0, \
"Disable HW assist feature in FW")
/*
* <ini>
* g_enable_pci_gen - To enable pci gen switch
* @Default: 0
*
* Related: None
*
* Supported Feature: PCI
*
* Usage: External
*
* </ini>
*/
#define CFG_ENABLE_PCI_GEN CFG_INI_BOOL( \
"g_enable_pci_gen", \
0, \
"enable pci gen")
#define CFG_FWOL_GENERIC_ALL \
CFG_FWOL_DHCP \
CFG(CFG_ENABLE_ANI) \
@@ -867,6 +886,7 @@
CFG(CFG_SET_ENABLE_ILP) \
CFG(CFG_ENABLE_FW_WOW_MODULE_LOG_LEVEL) \
CFG(CFG_SAP_SHO_CONFIG) \
CFG(CFG_DISABLE_HW_ASSIST)
CFG(CFG_DISABLE_HW_ASSIST) \
CFG(CFG_ENABLE_PCI_GEN)
#endif