Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b95484fb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss: Update pre-allocation table"

parents da927655 0576c725
Loading
Loading
Loading
Loading
+36 −8
Original line number Diff line number Diff line
@@ -31,16 +31,44 @@ static struct wcnss_prealloc wcnss_allocs[] = {
	{0, 8  * 1024, NULL},
	{0, 8  * 1024, NULL},
	{0, 8  * 1024, NULL},
	{0, 8  * 1024, NULL},
	{0, 8  * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 12 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 16 * 1024, NULL},
	{0, 24 * 1024, NULL},
	{0, 24 * 1024, NULL},
	{0, 32 * 1024, NULL},
	{0, 32 * 1024, NULL},
	{0, 32 * 1024, NULL},
@@ -51,8 +79,7 @@ static struct wcnss_prealloc wcnss_allocs[] = {
	{0, 32 * 1024, NULL},
	{0, 64 * 1024, NULL},
	{0, 64 * 1024, NULL},
	{0, 64 * 1024, NULL},
	{0, 64 * 1024, NULL},
	{0, 76 * 1024, NULL},
};

int wcnss_prealloc_init(void)
@@ -97,6 +124,7 @@ void *wcnss_prealloc_get(unsigned int size)
		}
	}
	spin_unlock_irqrestore(&alloc_lock, flags);
	WARN_ON(1);
	pr_err("wcnss: %s: prealloc not available for size: %d\n",
			__func__, size);