[PATCH] wifi: ath12k: fix EHT GI reporting in monitor mode
Frank Zhang
rmxpzlb at gmail.com
Wed Sep 9 01:19:29 PDT 2026
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 at vger.kernel.org
Fixes: 5393dcb45209 ("wifi: ath12k: change the status update in the monitor Rx")
Signed-off-by: Frank Zhang <rmxpzlb at 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
More information about the ath12k
mailing list