Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH wireless-next v2 0/2] wifi: cfg80211/mac80211: optimize station info handling
@ 2026-04-30  5:38 Sarika Sharma
  2026-04-30  5:38 ` [PATCH wireless-next v2 1/2] wifi: cfg80211/mac80211: change memory allocation for link_sinfo structure Sarika Sharma
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sarika Sharma @ 2026-04-30  5:38 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.

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


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

end of thread, other threads:[~2026-05-05 10:21 UTC | newest]

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

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