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

When ath12k send TWT disable command to firmware, firmware will return a
TWT disable event to ath12k. Through the analysis of TWT disable event
status, we can easily obtain the status of TWT disable 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-3-quic_lingbok@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h