wifi: mac80211: expand ieee80211_mgmt_tx() for MLO
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2022 19:36:08 +0000 (21:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:35 +0000 (14:28 +0200)
commite1e68b14c5f85f2ad43d06a1b2f0d0fcc8dbdd62
tree0a86233d11eed9b4429c285d713cffb207f79363
parent95f498bb49f7030c1f40236107e5241e50f79ade
wifi: mac80211: expand ieee80211_mgmt_tx() for MLO

There are a couple of new things that should be possible
with MLO:
 * selecting the link to transmit to a station by link ID,
   which a previous patch added to the nl80211 API
 * selecting the link by frequency, similarly
 * allowing transmittion to an MLD without specifying any
   channel or link ID, with MLD addresses

Enable these use cases. Also fix the address comparison
in client mode to use the AP (MLD) address.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/agg-tx.c
net/mac80211/ieee80211_i.h
net/mac80211/offchannel.c
net/mac80211/rx.c
net/mac80211/tx.c