wlan-ap-Telecominfraproject/feeds/ipq807x/mac80211/patches/142-ath11k-change-qdss-config-bi-location.patch
John Crispin 3affbc1cad QualComm/AX: add Hawkeye and Cypress support
This series is based on
* 2020-07-10 ipq6018-ilq-11-0_qca_oem-034672b0676c37b1f4519e5720e18e95fe6236ef

Add support for
* qsdk kernel/v4.4
* qsdk ethernet subsystem
* v5.7 ath11k backport + QualComm staging patches (wlan_ap_1.0)
* ath11k-firmware
* hostapd/iw/...

Feature support
* full boot, system detection
* sysupgrade to nand
* HE support via latest hostapd
* driver support for usb, crypto, hwmon, cpufreq, ...

Missing
* NSS/HW flow offloading - FW blob is not redistributable

Using the qsdk v4.4 is an intermediate solution while the vanilla is being
tested. Vanilla kernel is almost on feature par. Work has already started
to upstream the ethernet and switch drivers. Once complete the target will
be fully upstream.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-23 18:54:03 +02:00

26 lines
1.1 KiB
Diff

Index: backports-20191227-4.4.60-b805aa84b44f/drivers/net/wireless/ath/ath11k/qmi.c
===================================================================
--- backports-20191227-4.4.60-b805aa84b44f.orig/drivers/net/wireless/ath/ath11k/qmi.c
+++ backports-20191227-4.4.60-b805aa84b44f/drivers/net/wireless/ath/ath11k/qmi.c
@@ -1813,11 +1813,17 @@ static int ath11k_qmi_send_qdss_config(s
int ret;
snprintf(filename, sizeof(filename),
- "%s", ATH11K_QMI_DEFAULT_QDSS_CONFIG_FILE_NAME);
+ "%s/%s", ab->hw_params.fw.dir, ATH11K_QMI_DEFAULT_QDSS_CONFIG_FILE_NAME);
ret = request_firmware(&fw_entry, filename, dev);
if (ret) {
- ath11k_warn(ab, "qmi failed to load QDSS config: %s\n", filename);
- return ret;
+ /* for backward compatability */
+ snprintf(filename, sizeof(filename),
+ "%s", ATH11K_QMI_DEFAULT_QDSS_CONFIG_FILE_NAME);
+ ret = request_firmware(&fw_entry, filename, dev);
+ if (ret) {
+ ath11k_warn(ab, "qmi failed to load QDSS config: %s\n", filename);
+ return ret;
+ }
}
ret = wlfw_send_qdss_trace_config_download_req(ab, fw_entry->data,