Browse Source

qcacld-3.0: Change the max vdev number to 5

When 32 STAs connected to APUT, crash will happen because of lack
of resource. The max vdev number was decreased by 1 from the value
of 4 because of nan is not supported. Then FW will received the
value of 3 and finally the tid number is not enough. Change the
max value of vdev number to 5 to fix this issue.

Change-Id: Ia212a0b05922530526439206fd70a44f3ce03838
CRs-Fixed: 3064133
Guisen Yang 3 years ago
parent
commit
d73ce958f8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/hdd/inc/hdd_config.h

+ 2 - 2
core/hdd/inc/hdd_config.h

@@ -692,7 +692,7 @@ struct dhcp_server {
  * gNumVdevs - max number of VDEVs supported
  *
  * @Min: 0x1
- * @Max: 0x4
+ * @Max: 0x5
  * @Default: CFG_TGT_NUM_VDEV
  *
  * Usage: External
@@ -702,7 +702,7 @@ struct dhcp_server {
 #define CFG_NUM_VDEV_ENABLE CFG_INI_UINT( \
 		"gNumVdevs", \
 		1, \
-		4, \
+		5, \
 		CFG_TGT_NUM_VDEV, \
 		CFG_VALUE_OR_DEFAULT, \
 		"Number of VDEVs")