summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYun Park <yunp@qca.qualcomm.com>2015-04-05 16:00:47 -0700
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2015-08-26 15:58:16 +0530
commit6748eba79c90919cfcdaa16a8b7073ee4fc103e4 (patch)
tree49d54dd889c3aabeef2a48f9fd32df5954d2ab56
parentdcb91347c5d4fa4b9f649aa304381d38d59f98bf (diff)
Revert "qcacld: Changes to reduce number of TIDS/PEER and num_peer_keys"
This reverts commit 0b7920e9790dec06ff75b1f65a96088bb409917f. Change-Id: I4aae11e747c600ba410eb3eea6b46a72ef8915fa CRs-Fixed: 819150
-rw-r--r--CORE/SERVICES/COMMON/wlan_tgt_def_config.h2
-rw-r--r--CORE/SERVICES/WMA/wma.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SERVICES/COMMON/wlan_tgt_def_config.h b/CORE/SERVICES/COMMON/wlan_tgt_def_config.h
index 258bbee8c87f..8989f03207e7 100644
--- a/CORE/SERVICES/COMMON/wlan_tgt_def_config.h
+++ b/CORE/SERVICES/COMMON/wlan_tgt_def_config.h
@@ -101,7 +101,7 @@
/*
* keys per peer node
*/
-#define CFG_TGT_NUM_PEER_KEYS 1
+#define CFG_TGT_NUM_PEER_KEYS 2
/*
* total number of data TX and RX TIDs
*/
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index bba9a6cd890d..76d8579d97a4 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -1300,7 +1300,7 @@ static v_VOID_t wma_set_default_tgt_config(tp_wma_handle wma_handle)
}
no_of_peers_supported = ol_get_number_of_peers_supported(scn);
tgt_cfg.num_peers = no_of_peers_supported + CFG_TGT_NUM_VDEV + 2;
- tgt_cfg.num_tids = no_of_peers_supported + CFG_TGT_NUM_VDEV + 2;
+ tgt_cfg.num_tids = (2 * (no_of_peers_supported + CFG_TGT_NUM_VDEV + 2));
WMITLV_SET_HDR(&tgt_cfg.tlv_header,WMITLV_TAG_STRUC_wmi_resource_config,
WMITLV_GET_STRUCT_TLVLEN(wmi_resource_config));