mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-24 21:02:35 +00:00
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 05b51620f317b180ffc1edd27c77fb3e87f7f66d Mon Sep 17 00:00:00 2001
|
|
From: P Praneesh <quic_ppranees@quicinc.com>
|
|
Date: Mon, 3 Jan 2022 12:36:46 +0530
|
|
Subject: [PATCH 10/14] ath12k: WAR disable caldata since it is not supported
|
|
by fw
|
|
|
|
Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
|
|
---
|
|
drivers/net/wireless/ath/ath12k/qmi.c | 1 +
|
|
drivers/net/wireless/ath/ath12k/qmi.h | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath12k/qmi.c
|
|
+++ b/drivers/net/wireless/ath/ath12k/qmi.c
|
|
@@ -2682,6 +2682,9 @@ static int ath12k_qmi_load_bdf_qmi(struc
|
|
goto out;
|
|
}
|
|
|
|
+ ret = 0;
|
|
+ goto out;
|
|
+
|
|
file_type = ATH12K_QMI_FILE_TYPE_CALDATA;
|
|
|
|
/* cal-<bus>-<id>.bin */
|
|
--- a/drivers/net/wireless/ath/ath12k/qmi.h
|
|
+++ b/drivers/net/wireless/ath/ath12k/qmi.h
|
|
@@ -22,7 +22,7 @@
|
|
#define ATH12K_QMI_WLANFW_MAX_TIMESTAMP_LEN_V01 32
|
|
#define ATH12K_QMI_RESP_LEN_MAX 8192
|
|
#define ATH12K_QMI_WLANFW_MAX_NUM_MEM_SEG_V01 52
|
|
-#define ATH12K_QMI_CALDB_SIZE 0x480000
|
|
+#define ATH12K_QMI_CALDB_SIZE 0x800000
|
|
#define ATH12K_QMI_BDF_EXT_STR_LENGTH 0x20
|
|
#define ATH12K_QMI_FW_MEM_REQ_SEGMENT_CNT 3
|
|
#define ATH12K_QMI_WLFW_MAX_DEV_MEM_NUM_V01 4
|