]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: use link in start/stop ap
authorShaul Triebitz <shaul.triebitz@intel.com>
Wed, 1 Jun 2022 09:55:14 +0000 (12:55 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:57:04 +0000 (12:57 +0200)
commitfb9227abb5cab9abc1a9363c49cdbf3a0c291c4a
treed239537068adabc8eec45aa7efe02021a29259c4
parent0f9a05975f4618fd73dc2e706bda8976f86dc6ca
wifi: mac80211: use link in start/stop ap

Use link and link_conf according to the link_id
provided by cfg in start_ap/stop_ap and change_beacon.
Also use them in the functions called by them.
Note that for a non MLD device, the link_id is 0,
and link[0] and link_conf[0] equal to deflink and
bss_conf respectively (what was there before).

Also, call vif_info_change for BSS related changes (SSID), and
link_info_change for LINK related changes (instead of the
legacy bss_info_change).

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c