mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Frank Zhang <rmxpzlb@gmail.com>
To: jjohnson@kernel.org
Cc: linux-wireless@vger.kernel.org, ath12k@lists.infradead.org,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: [PATCH] wifi: ath12k: fix EHT GI reporting in monitor mode
Date: Wed,  9 Sep 2026 16:19:29 +0800	[thread overview]
Message-ID: <20260909081929.122174-1-rmxpzlb@gmail.com> (raw)

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


                 reply	other threads:[~2026-09-09  8:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260909081929.122174-1-rmxpzlb@gmail.com \
    --to=rmxpzlb@gmail.com \
    --cc=ath12k@lists.infradead.org \
    --cc=jjohnson@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®