2018-02-09 00:21:51

by Ryan Hsu

[permalink] [raw]
Subject: [PATCH] ath10k: update the IRAM banks number for QCA9377

From: Ryan Hsu <[email protected]>

QCA9377 firmware update the IRAM banks from 4 to 9.

Signed-off-by: Ryan Hsu <[email protected]>
---
drivers/net/wireless/ath/ath10k/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index 355db6a..0c1029c 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2216,7 +2216,7 @@ static int ath10k_pci_get_num_banks(struct ath10k *ar)
}
break;
case QCA9377_1_0_DEVICE_ID:
- return 4;
+ return 9;
}

ath10k_warn(ar, "unknown number of banks, assuming 1\n");
--
1.9.1


2018-02-27 16:44:59

by Kalle Valo

[permalink] [raw]
Subject: Re: ath10k: update the IRAM banks number for QCA9377

[email protected] wrote:

> Preparation for a new QCA9377 firmware release. The new firmware release
> requires more IRAM banks, hence update that on ath10k.
>
> The IRAM banks promotion won't break any backwards compatibility, as those IRAM
> banks were not getting used in previous firmware releases.
>
> Signed-off-by: Ryan Hsu <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

Patch applied to ath-next branch of ath.git, thanks.

fc8b92635f79 ath10k: update the IRAM bank number for QCA9377

--
https://patchwork.kernel.org/patch/10208159/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2018-02-09 09:41:35

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] ath10k: update the IRAM banks number for QCA9377

[email protected] writes:

> From: Ryan Hsu <[email protected]>
>
> QCA9377 firmware update the IRAM banks from 4 to 9.
>
> Signed-off-by: Ryan Hsu <[email protected]>

As we discussed offline, I'll update the commit log to this:

ath10k: update the IRAM bank number for QCA9377

Prepared for new QCA9377 firmware support. With the new
firmware update, it required more IRAM banks, hence updated it.

The IRAM banks promotion won't break any backward compatibility,
as those IRAM banks were not getting used in previous firmware.

--
Kalle Valo