Pārlūkot izejas kodu

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
gbian 8 gadi atpakaļ
vecāks
revīzija
5926db8342
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5 1
      core/dp/txrx/ol_txrx_types.h

+ 5 - 1
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