qcacld-3.0: Update max value of gEnableModulatedDTIM ini
Currently max value of gEnableModulatedDTIM is 5 which is incorrect as FW supports maximum no. of modulated DTIM as 10. To address above issue update max value of gEnableModulatedDTIM ini. CRs-Fixed: 2830240 Change-Id: I7f1cab6f0cb2b2a60e7cc1bb37a9971c1752a1bb
This commit is contained in:

committed by
snandini

parent
baa6fe85da
commit
eb23480b4e
@@ -111,7 +111,7 @@ static QDF_STATUS pmo_core_calculate_listen_interval(
|
||||
struct pmo_vdev_priv_obj *vdev_ctx,
|
||||
uint32_t *listen_interval)
|
||||
{
|
||||
uint32_t max_mod_dtim, max_dtim;
|
||||
uint32_t max_mod_dtim, max_dtim = 0;
|
||||
uint32_t beacon_interval_mod;
|
||||
struct pmo_psoc_cfg *psoc_cfg = &vdev_ctx->pmo_psoc_ctx->psoc_cfg;
|
||||
struct wlan_objmgr_psoc *psoc = wlan_vdev_get_psoc(vdev);
|
||||
@@ -166,6 +166,11 @@ static QDF_STATUS pmo_core_calculate_listen_interval(
|
||||
*listen_interval = cfg_default(CFG_LISTEN_INTERVAL);
|
||||
}
|
||||
}
|
||||
|
||||
pmo_info("sta dynamic dtim %d sta mod dtim %d sta_max_li_mod_dtim %d max_dtim %d",
|
||||
psoc_cfg->sta_dynamic_dtim, psoc_cfg->sta_mod_dtim,
|
||||
psoc_cfg->sta_max_li_mod_dtim, max_dtim);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
@@ -141,13 +141,13 @@
|
||||
* <ini>
|
||||
* gEnableModulatedDTIM - Enable/Disable modulated DTIM feature
|
||||
* @Min: 0
|
||||
* @Max: 5
|
||||
* @Max: 10
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini is used to enable/disable modulated DTIM feature.
|
||||
*
|
||||
* 0 - Disable modulated DTIM.
|
||||
* 1 to 5 - The maximum No. of modulated DTIM period used for calculating the
|
||||
* 1 to 10 - The maximum No. of modulated DTIM period used for calculating the
|
||||
* target listen interval.
|
||||
*
|
||||
* The target listen interval will be updated to firmware when host driver is
|
||||
@@ -163,7 +163,7 @@
|
||||
#define CFG_PMO_ENABLE_MODULATED_DTIM CFG_INI_UINT( \
|
||||
"gEnableModulatedDTIM", \
|
||||
0, \
|
||||
5, \
|
||||
10, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Enable/disable modulated DTIM feature")
|
||||
|
Reference in New Issue
Block a user