]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: apply advertised TTLM from association response
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 18 Jan 2026 07:51:14 +0000 (09:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 20 Jan 2026 09:02:01 +0000 (10:02 +0100)
commitaebc29dec67aa998a9ea6d34aacba7b5c6a74d33
tree8a10e095dd785e4160c20af073e7c45bb3f56d87
parent3fa2886d11d4545dc0dcfd0759ffbd03f88b5410
wifi: mac80211: apply advertised TTLM from association response

When the AP has a disabled link that the station can include in the
association, the fact that the link is dormant needs to be advertised
in the TID to Link Mapping (TTLM). Section 35.3.7.2.3 ("Negotiation of
TTLM") of Draft P802.11REVmf_D1.0 also states that the mapping needs to
be included in the association response frame.

As such, we can simply rely on the TTLM from the association response.
Before this change mac80211 would not properly track that an advertised
TTLM was effectively active, resulting in it not enabling the link once
it became available again.

For the link reconfiguration case, the data was not used at all. This
behaviour is actually correct because Draft P802.11REVmf_D1.0 states in
section 35.3.6.4 that we "shall operate with all the TIDs mapped to the
newly added links ..."

Fixes: 6d543b34dbcf ("wifi: mac80211: Support disabled links during association")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260118093904.43c861424543.I067f702ac46b84ac3f8b4ea16fb0db9cbbfae7e2@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c