mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] wifi: ath11k: fix rssi station dump for IPQ5018 and QCN6122
@ 2025-11-25 14:28 Christian Marangi
  2026-08-15  2:59 ` George Moussalem
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Marangi @ 2025-11-25 14:28 UTC (permalink / raw)
  To: Jeff Johnson, Kalle Valo, P Praneesh, linux-wireless, ath11k,
	linux-kernel
  Cc: Christian Marangi, Scott Mercer

Commit 031ffa6c2cd3 ("wifi: ath11k: fix rssi station dump not updated in
QCN9074") didn't account for IPQ5018 and QCN6122 WiFi card that are
based on QCN9074.

Update the .mpdu_info_get_peerid to use the QCN9074 variant to correctly
receive consistent RSSI station data.

Reported-by: Scott Mercer <TheRootEd24@gmail.com>
Suggested-by: Scott Mercer <TheRootEd24@gmail.com>
Tested-by: Scott Mercer <TheRootEd24@gmail.com>
Fixes: 031ffa6c2cd3 ("wifi: ath11k: fix rssi station dump not updated in QCN9074")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 drivers/net/wireless/ath/ath11k/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath11k/hw.c b/drivers/net/wireless/ath/ath11k/hw.c
index caa6dc12a790..05d7acbbab56 100644
--- a/drivers/net/wireless/ath/ath11k/hw.c
+++ b/drivers/net/wireless/ath/ath11k/hw.c
@@ -1175,7 +1175,7 @@ const struct ath11k_hw_ops ipq5018_ops = {
 	.rx_desc_get_attention = ath11k_hw_qcn9074_rx_desc_get_attention,
 	.reo_setup = ath11k_hw_ipq5018_reo_setup,
 	.rx_desc_get_msdu_payload = ath11k_hw_qcn9074_rx_desc_get_msdu_payload,
-	.mpdu_info_get_peerid = ath11k_hw_ipq8074_mpdu_info_get_peerid,
+	.mpdu_info_get_peerid = ath11k_hw_qcn9074_mpdu_info_get_peerid,
 	.rx_desc_mac_addr2_valid = ath11k_hw_ipq9074_rx_desc_mac_addr2_valid,
 	.rx_desc_mpdu_start_addr2 = ath11k_hw_ipq9074_rx_desc_mpdu_start_addr2,
 	.get_ring_selector = ath11k_hw_ipq8074_get_tcl_ring_selector,
-- 
2.51.0


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

* Re: [PATCH] wifi: ath11k: fix rssi station dump for IPQ5018 and QCN6122
  2025-11-25 14:28 [PATCH] wifi: ath11k: fix rssi station dump for IPQ5018 and QCN6122 Christian Marangi
@ 2026-08-15  2:59 ` George Moussalem
  0 siblings, 0 replies; 2+ messages in thread
From: George Moussalem @ 2026-08-15  2:59 UTC (permalink / raw)
  To: Christian Marangi, Jeff Johnson, Kalle Valo, P Praneesh,
	linux-wireless, ath11k, linux-kernel
  Cc: Scott Mercer

Hi all,

On 11/25/25 18:28, Christian Marangi wrote:
> Commit 031ffa6c2cd3 ("wifi: ath11k: fix rssi station dump not updated in
> QCN9074") didn't account for IPQ5018 and QCN6122 WiFi card that are
> based on QCN9074.
> 
> Update the .mpdu_info_get_peerid to use the QCN9074 variant to correctly
> receive consistent RSSI station data.

Is there anything preventing this fix to be reviewed/merged?
I've also tested this and can confirm it's working flawlessly, so:

Tested-by: George Moussalem <george.moussalem@outlook.com>

> 
> Reported-by: Scott Mercer <TheRootEd24@gmail.com>
> Suggested-by: Scott Mercer <TheRootEd24@gmail.com>
> Tested-by: Scott Mercer <TheRootEd24@gmail.com>
> Fixes: 031ffa6c2cd3 ("wifi: ath11k: fix rssi station dump not updated in QCN9074")
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
>  drivers/net/wireless/ath/ath11k/hw.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/ath/ath11k/hw.c b/drivers/net/wireless/ath/ath11k/hw.c
> index caa6dc12a790..05d7acbbab56 100644
> --- a/drivers/net/wireless/ath/ath11k/hw.c
> +++ b/drivers/net/wireless/ath/ath11k/hw.c
> @@ -1175,7 +1175,7 @@ const struct ath11k_hw_ops ipq5018_ops = {
>  	.rx_desc_get_attention = ath11k_hw_qcn9074_rx_desc_get_attention,
>  	.reo_setup = ath11k_hw_ipq5018_reo_setup,
>  	.rx_desc_get_msdu_payload = ath11k_hw_qcn9074_rx_desc_get_msdu_payload,
> -	.mpdu_info_get_peerid = ath11k_hw_ipq8074_mpdu_info_get_peerid,
> +	.mpdu_info_get_peerid = ath11k_hw_qcn9074_mpdu_info_get_peerid,
>  	.rx_desc_mac_addr2_valid = ath11k_hw_ipq9074_rx_desc_mac_addr2_valid,
>  	.rx_desc_mpdu_start_addr2 = ath11k_hw_ipq9074_rx_desc_mpdu_start_addr2,
>  	.get_ring_selector = ath11k_hw_ipq8074_get_tcl_ring_selector,


Best regards,
George

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

end of thread, other threads:[~2026-08-15  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-25 14:28 [PATCH] wifi: ath11k: fix rssi station dump for IPQ5018 and QCN6122 Christian Marangi
2026-08-15  2:59 ` George Moussalem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®