diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2015-01-29 07:24:33 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-02-04 02:22:01 -0500 |
commit | 608b8f736bf520649ced45b0fdabf847be8e5e55 (patch) | |
tree | 74e63e714fa2a1e9fe986c2179084e7547720f93 /drivers/net | |
parent | 467210a67b8e4e63dc7fb0bc9aca21e412f32da5 (diff) |
ath10k: enable qca6174 hw3.2
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 15 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath10k/hw.h | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 5e9e1a6958f4..310e12bc078a 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c | |||
@@ -85,6 +85,21 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { | |||
85 | .board_ext_size = QCA6174_BOARD_EXT_DATA_SZ, | 85 | .board_ext_size = QCA6174_BOARD_EXT_DATA_SZ, |
86 | }, | 86 | }, |
87 | }, | 87 | }, |
88 | { | ||
89 | .id = QCA6174_HW_3_2_VERSION, | ||
90 | .name = "qca6174 hw3.2", | ||
91 | .patch_load_addr = QCA6174_HW_3_0_PATCH_LOAD_ADDR, | ||
92 | .uart_pin = 6, | ||
93 | .fw = { | ||
94 | /* uses same binaries as hw3.0 */ | ||
95 | .dir = QCA6174_HW_3_0_FW_DIR, | ||
96 | .fw = QCA6174_HW_3_0_FW_FILE, | ||
97 | .otp = QCA6174_HW_3_0_OTP_FILE, | ||
98 | .board = QCA6174_HW_3_0_BOARD_DATA_FILE, | ||
99 | .board_size = QCA6174_BOARD_DATA_SZ, | ||
100 | .board_ext_size = QCA6174_BOARD_EXT_DATA_SZ, | ||
101 | }, | ||
102 | }, | ||
88 | }; | 103 | }; |
89 | 104 | ||
90 | static void ath10k_send_suspend_complete(struct ath10k *ar) | 105 | static void ath10k_send_suspend_complete(struct ath10k *ar) |
diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h index 577127844ec8..460771fcfe9e 100644 --- a/drivers/net/wireless/ath/ath10k/hw.h +++ b/drivers/net/wireless/ath/ath10k/hw.h | |||
@@ -40,6 +40,7 @@ | |||
40 | #define QCA6174_HW_1_3_VERSION 0x05000003 | 40 | #define QCA6174_HW_1_3_VERSION 0x05000003 |
41 | #define QCA6174_HW_2_1_VERSION 0x05010000 | 41 | #define QCA6174_HW_2_1_VERSION 0x05010000 |
42 | #define QCA6174_HW_3_0_VERSION 0x05020000 | 42 | #define QCA6174_HW_3_0_VERSION 0x05020000 |
43 | #define QCA6174_HW_3_2_VERSION 0x05030000 | ||
43 | 44 | ||
44 | enum qca6174_pci_rev { | 45 | enum qca6174_pci_rev { |
45 | QCA6174_PCI_REV_1_1 = 0x11, | 46 | QCA6174_PCI_REV_1_1 = 0x11, |