wifi: mac80211: move radar detect work to sdata
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 May 2024 19:13:12 +0000 (21:13 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 09:28:44 +0000 (11:28 +0200)
commitce9e660ef32e87441bf59b04f67a24113e82546a
tree17668d747d5b677f4f5ea2ac0857cdc7be5183cb
parent48443a4a1c97dd8b6614833af928bc15aeff2e47
wifi: mac80211: move radar detect work to sdata

At some point we thought perhaps this could be per link, but
really that didn't happen, and it's confusing. Radar detection
still uses the deflink to allocate the channel, but the work
need not be there. Move it back.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240506211311.43bd82c6da04.Ib39bec3aa198d137385f081e7e1910dcbde3aa1b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/link.c
net/mac80211/mlme.c
net/mac80211/util.c