summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Hsu2017-03-08 12:52:05 +0100
committerKalle Valo2017-03-09 08:55:54 +0100
commit912b6e8850a51a09ec771aedf2b4428ac9b34e20 (patch)
tree5931ea46fe3fa3489a7ca6259e4453b4a8f197df
parentath10k: improve the firmware download time for QCA6174 (diff)
downloadkernel-qcow2-linux-912b6e8850a51a09ec771aedf2b4428ac9b34e20.tar.gz
kernel-qcow2-linux-912b6e8850a51a09ec771aedf2b4428ac9b34e20.tar.xz
kernel-qcow2-linux-912b6e8850a51a09ec771aedf2b4428ac9b34e20.zip
ath10k: improve the firmware download time for QCA9377
QCA9377 is the family of QCA61x4 which shared the same procedure to enable the hardware clock that could improve the firmware download time. Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath10k/core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 9916c428d02c..f450ebbb28d5 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -282,7 +282,9 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
.board_size = QCA9377_BOARD_DATA_SZ,
.board_ext_size = QCA9377_BOARD_EXT_DATA_SZ,
},
- .hw_ops = &qca988x_ops,
+ .hw_ops = &qca6174_ops,
+ .hw_clk = qca6174_clk,
+ .target_cpu_freq = 176000000,
.decap_align_bytes = 4,
},
{