mbox series

[v2,0/2] wifi: ath12k: add processing for TWT enable/disable event

Message ID 20240122085336.3985-1-quic_lingbok@quicinc.com
Headers show
Series wifi: ath12k: add processing for TWT enable/disable event | expand

Message

Lingbo Kong Jan. 22, 2024, 8:53 a.m. UTC
This patch set is used for processing TWT enable/disable event. It can be
more convenient to debug TWT.

The patches work with WCN7850 and QCN9274.

v2:
1.Change the call way of ath12k_wmi_tlv_parse_alloc() based on 
wifi: ath12k: refactor ath12k_wmi_tlv_parse_alloc()

Lingbo Kong (2):
  wifi: ath12k: add processing for TWT enable event
  wifi: ath12k: add processing for TWT disable event

 drivers/net/wireless/ath/ath12k/wmi.c | 70 ++++++++++++++++++++++++++-
 drivers/net/wireless/ath/ath12k/wmi.h | 10 ++++
 2 files changed, 78 insertions(+), 2 deletions(-)


base-commit: 8ff464a183f92836d7fd99edceef50a89d8ea797

Comments

Kalle Valo Feb. 2, 2024, 12:36 p.m. UTC | #1
Jeff Johnson <quic_jjohnson@quicinc.com> writes:

> On 1/22/2024 12:53 AM, Lingbo Kong wrote:
>> 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>
>> ---
> [...snip...]
>> diff --git a/drivers/net/wireless/ath/ath12k/wmi.h
>> b/drivers/net/wireless/ath/ath12k/wmi.h
>> index 06e5b9b4049b..7570ef7be38d 100644
>> --- a/drivers/net/wireless/ath/ath12k/wmi.h
>> +++ b/drivers/net/wireless/ath/ath12k/wmi.h
>
> Qualcomm Innovation Center copyright missing 2024
>
> Kalle can probably address this in "pending"

Actually the year 2024 was already there, most likely some other patch
added that.