]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: set flag for mgmt no-ack frames in Tx completion
authorRamya Gnanasekar <quic_rgnanase@quicinc.com>
Thu, 19 Dec 2024 19:08:45 +0000 (11:08 -0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Wed, 8 Jan 2025 00:29:59 +0000 (16:29 -0800)
commit2d64da9ed5d8cee44a11ed3872dbfa6a914ee2b2
tree46c258439cf8529fef604ace6df10e15ebcfabb3
parent9035756c18852cf39eeb11b625db094a2c9a4bb9
wifi: ath12k: set flag for mgmt no-ack frames in Tx completion

IEEE80211_TX_STAT_NOACK_TRANSMITTED flag signifies that frame was
successfully transmitted without any errors when no-ack is requested.

In WMI Tx management completion path, driver is not setting
IEEE80211_TX_STAT_NOACK_TRANSMITTED flag for the frames with
IEEE80211_TX_CTL_NO_ACK. Without this flag, the management frame
statistics will not track such frames.

Add IEEE80211_TX_STAT_NOACK_TRANSMITTED flag as part of the flags in
skb transmit information when WMI is processing Tx completion for
management frames.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
Signed-off-by: Muna Sinada <quic_msinada@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241219190845.605116-1-quic_msinada@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/wmi.c