[PATCH 2/3] wifi: ath11k: Align RX MPDU info with the hardware for WCN6750
From: Youghandhar Chintala
Date: Tue Apr 04 2023 - 03:23:32 EST
Currently on WCN6750, we are seeing an issue where signal average field
value in station dump is incorrect. This is because RX MPDU info fields
in the driver are not properly aligned with the hardware. Due to this,
we get an invalid peer id while processing the peer stats, and the
signal avg value will not be updated.
Fix this by aligning the RX MPDU info in the driver with the hardware.
Change is applicable for WCN6855 as well.
Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
Signed-off-by: Youghandhar Chintala <quic_youghand@xxxxxxxxxxx>
---
drivers/net/wireless/ath/ath11k/hal_rx.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.h b/drivers/net/wireless/ath/ath11k/hal_rx.h
index f6bae07abfd3..1d5f92611b85 100644
--- a/drivers/net/wireless/ath/ath11k/hal_rx.h
+++ b/drivers/net/wireless/ath/ath11k/hal_rx.h
@@ -414,9 +414,9 @@ struct hal_rx_mpdu_info {
} __packed;
struct hal_rx_mpdu_info_wcn6855 {
- __le32 rsvd0[8];
+ __le32 rsvd0[10];
__le32 info0;
- __le32 rsvd1[14];
+ __le32 rsvd1[12];
} __packed;
#define HAL_RX_PPDU_END_DURATION GENMASK(23, 0)
--
2.38.0