From 3b0f86ac5108332b0fe241cdca466b63a100ebed Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Fri, 27 Jan 2017 12:36:53 -0800 Subject: qcacld-3.0: 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 --- target/inc/wlan_tgt_def_config.h | 4 ++-- target/inc/wlan_tgt_def_config_hl.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/inc/wlan_tgt_def_config.h b/target/inc/wlan_tgt_def_config.h index 40e0e9d843d3..30b842d5401c 100644 --- a/target/inc/wlan_tgt_def_config.h +++ b/target/inc/wlan_tgt_def_config.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2011, 2014-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -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/target/inc/wlan_tgt_def_config_hl.h b/target/inc/wlan_tgt_def_config_hl.h index cf28f06c82be..b4c5044f6fc8 100644 --- a/target/inc/wlan_tgt_def_config_hl.h +++ b/target/inc/wlan_tgt_def_config_hl.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -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 */ -- cgit v1.2.3