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

Commit 469828ce authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Assign one MSI for wakeup purpose



Assign 1 MSI to WLAN host driver which will be used as wakeup source
for firmware to trigger host resume. Reduce MSIs for copy engine from
12 to 11.

Change-Id: Icaa3fd8a4705151b6f21ad244bf77162a2aae830
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent aa2cd681
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -791,10 +791,11 @@ static void __iomem *cnss_pci_iomap(struct pci_dev *dev, int bar,


static struct cnss_msi_config msi_config = {
static struct cnss_msi_config msi_config = {
	.total_vectors = 32,
	.total_vectors = 32,
	.total_users = 3,
	.total_users = 4,
	.users = (struct cnss_msi_user[]) {
	.users = (struct cnss_msi_user[]) {
		{ .name = "MHI", .num_vectors = 2, .base_vector = 0 },
		{ .name = "MHI", .num_vectors = 2, .base_vector = 0 },
		{ .name = "CE", .num_vectors = 12, .base_vector = 2 },
		{ .name = "CE", .num_vectors = 11, .base_vector = 2 },
		{ .name = "WAKE", .num_vectors = 1, .base_vector = 13 },
		{ .name = "DP", .num_vectors = 18, .base_vector = 14 },
		{ .name = "DP", .num_vectors = 18, .base_vector = 14 },
	},
	},
};
};