wifi: ath12k: add processing for TWT enable event
authorLingbo Kong <quic_lingbok@quicinc.com>
Mon, 22 Jan 2024 08:53:35 +0000 (03:53 -0500)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 2 Feb 2024 12:38:13 +0000 (14:38 +0200)
commit2f92b22beef74a4051ee04dba390b59080ad85e2
tree996533d689ea5b9ab4cce4a017a5ade2440c2734
parent2d3a7384b9c8ea0b640747176cc01af64cf722ec
wifi: ath12k: add processing for TWT enable event

When ath12k send TWT enable command to firmware, firmware will return a TWT
enable event to ath12k. Through the analysis of TWT enable event status, we
can easily obtain the status of TWT enable command. It can be more
convenient to debug TWT.

This patch works with WCN7850 and QCN9274.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Lingbo Kong <quic_lingbok@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240122085336.3985-2-quic_lingbok@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h