From: Ping-Ke Shih <pkshih@realtek.com>
To: "V. S." <spam@acio.nl>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH rtw-next v3] wifi: rtw89: set RA init rate level when the station RSSI is known
Date: Mon, 16 Nov 2026 07:48:59 +0000 [thread overview]
Message-ID: <1df4e66bece7402fbd92bb6dddb7ed1f@realtek.com> (raw)
In-Reply-To: <a0448c760a5243a7b956b16e9d563183@realtek.com>
Ping-Ke Shih <pkshih@realtek.com> wrote:
> V. S. <spam@acio.nl> wrote:
> > Ping-Ke Shih <pkshih@realtek.com> wrote:
> > > How about memset(ra, 0, offsetof(typeof(*ra), rssi_unknown)) ?
FYI.
People are working on patchset to remove the 'typeof' [1]. An example
like this:
- if (len < offsetof(typeof(*mgmt), u.beacon.variable))
+ if (len < struct_offset(mgmt, u.beacon.variable))
I can migrate to the style afterward. We can still continue this patch.
[1] https://lore.kernel.org/linux-wireless/20261113-offsetof-v3-2-714df7053893@arm.com/
next prev parent reply other threads:[~2026-11-16 7:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 8:07 [PATCH rtw-next v3] wifi: rtw89: set RA init rate level when the station RSSI is known Vincent Schurink
2026-11-13 8:24 ` Ping-Ke Shih
2026-11-13 15:34 ` V. S.
2026-11-15 3:05 ` Ping-Ke Shih
2026-11-15 11:59 ` V. S.
2026-11-16 0:41 ` Ping-Ke Shih
2026-11-16 7:48 ` Ping-Ke Shih [this message]
2026-11-16 8:22 ` V. S.
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=1df4e66bece7402fbd92bb6dddb7ed1f@realtek.com \
--to=pkshih@realtek.com \
--cc=linux-wireless@vger.kernel.org \
--cc=spam@acio.nl \
/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