From 42c9c4c6111544d331194d5449216c23ac95b70b Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Wed, 1 Feb 2017 13:09:58 -0800 Subject: [PATCH] fw-api: Restrict the maximum number of TDLS peers to 8 Currently the maximum number of TDLS peers supported is 32 in the firmware. But in ideal use cases, we are not using more than 4 and the remaining 28 is un used. Restrict the maximum supported TDLS peers to 8 to save the memory. Change-Id: Id9d753eefb6ce15ca164e3119707062ed14d1b06 CRs-Fixed: 1116974 --- fw/wlan_tgt_def_config.h | 2 +- fw/wlan_tgt_def_config_hl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fw/wlan_tgt_def_config.h b/fw/wlan_tgt_def_config.h index 40e0e9d843d3..b0f6ae67a639 100644 --- a/fw/wlan_tgt_def_config.h +++ b/fw/wlan_tgt_def_config.h @@ -198,7 +198,7 @@ /* * number of peers that each Tdls vdev can track */ -#define CFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES 32 +#define CFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES 8 /* * number of TDLS concurrent sleep STAs diff --git a/fw/wlan_tgt_def_config_hl.h b/fw/wlan_tgt_def_config_hl.h index cf28f06c82be..dbd6280825df 100644 --- a/fw/wlan_tgt_def_config_hl.h +++ b/fw/wlan_tgt_def_config_hl.h @@ -221,7 +221,7 @@ /* * number of peers that each Tdls vdev can track */ -#define CFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES 32 +#define CFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES 8 /* * number of TDLS concurrent sleep STAs */