Skip to contentSkip to conversation

wifi: ath11k: fix rssi station dump for IPQ5018 and QCN6122

PATCH In review Christian Marangi 2 participants 2 messages Nov 25, 2025 – Aug 15 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: ath11k: fix rssi station dump for IPQ5018 and QCN6122

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.

Fixes 031ffa6c2cd3 ("wifi: ath11k: fix rssi station dump not updated in QCN9074")
---
 drivers/net/wireless/ath/ath11k/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/hw.c +1 -1
index caa6dc12a790..05d7acbbab56 100644
@@ -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,
Signature · 1 line
2.51.0
Tested-by on v1 1/1
#1 lore raw

Hi all,

Quoted 6 lines · Christian Marangi

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:

Quoted 15 lines
Fixes 031ffa6c2cd3 ("wifi: ath11k: fix rssi station dump not updated in QCN9074")
---
 drivers/net/wireless/ath/ath11k/hw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/hw.c +0 -0
index caa6dc12a790..05d7acbbab56 100644

drivers/net/wireless/ath/ath11k/hw.c const struct ath11k_hw_ops ipq5018_ops = { · line 1181

Quoted 8 lines
drivers/net/wireless/ath/ath11k/hw.c +1 -1
@@ -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