Преглед изворни кода

qcacld-3.0: Increase max vdev number in target config

Currently the max vdev value for roaming, beacon offload and
beacon miss offload is 2, this causes crash when creating
multiple vdev interfaces as now DBS concurrency is supported.
Change the max vdev value to 3 for various offload features and
change the max vdev supported value to 4.

Change-Id: I57ddfa384bdba3ae7f9207551d28be75d500e7bf
CRs-fixed: 938798
Peng Xu пре 9 година
родитељ
комит
f9008d617a
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6 6
      target/inc/wlan_tgt_def_config.h

+ 6 - 6
target/inc/wlan_tgt_def_config.h

@@ -35,8 +35,8 @@
 /*
 /*
  * default limit of 8 VAPs per device.
  * default limit of 8 VAPs per device.
  */
  */
-/* Rome PRD support 3 vdevs */
-#define CFG_TGT_NUM_VDEV                3
+/* Rome PRD support 4 vdevs */
+#define CFG_TGT_NUM_VDEV                4
 
 
 /*
 /*
  * We would need 1 AST entry per peer. Scale it by a factor of 2 to minimize hash collisions.
  * We would need 1 AST entry per peer. Scale it by a factor of 2 to minimize hash collisions.
@@ -130,16 +130,16 @@
 #define CFG_TGT_DEFAULT_SCAN_MAX_REQS   0x4
 #define CFG_TGT_DEFAULT_SCAN_MAX_REQS   0x4
 
 
 /* maximum number of VDEV that could use BMISS offload */
 /* maximum number of VDEV that could use BMISS offload */
-#define CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV   0x2
+#define CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV   0x3
 
 
 /* maximum number of VDEV offload Roaming to support */
 /* maximum number of VDEV offload Roaming to support */
-#define CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV   0x2
+#define CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV   0x3
 
 
 /* maximum number of AP profiles pushed to offload Roaming */
 /* maximum number of AP profiles pushed to offload Roaming */
 #define CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_PROFILES   0x8
 #define CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_PROFILES   0x8
 
 
 /* maximum number of VDEV offload GTK to support */
 /* maximum number of VDEV offload GTK to support */
-#define CFG_TGT_DEFAULT_GTK_OFFLOAD_MAX_VDEV   0x2
+#define CFG_TGT_DEFAULT_GTK_OFFLOAD_MAX_VDEV   0x3
 
 
 /* default: mcast->ucast disabled if ATH_SUPPORT_MCAST2UCAST not defined */
 /* default: mcast->ucast disabled if ATH_SUPPORT_MCAST2UCAST not defined */
 #ifndef ATH_SUPPORT_MCAST2UCAST
 #ifndef ATH_SUPPORT_MCAST2UCAST
@@ -186,7 +186,7 @@
 /*
 /*
  * Maximum number of VDEV that beacon tx offload will support
  * Maximum number of VDEV that beacon tx offload will support
  */
  */
-#define CFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV 2
+#define CFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV 3
 
 
 /*
 /*
  * number of vdevs that can support tdls
  * number of vdevs that can support tdls