From 447a2a819fdc981b3e2b24e6bd08f77abc813ea7 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Thu, 3 Sep 2020 12:22:20 -0700 Subject: [PATCH] cnss2: Increase prealloc table to satisfy latest driver requirement WLAN host driver has new memory requirement in order to be loaded and brought up interface. Increase prealloc table accordingly. Change-Id: I44a394dd2c9e9636ec226ccb45fbf8ac6f30ddf3 Signed-off-by: Yue Ma --- .../net/wireless/cnss_prealloc/cnss_prealloc.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/wireless/cnss_prealloc/cnss_prealloc.c b/drivers/net/wireless/cnss_prealloc/cnss_prealloc.c index 4050051c0a12..2ca86450a706 100644 --- a/drivers/net/wireless/cnss_prealloc/cnss_prealloc.c +++ b/drivers/net/wireless/cnss_prealloc/cnss_prealloc.c @@ -61,6 +61,16 @@ static struct wcnss_prealloc wcnss_allocs[] = { {0, 16 * 1024, NULL}, {0, 16 * 1024, NULL}, {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, + {0, 16 * 1024, NULL}, {0, 32 * 1024, NULL}, {0, 32 * 1024, NULL}, {0, 32 * 1024, NULL}, @@ -71,6 +81,11 @@ static struct wcnss_prealloc wcnss_allocs[] = { {0, 64 * 1024, NULL}, {0, 64 * 1024, NULL}, {0, 64 * 1024, NULL}, + {0, 64 * 1024, NULL}, + {0, 64 * 1024, NULL}, + {0, 64 * 1024, NULL}, + {0, 64 * 1024, NULL}, + {0, 128 * 1024, NULL}, }; int wcnss_prealloc_init(void)