OSDN Git Service

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)
commitd9f83f22a7913149fc8687b1cc54a28505d25990
treed239537068adabc8eec45aa7efe02021a29259c4
parent0d8c4a3c8688bd0bbc67b8a24b4e7a7344272c93
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