qcacld-3.0: Add a new ini item for modulated DTIM on system suspend
Add a new ini item enable_mod_dtim_system_suspend to control the modulated DTIM on system suspend feature. This ini is used to set modulated DTIM configuration: Current values of enable_mod_dtim_on_system_suspend: 0 -> Modulated DTIM will be enabled for every wow entry (RTPM wow + System suspend wow) 1 -> Enable modulated DTIM only for System suspend wow. For RTPM wow, the device will stay in DTIM 1 (non-modulated DTIM) Change-Id: Ia3a9d259d8ba1e483ea3e8e7f99f60bbc27c67af CRs-Fixed: 2787108
This commit is contained in:
@@ -219,6 +219,34 @@
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Optimized Power Management")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* enable_mod_dtim_on_system_suspend - enable modulated DTIM
|
||||
* on system suspend display off case
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini is used to set modulated DTIM configuration:
|
||||
* Current values of enable_mod_dtim_on_system_suspend:
|
||||
* 0 -> Modulated DTIM will be enabled for every wow entry
|
||||
* (RTPM wow + System suspend wow)
|
||||
* 1 -> Enable modulated DTIM only for System suspend wow.
|
||||
* For RTPM wow, the device will stay in DTIM 1 (non-modulated DTIM)
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: Modulated DTIM
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_PMO_MOD_DTIM_ON_SYS_SUSPEND CFG_INI_BOOL( \
|
||||
"enable_mod_dtim_on_system_suspend", \
|
||||
0, \
|
||||
"Modulated DTIM on System suspend wow")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gMaxPsPoll - Max powersave poll
|
||||
@@ -391,6 +419,7 @@
|
||||
CFG(CFG_PMO_ACTIVE_MODE) \
|
||||
CFG(CFG_PMO_PWR_FAILURE) \
|
||||
CFG(CFG_PMO_WOW_DATA_INACTIVITY_TIMEOUT) \
|
||||
CFG(CFG_RA_RATE_LIMIT_INTERVAL)
|
||||
CFG(CFG_RA_RATE_LIMIT_INTERVAL) \
|
||||
CFG(CFG_PMO_MOD_DTIM_ON_SYS_SUSPEND)
|
||||
|
||||
#endif /* WLAN_PMO_COMMON_CFG_H__ */
|
||||
|
@@ -305,6 +305,8 @@ enum active_apf_mode {
|
||||
* @active_mc_bc_apf_mode: Setting that determines how APF is applied in
|
||||
* active mode for MC/BC packets
|
||||
* @ito_repeat_count: Indicates ito repeated count
|
||||
* @is_mod_dtim_on_sys_suspend_enabled: true when mod dtim is enabled for
|
||||
* system suspend wow else false
|
||||
*/
|
||||
struct pmo_psoc_cfg {
|
||||
bool ptrn_match_enable_all_vdev;
|
||||
@@ -368,6 +370,7 @@ struct pmo_psoc_cfg {
|
||||
enum active_apf_mode active_uc_apf_mode;
|
||||
enum active_apf_mode active_mc_bc_apf_mode;
|
||||
uint8_t ito_repeat_count;
|
||||
bool is_mod_dtim_on_sys_suspend_enabled;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user