summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKabilan Kannan <kabilank@codeaurora.org>2017-01-27 12:36:53 -0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-01 21:25:55 -0800
commit3b0f86ac5108332b0fe241cdca466b63a100ebed (patch)
tree013290b560d44ad2412a2dc841d05c9ec00549db
parentb66fe52d0fea6c124ef0b8eaff2571cc53ef57aa (diff)
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
-rw-r--r--target/inc/wlan_tgt_def_config.h4
-rw-r--r--target/inc/wlan_tgt_def_config_hl.h4
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
*/