]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit758447551b943189a8289477dfa5a713390a730a
tree5311f35b62a7a72531bbbfca0388615718f81ddf
parent9783aa45b58990751b80f5db065a5953b8790fe8
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