Message ID | 20240828103043.2413-1-quic_bpothuno@quicinc.com |
---|---|
State | New |
Headers | show |
Series | wifi: ath11k: enable fw_wmi_diag_event hw param for WCN6750 | expand |
Balaji Pothunoori <quic_bpothuno@quicinc.com> wrote: > 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> Patch applied to ath-next branch of ath.git, thanks. c9c6a4f1be1f wifi: ath11k: enable fw_wmi_diag_event hw param for WCN6750
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c index 03187df26000..6bc10cbb493e 100644 --- a/drivers/net/wireless/ath/ath11k/core.c +++ b/drivers/net/wireless/ath/ath11k/core.c @@ -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,
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> --- drivers/net/wireless/ath/ath11k/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)