summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbian <gbian@qti.qualcomm.com>2016-06-02 10:29:49 +0800
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-06-06 18:34:51 +0530
commit4bade3e944e970c6cb489959e080a3702b7e56b1 (patch)
treec0ec7a53143a309a7cbdc517b0fefc7f869a0fe9
parent911c07dd2becbda3707e4369f967dfcd7ecd7b0e (diff)
qcacld-2.0: Fix 32 clients support issue in AP+AP mode
Fail to allocate local peer id when connecting the last 32th station in AP+AP mode. The reason is the OL_TXRX_NUM_LOCAL_PEER_IDS is defined to 33, but each AP's peer will occupy one ID. So the remainder are not enough, change this macro to 34 will fix this issue. Change-Id: Ie5b63b6885fd7f2d4f941b6ffad43cbac57040e5 CRs-Fixed: 1022956
-rw-r--r--CORE/CLD_TXRX/TXRX/ol_txrx_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/CORE/CLD_TXRX/TXRX/ol_txrx_types.h b/CORE/CLD_TXRX/TXRX/ol_txrx_types.h
index 37894217dd8d..466db8462415 100644
--- a/CORE/CLD_TXRX/TXRX/ol_txrx_types.h
+++ b/CORE/CLD_TXRX/TXRX/ol_txrx_types.h
@@ -360,7 +360,12 @@ struct ol_tx_sched_t;
typedef struct ol_tx_sched_t *ol_tx_sched_handle;
#ifndef OL_TXRX_NUM_LOCAL_PEER_IDS
-#define OL_TXRX_NUM_LOCAL_PEER_IDS 33 /* default */
+
+/*
+ * Each AP will occupy one ID, so it will occupy two IDs for AP-AP mode.
+ * And the remainder IDs will be assigned to other 32 clients.
+ */
+#define OL_TXRX_NUM_LOCAL_PEER_IDS (2 + 32)
#endif
#ifndef ol_txrx_local_peer_id_t