wifi: mac80211: aggregation: remove deflink accesses for MLO
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Feb 2025 09:39:24 +0000 (11:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2025 10:59:08 +0000 (11:59 +0100)
commit3979c8e6205b268ef99d34d09447981eafcd1ed9
treeb3951d59895f3190ceb83301560881bad7bc353c
parent3fca951123b68df8d1b47bbf90409f8a3671362b
wifi: mac80211: aggregation: remove deflink accesses for MLO

If a station has connected with MLO (as indicated by valid_links
being non-zero, even if that may have just a single bit set), it
necessarily supports EHT/aggregation, so we don't need to check
the deflink for those cases.

Add conditions so we can support removing the link it/we used to
associate on.

Note that we still use the statistics in the deflink, but that's
a whole different story we will need to address separately.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250205110958.daf2a9e367f2.Id2c2dfbbe7451cc900ed88c5a81b33c55b4ab1cf@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c
net/mac80211/tx.c