summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>2017-02-03 20:41:20 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-07 06:14:03 -0800
commit0e9ed4cf132685f28cb23c0bace4cef69a3185d7 (patch)
treeaa35870275677bfb769d29fc2c620f863987d402
parent01e31721d2cea395c19a5333a5dee45b24babaa1 (diff)
ath10k: Skip reading of firmware-5.bin file
In WCN3990, currently firmware gets loaded via non bmi procedure. Since, firmware-5.bin file is not needed, this change skip parsing and loading of the same. CRs-Fixed: 2002151 Change-Id: I7e02349d73d333296b7beefa4c9cfc435de8f1a4 Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
-rw-r--r--drivers/net/wireless/ath/ath10k/core.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 871329c79a46..4d01846e6115 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -1298,6 +1298,14 @@ err:
static int ath10k_core_fetch_firmware_files(struct ath10k *ar)
{
int ret;
+ struct ath10k_fw_file *fw_file;
+
+ if (!ar->is_bmi && QCA_REV_WCN3990(ar)) {
+ fw_file = &ar->normal_mode_fw.fw_file;
+ fw_file->wmi_op_version = ATH10K_FW_WMI_OP_VERSION_HL_1_0;
+ fw_file->htt_op_version = ATH10K_FW_HTT_OP_VERSION_TLV;
+ return 0;
+ }
if (ar->is_bmi) {
/* calibration file is optional, don't check for any errors */