wifi: nl80211: completely disable per-link stats for now
authorJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2025 13:11:21 +0000 (15:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Sep 2025 06:50:31 +0000 (08:50 +0200)
commitc3f8d13357deab1e04f8a52b499d6b9b704e578e
tree8f502736aefbda85c9e23a5b8735c14cecfecb1d
parent9c600589e14f5fc01b8be9a5d0ad1f094b8b304b
wifi: nl80211: completely disable per-link stats for now

After commit 8cc71fc3b82b ("wifi: cfg80211: Fix "no buffer
space available" error in nl80211_get_station() for MLO"),
the per-link data is only included in station dumps, where
the size limit is somewhat less of an issue. However, it's
still an issue, depending on how many links a station has
and how much per-link data there is. Thus, for now, disable
per-link statistics entirely.

A complete fix will need to take this into account, make it
opt-in by userspace, and change the dump format to be able
to split a single station's data across multiple netlink
dump messages, which all together is too much development
for a fix.

Fixes: 82d7f841d9bd ("wifi: cfg80211: extend to embed link level statistics in NL message")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c