wifi: mac80211: add vif link addition/removal
authorJohannes Berg <johannes.berg@intel.com>
Tue, 31 May 2022 21:20:08 +0000 (23:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:55:59 +0000 (12:55 +0200)
commitd8787ec6b4ef1857b827699eca6f5978d0aecd74
tree5311f35b62a7a72531bbbfca0388615718f81ddf
parentd648c23024bd01333acd2fd5e34bcde0ffb66b16
wifi: mac80211: add vif link addition/removal

Add the necessary infrastructure, including a new driver
method, to add/remove links to/from an interface.

Also add the missing link address to bss_conf (which we
use as link_conf too), and fill it, in station mode for
now just randomly, in AP mode we get the address from
cfg80211 since the link must be created with an address
first.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/trace.h