qcacld-3.0: Add an ini item to disable wow feature

WoW feature may need to be disabled for certain targets
hence add an INI item gDisableWow to disable wow feature
for all modes.

Change-Id: I0f79731a750c9d759bcd5593f11a740572e9d4ad
CRs-Fixed: 2446226
Cette révision appartient à :
Rajeev Kumar
2019-05-02 16:02:20 -07:00
révisé par nshrivas
Parent 26d927d21e
révision 3a7c3400aa
4 fichiers modifiés avec 38 ajouts et 1 suppressions

Voir le fichier

@@ -1238,6 +1238,30 @@ struct dhcp_server {
CFG_VALUE_OR_DEFAULT, \
"Specify the SAR version")
/*
* <ini>
* gDisableWow - Used to disable wow feature
*
* @Min: 0
* @Max: 1
* Default: 0
*
* This ini is used to disable wow feature for all modes
* that means hlos platform suspend(cfg80211 suspend) will
* be rejected by wifi kernel driver.
*
* Usage: External
*
* </ini>
*/
#define CFG_WOW_DISABLE CFG_INI_UINT( \
"gDisableWow", \
0, \
1, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Disable wow feature")
#define CFG_HDD_ALL \
CFG_ENABLE_PACKET_LOG_ALL \
CFG_ENABLE_RUNTIME_PM_ALL \
@@ -1274,5 +1298,6 @@ struct dhcp_server {
CFG(CFG_TIMER_MULTIPLIER) \
CFG(CFG_HDD_DOT11_MODE) \
CFG(CFG_ENABLE_DISABLE_CHANNEL) \
CFG(CFG_SAR_VERSION)
CFG(CFG_SAR_VERSION) \
CFG(CFG_WOW_DISABLE)
#endif

Voir le fichier

@@ -210,6 +210,7 @@ struct hdd_config {
uint8_t enable_rtt_support;
uint32_t cfg_wmi_credit_cnt;
uint32_t sar_version;
bool is_wow_disabled;
};
/**