]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: cfg80211: reorg sinfo structure elements for mesh
authorSarika Sharma <quic_sarishar@quicinc.com>
Thu, 13 Feb 2025 17:16:21 +0000 (22:46 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 28 Feb 2025 13:08:59 +0000 (14:08 +0100)
commit23ff5f6f23f1419d87351243fd4258c2eec0fbf7
treee15ce948692566e9ae29bfa445a0ec5e3ad37af8
parent7ed3f3c40d7b5cd8d8e4ce8e4c27d604a27c1861
wifi: cfg80211: reorg sinfo structure elements for mesh

Currently, as multi-link operation(MLO) is not supported for mesh,
reorganize the sinfo structure for mesh-specific fields and embed
mesh related NL attributes together in organized view.
This will allow for the simplified reorganization of sinfo structure
for link level in a subsequent patch to add support for MLO station
statistics.
No functionality changes added.

Pahole summary before the reorg of sinfo structure:
 - size: 256, cachelines: 4, members: 50
 - sum members: 239, holes: 4, sum holes: 17
 - paddings: 2, sum paddings: 2
 - forced alignments: 1, forced holes: 1, sum forced holes: 1

Pahole summary after the reorg of sinfo structure:
 - size: 248, cachelines: 4, members: 50
 - sum members: 239, holes: 4, sum holes: 9
 - paddings: 2, sum paddings: 2
 - forced alignments: 1, last cacheline: 56 bytes

Signed-off-by: Sarika Sharma <quic_sarishar@quicinc.com>
Link: https://patch.msgid.link/20250213171632.1646538-2-quic_sarishar@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c