]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ath10k: improve the firmware download time for QCA9377
authorRyan Hsu <ryanhsu@qca.qualcomm.com>
Wed, 8 Mar 2017 11:52:05 +0000 (13:52 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 9 Mar 2017 07:55:54 +0000 (09:55 +0200)
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>
drivers/net/wireless/ath/ath10k/core.c

index 9916c428d02cd9234831814b79a5585678a3b221..f450ebbb28d5344a9fc8fb6d52f23d3c1e2f5401 100644 (file)
@@ -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,
        },
        {