qcacld-3.0: Change default value of gMaxLIModulatedDTIM
Reduce default value of gMaxLIModulatedDTIM from 10 to 5 to shorten the listen interval. It provides better connectivity when AP has a large DTIM Period or Beacon Interval. Also, move the ini definition to sta header file from sap header file. Change-Id: I9661c6fc623949cf8b260043e8da7448b496d57f CRs-Fixed: 2780070
This commit is contained in:

committed by
snandini

parent
8bd89b11dd
commit
2912a925a2
@@ -455,30 +455,6 @@
|
|||||||
0, \
|
0, \
|
||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"reduced beacon interval")
|
"reduced beacon interval")
|
||||||
/*
|
|
||||||
* <ini>
|
|
||||||
* gMaxLIModulatedDTIM - Set MaxLIModulate Dtim
|
|
||||||
* @Min: 1
|
|
||||||
* @Max: 10
|
|
||||||
* @Default: 10
|
|
||||||
*
|
|
||||||
* This ini is used to set default MaxLIModulatedDTIM
|
|
||||||
*
|
|
||||||
* Related: None
|
|
||||||
*
|
|
||||||
* Supported Feature: STA
|
|
||||||
*
|
|
||||||
* Usage: Internal/External
|
|
||||||
*
|
|
||||||
* </ini>
|
|
||||||
*/
|
|
||||||
#define CFG_MAX_LI_MODULATED_DTIM CFG_INI_UINT( \
|
|
||||||
"gMaxLIModulatedDTIM", \
|
|
||||||
1, \
|
|
||||||
10, \
|
|
||||||
10, \
|
|
||||||
CFG_VALUE_OR_DEFAULT, \
|
|
||||||
"Max modulated dtim")
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* <ini>
|
* <ini>
|
||||||
|
@@ -457,6 +457,31 @@
|
|||||||
CFG_VALUE_OR_DEFAULT, \
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
"Which keepalive method to use")
|
"Which keepalive method to use")
|
||||||
|
|
||||||
|
/*
|
||||||
|
* <ini>
|
||||||
|
* gMaxLIModulatedDTIM - Set MaxLIModulate Dtim
|
||||||
|
* @Min: 1
|
||||||
|
* @Max: 10
|
||||||
|
* @Default: 5
|
||||||
|
*
|
||||||
|
* This ini is used to set default MaxLIModulatedDTIM
|
||||||
|
*
|
||||||
|
* Related: None
|
||||||
|
*
|
||||||
|
* Supported Feature: STA
|
||||||
|
*
|
||||||
|
* Usage: Internal/External
|
||||||
|
*
|
||||||
|
* </ini>
|
||||||
|
*/
|
||||||
|
#define CFG_MAX_LI_MODULATED_DTIM CFG_INI_UINT( \
|
||||||
|
"gMaxLIModulatedDTIM", \
|
||||||
|
1, \
|
||||||
|
10, \
|
||||||
|
5, \
|
||||||
|
CFG_VALUE_OR_DEFAULT, \
|
||||||
|
"Max modulated dtim")
|
||||||
|
|
||||||
#define CFG_STA_ALL \
|
#define CFG_STA_ALL \
|
||||||
CFG(CFG_INFRA_STA_KEEP_ALIVE_PERIOD) \
|
CFG(CFG_INFRA_STA_KEEP_ALIVE_PERIOD) \
|
||||||
CFG(CFG_TGT_GTX_USR_CFG) \
|
CFG(CFG_TGT_GTX_USR_CFG) \
|
||||||
|
Reference in New Issue
Block a user