Message ID | 20241219190845.605116-1-quic_msinada@quicinc.com |
---|---|
State | New |
Headers | show |
Series | wifi: ath12k: set flag for mgmt no-ack frames in Tx completion | expand |
On Thu, 19 Dec 2024 11:08:45 -0800, Muna Sinada wrote: > 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. > > [...] Applied, thanks! [1/1] wifi: ath12k: set flag for mgmt no-ack frames in Tx completion commit: 2d64da9ed5d8cee44a11ed3872dbfa6a914ee2b2 Best regards,
diff --git a/drivers/net/wireless/ath/ath12k/wmi.c b/drivers/net/wireless/ath/ath12k/wmi.c index 562b0615ed06..a098d4303a63 100644 --- a/drivers/net/wireless/ath/ath12k/wmi.c +++ b/drivers/net/wireless/ath/ath12k/wmi.c @@ -5362,6 +5362,9 @@ static int wmi_process_mgmt_tx_comp(struct ath12k *ar, u32 desc_id, if ((!(info->flags & IEEE80211_TX_CTL_NO_ACK)) && !status) info->flags |= IEEE80211_TX_STAT_ACK; + if ((info->flags & IEEE80211_TX_CTL_NO_ACK) && !status) + info->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED; + ieee80211_tx_status_irqsafe(ath12k_ar_to_hw(ar), msdu); num_mgmt = atomic_dec_if_positive(&ar->num_pending_mgmt_tx);