public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless-next 0/2] wifi: cfg80211/mac80211: optimize station info handling
@ 2026-04-28  9:09 Sarika Sharma
  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:09 ` [PATCH wireless-next 2/2] wifi: cfg80211/mac80211: set only non-MLO-applicable fields for non-MLO stations Sarika Sharma
  0 siblings, 2 replies; 7+ messages in thread
From: Sarika Sharma @ 2026-04-28  9:09 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, Sarika Sharma

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-29  7:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28  9:09 [PATCH wireless-next 0/2] wifi: cfg80211/mac80211: optimize station info handling Sarika Sharma
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox