mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] wifi: ath12k: fix EHT GI reporting in monitor mode
@ 2026-09-09  8:19 Frank Zhang
  0 siblings, 0 replies; only message in thread
From: Frank Zhang @ 2026-09-09  8:19 UTC (permalink / raw)
  To: jjohnson; +Cc: linux-wireless, ath12k, linux-kernel, stable

Store the EHT GI value in the EHT-specific RX status field with the EHT
GI conversion helper.

The EHT RX path in dp_rx.c already uses rx_status->eht.gi with
ath12k_mac_eht_gi_to_nl80211_eht_gi(). Align the monitor-mode RX path in
dp_mon.c with that implementation.

Cc: stable@vger.kernel.org
Fixes: 5393dcb45209 ("wifi: ath12k: change the status update in the monitor Rx")
Signed-off-by: Frank Zhang <rmxpzlb@gmail.com>

diff --git a/drivers/net/wireless/ath/ath12k/dp_mon.c b/drivers/net/wireless/ath/ath12k/dp_mon.c
index 44c5cff75f16..08b3caeee8f9 100644
--- a/drivers/net/wireless/ath/ath12k/dp_mon.c
+++ b/drivers/net/wireless/ath/ath12k/dp_mon.c
@@ -176,7 +176,7 @@ ath12k_dp_mon_fill_rx_rate(struct ath12k_pdev_dp *dp_pdev,
 			break;
 		}
 		rx_status->encoding = RX_ENC_EHT;
-		rx_status->he_gi = ath12k_he_gi_to_nl80211_he_gi(sgi);
+		rx_status->eht.gi = ath12k_mac_eht_gi_to_nl80211_eht_gi(sgi);
 		break;
 	default:
 		ath12k_dbg(ab, ATH12K_DBG_DATA,
-- 
2.55.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-09  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-09  8:19 [PATCH] wifi: ath12k: fix EHT GI reporting in monitor mode Frank Zhang

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®