ath12k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wifi: ath12k: remove reserve member of wbm completion structure
@ 2024-03-01  9:19 quic_tmariyap
  2024-03-01 16:53 ` Jeff Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: quic_tmariyap @ 2024-03-01  9:19 UTC (permalink / raw
  To: ath12k; +Cc: linux-wireless

From: Thiraviyam Mariyappan <quic_tmariyap@quicinc.com>

In tx completion, status desc obtained from offsetting the address
from wbm ring. Having reserved 8 bytes in status desc offsets the
address twice and read the values from the incorrect address.
So, removing the reserved 8 bytes from wbm completion structure.

Also this patch is applicable for WCN7850.

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

Signed-off-by: Thiraviyam Mariyappan <quic_tmariyap@quicinc.com>
---
 drivers/net/wireless/ath/ath12k/dp.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath12k/dp.h b/drivers/net/wireless/ath/ath12k/dp.h
index eb2dd408e081..d01fc0b0c9a5 100644
--- a/drivers/net/wireless/ath/ath12k/dp.h
+++ b/drivers/net/wireless/ath/ath12k/dp.h
@@ -387,7 +387,6 @@ struct ath12k_dp {
 #define HTT_TX_WBM_COMP_INFO2_ACK_RSSI		GENMASK(31, 24)
 
 struct htt_tx_wbm_completion {
-	__le32 rsvd0[2];
 	__le32 info0;
 	__le32 info1;
 	__le32 info2;
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-05  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01  9:19 [PATCH] wifi: ath12k: remove reserve member of wbm completion structure quic_tmariyap
2024-03-01 16:53 ` Jeff Johnson
2024-03-05  9:05   ` Thiraviyam Mariyappan (Temp)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).