wifi: mac80211: add ieee80211_find_sta_by_link_addrs API
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Sep 2022 14:12:43 +0000 (16:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2022 08:13:41 +0000 (10:13 +0200)
commitffa9598ecb93630a45564b95ae17362b819b38de
tree438af9a1e68cee0cc8853f68a000fd387f4bad48
parentefe9c2bfd1a82894e455514a68dc794556fbd463
wifi: mac80211: add ieee80211_find_sta_by_link_addrs API

Add a new API function ieee80211_find_sta_by_link_addrs()
that looks up the STA and link ID based on interface and
station link addresses.

We're going to use it for mac80211-hwsim to track on the
AP side which links are active.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/sta_info.c