OSDN Git Service

ath10k: increase max client to 512 in qca99x0
authorRaja Mani <rmani@qti.qualcomm.com>
Wed, 29 Jul 2015 08:40:38 +0000 (11:40 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 30 Jul 2015 13:54:57 +0000 (16:54 +0300)
When max client was set to 512 in qca99x0, there was host memory
alloc failure during wmi service ready event handling. This issue
got resolved now, increasing max client limit from 256 to 512.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/hw.h

index 7bfb9e2..d9de4a7 100644 (file)
@@ -360,10 +360,7 @@ enum ath10k_hw_rate_cck {
                                                 (TARGET_10_4_NUM_VDEVS))
 #define TARGET_10_4_ACTIVE_PEERS               0
 
-/* TODO: increase qcache max client limit to 512 after
- * testing with 512 client.
- */
-#define TARGET_10_4_NUM_QCACHE_PEERS_MAX       256
+#define TARGET_10_4_NUM_QCACHE_PEERS_MAX       512
 #define TARGET_10_4_QCACHE_ACTIVE_PEERS                50
 #define TARGET_10_4_NUM_OFFLOAD_PEERS          0
 #define TARGET_10_4_NUM_OFFLOAD_REORDER_BUFFS  0