F Frank Zhang #
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: <redacted> Fixes: 5393dcb45209 ("wifi: ath12k: change the status update in the monitor Rx") Signed-off-by: Frank Zhang <redacted>
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