]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath11k: enable fw_wmi_diag_event hw param for WCN6750
authorBalaji Pothunoori <quic_bpothuno@quicinc.com>
Wed, 28 Aug 2024 10:30:43 +0000 (16:00 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Sat, 28 Sep 2024 09:15:59 +0000 (12:15 +0300)
WCN6750 firmware sends the log messages via WMI_DIAG_EVENTID only
when the host driver enables the same via QMI_WLANFW_WLAN_INI_REQ_V01
QMI message. This is further controlled via fw_wmi_diag_event.
Hence set this flag to true for the firmware to send the logs.
These logs are further collected in the user space through
the trace infrastructure.

Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.2.0.c2-00233-QCAMSLSWPLZ-1

Signed-off-by: Balaji Pothunoori <quic_bpothuno@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240828103043.2413-1-quic_bpothuno@quicinc.com
drivers/net/wireless/ath/ath11k/core.c

index ccf4ad35fdc33523edd1343e2e44017790961931..be67382c00f6df839585015f8de0c0072ef2ffba 100644 (file)
@@ -616,7 +616,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
                .supports_dynamic_smps_6ghz = false,
                .alloc_cacheable_memory = false,
                .supports_rssi_stats = true,
-               .fw_wmi_diag_event = false,
+               .fw_wmi_diag_event = true,
                .current_cc_support = true,
                .dbr_debug_support = false,
                .global_reset = false,