public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
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 0/2] wifi: cfg80211/mac80211: optimize station info handling
Date: Tue, 28 Apr 2026 14:39:17 +0530	[thread overview]
Message-ID: <20260428090919.1798601-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.

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


             reply	other threads:[~2026-04-28  9:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  9:09 Sarika Sharma [this message]
2026-04-28  9:09 ` [PATCH wireless-next 1/2] wifi: cfg80211/mac80211: change memory allocation for link_sinfo structure Sarika Sharma
2026-04-28  9:31   ` Johannes Berg
2026-04-29  6:08     ` Sarika Sharma
2026-04-29  6:16       ` Johannes Berg
2026-04-29  7:24         ` Sarika Sharma
2026-04-28  9:09 ` [PATCH wireless-next 2/2] wifi: cfg80211/mac80211: set only non-MLO-applicable fields for non-MLO stations Sarika Sharma

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=20260428090919.1798601-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