From 5926db8342c20dea5c4ea3555b8dcd411245546d Mon Sep 17 00:00:00 2001 From: gbian Date: Mon, 10 Oct 2016 17:00:07 +0800 Subject: [PATCH] qcacld-3.0: Fix 32 clients support issue in AP+AP mode qcacld-2.0 to qcacld-3.0 propagation 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: 1085367 --- core/dp/txrx/ol_txrx_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/dp/txrx/ol_txrx_types.h b/core/dp/txrx/ol_txrx_types.h index ee1bfb309a37..898fb983660c 100644 --- a/core/dp/txrx/ol_txrx_types.h +++ b/core/dp/txrx/ol_txrx_types.h @@ -353,7 +353,11 @@ struct ol_tx_sched_t; #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