wifi: mac80211: add API to show the link STAs in debugfs
authorBenjamin Berg <benjamin.berg@intel.com>
Tue, 6 Sep 2022 12:26:52 +0000 (14:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Oct 2022 13:23:41 +0000 (15:23 +0200)
commitd2caad527c191563116809990081ab4fc0dafdb6
tree9ba1ab1c86c9e8dad73b2081f55ac0479cb23768
parent1d9e4c91db17c9bf6f94ac234a4d4f2bffd52b97
wifi: mac80211: add API to show the link STAs in debugfs

Create debugfs data per-link. For drivers, there is a new operation
link_sta_add_debugfs which will always be called.

For non-MLO, the station directory will be used directly rather than
creating a corresponding subdirectory. As such, non-MLO drivers can
simply continue to create the data from sta_debugfs_add.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
[add missing inlines if !CONFIG_MAC80211_DEBUGFS]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/debugfs_sta.c
net/mac80211/debugfs_sta.h
net/mac80211/driver-ops.c
net/mac80211/driver-ops.h
net/mac80211/sta_info.c
net/mac80211/sta_info.h