From: Sarika Sharma <sarika.sharma@oss.qualcomm.com>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org,
Sarika Sharma <sarika.sharma@oss.qualcomm.com>
Subject: [PATCH wireless-next v2 0/2] wifi: cfg80211/mac80211: optimize station info handling
Date: Thu, 30 Apr 2026 11:08:08 +0530 [thread overview]
Message-ID: <20260430053810.2088793-1-sarika.sharma@oss.qualcomm.com> (raw)
This series improve memory and logic efficiency in cfg80211 and
mac80211 during NL80211_CMD_GET_STATION. Allocate link_sinfo and
link tidstats objects only for valid links to reduce memory usage.
Avoid setting non-MLO applicable fields for MLO stations to
eliminate redundant operations and simplify the code path.
V2:
- change int return to link_station_info return in
cfg80211_alloc_link_sinfo_stats()
Sarika Sharma (2):
wifi: cfg80211/mac80211: change memory allocation for link_sinfo
structure
wifi: cfg80211/mac80211: set only non-MLO-applicable fields for
non-MLO stations
include/net/cfg80211.h | 29 ++++++++++++++++---
net/mac80211/ethtool.c | 4 +++
net/mac80211/sta_info.c | 63 ++++++++++++++++++++++++-----------------
net/wireless/nl80211.c | 35 ++++-------------------
net/wireless/util.c | 21 ++++++++++++++
5 files changed, 93 insertions(+), 59 deletions(-)
base-commit: 1f5ffc672165ff851063a5fd044b727ab2517ae3
--
2.34.1
next reply other threads:[~2026-04-30 5:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-30 5:38 Sarika Sharma [this message]
2026-04-30 5:38 ` [PATCH wireless-next v2 1/2] wifi: cfg80211/mac80211: change memory allocation for link_sinfo structure Sarika Sharma
2026-04-30 5:38 ` [PATCH wireless-next v2 2/2] wifi: cfg80211/mac80211: set only non-MLO-applicable fields for non-MLO stations Sarika Sharma
2026-05-05 10:21 ` [PATCH wireless-next v2 0/2] wifi: cfg80211/mac80211: optimize station info handling Johannes Berg
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=20260430053810.2088793-1-sarika.sharma@oss.qualcomm.com \
--to=sarika.sharma@oss.qualcomm.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@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