Linux wireless drivers development
 help / color / mirror / Atom feed
From: Catalin Iacob <iacobcatalin@gmail.com>
To: "Berg, Benjamin" <benjamin.berg@intel.com>
Cc: "johannes@sipsolutions.net" <johannes@sipsolutions.net>,
	 "linux-wireless@vger.kernel.org"
	<linux-wireless@vger.kernel.org>,
	"pkshih@realtek.com" <pkshih@realtek.com>,
	 "regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: Re: [PATCH REGRESSION] wifi: mac80211: also accept RX frames reported on channel center frequency
Date: Thu, 3 Dec 2026 23:02:05 +0200	[thread overview]
Message-ID: <axHSkgKqLqbhSANJ@toolbx> (raw)
In-Reply-To: <20fe63dbc68274d02d05c229989f0aa6a2c72b34.camel@intel.com>

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.

I did not check other drivers, there could be more having similar
issues.

These reasons are why I judged my patch to be better than auditing and
changing the drivers but given my lack of expertise it's more a guess
than something I stand by. Happy with any solution you pick, just please
fix this before 7.4 final, it's a big regression for the drivers
affected.

      reply	other threads:[~2026-12-03 20:57 UTC|newest]

Thread overview: 3+ 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 [this message]

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=axHSkgKqLqbhSANJ@toolbx \
    --to=iacobcatalin@gmail.com \
    --cc=benjamin.berg@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    --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