mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Change CFG_INI_BOOL to CFG_INI_UINT
Change CFG_INI_BOOL to CFG_INI_UINT for enabling runtime PM.
Change-Id: I8470dcbe0cb6de72aa5cf5edcaea36f6e1276d21
CRs-Fixed: 2603915
This commit is contained in:
parent
203e26d3a0
commit
e3ef9a9add
2 changed files with 12 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2020 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
|
||||
|
|
@ -453,11 +453,14 @@ enum hdd_dot11_mode {
|
|||
* <ini>
|
||||
* gRuntimePM - enable runtime suspend
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Max: 2
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini is used to enable runtime_suspend
|
||||
* This ini is used to enable runtime PM
|
||||
*
|
||||
* 0: RTPM disabled, so CxPC aware RTPM will be disabled as well
|
||||
* 1: RTPM enabled, but CxPC aware RTPM disabled
|
||||
* 2: RTPM enabled and CxPC aware RTPM enabled as well
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: Power Save
|
||||
|
|
@ -466,9 +469,12 @@ enum hdd_dot11_mode {
|
|||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_ENABLE_RUNTIME_PM CFG_INI_BOOL( \
|
||||
#define CFG_ENABLE_RUNTIME_PM CFG_INI_UINT( \
|
||||
"gRuntimePM", \
|
||||
0, \
|
||||
2, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"This ini is used to enable runtime_suspend")
|
||||
#define CFG_ENABLE_RUNTIME_PM_ALL \
|
||||
CFG(CFG_ENABLE_RUNTIME_PM)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2020 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
|
||||
|
|
@ -212,7 +212,7 @@ struct hdd_config {
|
|||
uint8_t enable_concurrent_sta[CFG_CONCURRENT_IFACE_MAX_LEN];
|
||||
uint8_t dbs_scan_selection[CFG_DBS_SCAN_PARAM_LENGTH];
|
||||
#ifdef FEATURE_RUNTIME_PM
|
||||
bool runtime_pm;
|
||||
uint8_t runtime_pm;
|
||||
#endif
|
||||
uint8_t inform_bss_rssi_raw;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue