ath10k: enable qca6174 hw3.2
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 29 Jan 2015 12:24:33 +0000 (13:24 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Feb 2015 07:22:01 +0000 (09:22 +0200)
The 3.2 revision has a different target BMI
version so it wasn't recognized by ath10k (despite
the chip_id rev being on the supported list
already).

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/hw.h

index 5e9e1a6958f481ba3a8a8548ec1df13873f3b234..310e12bc078a6e47dd9f52637db92c1efed6d227 100644 (file)
@@ -85,6 +85,21 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
                        .board_ext_size = QCA6174_BOARD_EXT_DATA_SZ,
                },
        },
+       {
+               .id = QCA6174_HW_3_2_VERSION,
+               .name = "qca6174 hw3.2",
+               .patch_load_addr = QCA6174_HW_3_0_PATCH_LOAD_ADDR,
+               .uart_pin = 6,
+               .fw = {
+                       /* uses same binaries as hw3.0 */
+                       .dir = QCA6174_HW_3_0_FW_DIR,
+                       .fw = QCA6174_HW_3_0_FW_FILE,
+                       .otp = QCA6174_HW_3_0_OTP_FILE,
+                       .board = QCA6174_HW_3_0_BOARD_DATA_FILE,
+                       .board_size = QCA6174_BOARD_DATA_SZ,
+                       .board_ext_size = QCA6174_BOARD_EXT_DATA_SZ,
+               },
+       },
 };
 
 static void ath10k_send_suspend_complete(struct ath10k *ar)
index 577127844ec8e9591246584dd26abd4b10d0bdae..460771fcfe9ea8507f3316910f9815a2281c632d 100644 (file)
@@ -40,6 +40,7 @@
 #define QCA6174_HW_1_3_VERSION         0x05000003
 #define QCA6174_HW_2_1_VERSION         0x05010000
 #define QCA6174_HW_3_0_VERSION         0x05020000
+#define QCA6174_HW_3_2_VERSION         0x05030000
 
 enum qca6174_pci_rev {
        QCA6174_PCI_REV_1_1 = 0x11,
This page took 0.025983 seconds and 5 git commands to generate.