qcacmn: add an ini field to control rx frame pending check

Add a ini control field to control rx frame pending check
logic in WoW case. In some cases, power consumption is more
important than rx frame ping loss, so add a control flag

Change-Id: I8c4d3725edddb82a0f06dc70c22a8dd5243209f2
CRs-Fixed: 2806786
This commit is contained in:
Yu Tian
2020-10-28 13:38:18 +08:00
committed by snandini
parent 56f94da675
commit 76fdb54e96
6 changed files with 32 additions and 2 deletions

View File

@@ -1027,6 +1027,24 @@
#define CFG_DP_SWLM_ENABLE \
CFG_INI_BOOL("gEnableSWLM", false, \
"Enable/Disable DP SWLM")
/*
* <ini>
* wow_check_rx_pending_enable - control to check RX frames pending in Wow
* @Min: 0
* @Max: 1
* @Default: 0
*
* This ini is used to control DP Software to perform RX pending check
* before entering WoW mode
*
* Usage: Internal
*
* </ini>
*/
#define CFG_DP_WOW_CHECK_RX_PENDING \
CFG_INI_BOOL("wow_check_rx_pending_enable", \
false, \
"enable rx frame pending check in WoW mode")
#define CFG_DP \
CFG(CFG_DP_HTT_PACKET_TYPE) \
@@ -1117,5 +1135,6 @@
CFG(CFG_DP_RX_FST_IN_CMEM) \
CFG(CFG_DP_RX_RADIO_0_DEFAULT_REO) \
CFG(CFG_DP_RX_RADIO_1_DEFAULT_REO) \
CFG(CFG_DP_RX_RADIO_2_DEFAULT_REO)
CFG(CFG_DP_RX_RADIO_2_DEFAULT_REO) \
CFG(CFG_DP_WOW_CHECK_RX_PENDING)
#endif /* _CFG_DP_H_ */