wifi: change mem size to support multi wifi [2/2]
authorRongjun Chen <rongjun.chen@amlogic.com>
Thu, 29 Nov 2018 10:40:14 +0000 (18:40 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 24 Dec 2018 02:17:57 +0000 (18:17 -0800)
PD#SWPL-2210

Problem:
multi wifi not support

Solution:
add multi wifi support

Verify:
ampere

Change-Id: Iea32268fd081a71a1ade00e56a2dcecd975da849
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
drivers/amlogic/wifi/dhd_static_buf.c

index 27480d4..5a5ccd3 100644 (file)
@@ -73,9 +73,9 @@ enum dhd_prealloc_index {
 #define DHD_PREALLOC_OSL_BUF_SIZE      (STATIC_BUF_MAX_NUM * STATIC_BUF_SIZE)
 #define DHD_PREALLOC_WIPHY_ESCAN0_SIZE (64 * 1024)
 #define DHD_PREALLOC_DHD_INFO_SIZE     (32 * 1024)
-#define DHD_PREALLOC_MEMDUMP_RAM_SIZE  (898 * 1024)
+#define DHD_PREALLOC_MEMDUMP_RAM_SIZE  (1280 * 1024)
 #define DHD_PREALLOC_DHD_WLFC_HANGER_SIZE      (73 * 1024)
-#define DHD_PREALLOC_WL_ESCAN_INFO_SIZE        (66 * 1024)
+#define DHD_PREALLOC_WL_ESCAN_INFO_SIZE        (67 * 1024)
 #ifdef CONFIG_64BIT
 #define DHD_PREALLOC_IF_FLOW_LKUP_SIZE (20 * 1024 * 2)
 #else