]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: parse all TTLM entries
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 18 Jan 2026 07:51:13 +0000 (09:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 20 Jan 2026 09:02:01 +0000 (10:02 +0100)
commit3fa2886d11d4545dc0dcfd0759ffbd03f88b5410
treee94e48908af6629535cad7ba52a5aaa3a90d1d71
parent3f3d8ff31496874a69b131866f62474eb24ed20a
wifi: mac80211: parse all TTLM entries

For the follow up patch, we need to properly parse TTLM entries that do
not have a switch time. Change the logic so that ieee80211_parse_adv_t2l
returns usable values in all non-error cases. Before the values filled
in were technically incorrect but enough for ieee80211_process_adv_ttlm.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260118093904.ccd324e2dd59.I69f0bee0a22e9b11bb95beef313e305dab17c051@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c