Skip to content

Commit aad1fd7

Browse files
RyanHsukvalo
authored andcommitted
ath10k: bump up FW API to 6
For QCA6174 hw3.0, since WLAN.RM.4.4-00022-QCARMSWPZ-2, it starts to support the board ID information from otp, with some devices released on the market that didn't calibrated with OTP, will have 0 for board ID information, which cause the backward compatibility issue and was fixed in commit 'd2e202c06ca4 ("ath10k: ignore configuring the incorrect board_id")' So bump the fw api version to differentiate the latest firmware support. Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
1 parent a4aab09 commit aad1fd7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/net/wireless/ath/ath10k/hw.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ enum qca9377_chip_id_rev {
129129
#define QCA4019_HW_1_0_PATCH_LOAD_ADDR 0x1234
130130

131131
#define ATH10K_FW_FILE_BASE "firmware"
132-
#define ATH10K_FW_API_MAX 5
132+
#define ATH10K_FW_API_MAX 6
133133
#define ATH10K_FW_API_MIN 2
134134

135135
#define ATH10K_FW_API2_FILE "firmware-2.bin"
@@ -141,6 +141,9 @@ enum qca9377_chip_id_rev {
141141
/* HTT id conflict fix for management frames over HTT */
142142
#define ATH10K_FW_API5_FILE "firmware-5.bin"
143143

144+
/* the firmware-6.bin blob */
145+
#define ATH10K_FW_API6_FILE "firmware-6.bin"
146+
144147
#define ATH10K_FW_UTF_FILE "utf.bin"
145148
#define ATH10K_FW_UTF_API2_FILE "utf-2.bin"
146149

drivers/net/wireless/ath/ath10k/pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3428,6 +3428,7 @@ MODULE_FIRMWARE(QCA6174_HW_2_1_FW_DIR "/" ATH10K_BOARD_API2_FILE);
34283428
/* QCA6174 3.1 firmware files */
34293429
MODULE_FIRMWARE(QCA6174_HW_3_0_FW_DIR "/" ATH10K_FW_API4_FILE);
34303430
MODULE_FIRMWARE(QCA6174_HW_3_0_FW_DIR "/" ATH10K_FW_API5_FILE);
3431+
MODULE_FIRMWARE(QCA6174_HW_3_0_FW_DIR "/" ATH10K_FW_API6_FILE);
34313432
MODULE_FIRMWARE(QCA6174_HW_3_0_FW_DIR "/" QCA6174_HW_3_0_BOARD_DATA_FILE);
34323433
MODULE_FIRMWARE(QCA6174_HW_3_0_FW_DIR "/" ATH10K_BOARD_API2_FILE);
34333434

0 commit comments

Comments
 (0)