ath11k: update firmware files read path
authorAnilkumar Kolli <akolli@codeaurora.org>
Tue, 16 Jun 2020 08:27:33 +0000 (11:27 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 16 Jun 2020 08:47:16 +0000 (11:47 +0300)
We need this so that all hardware versions can coexist and
it's easier to manage everything then all hardware
directories are under ath11k directory.

Copy ath11k firmware files to
/lib/firmware/ath11k/IPQ8074/hw2.0/

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1591709581-18039-3-git-send-email-akolli@codeaurora.org
drivers/net/wireless/ath/ath11k/hw.h

index dc4434a..6e065c4 100644 (file)
@@ -69,7 +69,7 @@
 #define ATH11K_FW_DIR                  "ath11k"
 
 /* IPQ8074 definitions */
-#define IPQ8074_FW_DIR                 "IPQ8074"
+#define IPQ8074_FW_DIR                 ATH11K_FW_DIR "/IPQ8074/hw2.0"
 #define IPQ8074_MAX_BOARD_DATA_SZ      (256 * 1024)
 #define IPQ8074_MAX_CAL_DATA_SZ                IPQ8074_MAX_BOARD_DATA_SZ