From: Ping-Ke Shih <pkshih@realtek.com>
To: Catalin Iacob <iacobcatalin@gmail.com>,
"Berg, Benjamin" <benjamin.berg@intel.com>
Cc: "johannes@sipsolutions.net" <johannes@sipsolutions.net>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: RE: [PATCH REGRESSION] wifi: mac80211: also accept RX frames reported on channel center frequency
Date: Fri, 4 Dec 2026 02:49:21 +0000 [thread overview]
Message-ID: <3c4332c6cffd404e8547f0b7153a2b93@realtek.com> (raw)
In-Reply-To: <axHSkgKqLqbhSANJ@toolbx>
Catalin Iacob <iacobcatalin@gmail.com> wrote:
> On Thu, Dec 03, 2026 at 05:04:58PM +0000, Berg, Benjamin wrote:
> > So, the field is documented as
> >
> > * @freq: frequency the radio was tuned to when receiving this frame, in MHz
> > * This field must be set for management frames, but isn't strictly needed
> > * for data (other) frames - for those it only affects radiotap reporting.
> >
> > and I always thought that this was supposed to be the control frequency
> > rather than the channel center frequency.
> >
> > Would it be possible to change the reporting on the driver side to so
> > that everyone agrees on the same definition?
>
> I looked through the rtw code, it doesn't seem trivial to me because
> part of it comes from hardware, e.g. phy_ppdu->chan_index in
> rtw8922a_fill_freq_with_ppdu and similar code for other Realtek models
> and I don't know how "normalized" what the hardware reports is. I expect
> Ping-Ke Shih will answer around feasibility of doing this for Realtek.
Unfortunately the hardware report is controlled by firmware. I'd ask
firmware to change from center channel to primary channel. However,
it takes some time to develop and deliver to users. Can we apply
this patch in advance?
Ping-Ke
next prev parent reply other threads:[~2026-12-04 2:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 16:53 [PATCH REGRESSION] wifi: mac80211: also accept RX frames reported on channel center frequency Catalin Iacob
2026-12-03 17:04 ` Berg, Benjamin
2026-12-03 21:02 ` Catalin Iacob
2026-12-04 2:49 ` Ping-Ke Shih [this message]
2026-12-04 4:08 ` Lachlan Hodges
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=3c4332c6cffd404e8547f0b7153a2b93@realtek.com \
--to=pkshih@realtek.com \
--cc=benjamin.berg@intel.com \
--cc=iacobcatalin@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=regressions@lists.linux.dev \
/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