]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: set ieee80211_prep_tx_info::link_id upon Auth Rx
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 5 Feb 2025 09:39:20 +0000 (11:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:32 +0000 (11:13 +0200)
commit9893fcce9ed8b31b3bffd22ab965877f7e43b4da
treed45578ca5d50c3fdd9d165b3e57c0d577e10143d
parentd3cd53e0a188a1f7c6403a92fdaac50ffebb7cd3
wifi: mac80211: set ieee80211_prep_tx_info::link_id upon Auth Rx

[ Upstream commit 8c60179b64434894eac1ffab7396bac131bc8b6e ]

This will be used by the low level driver.
Note that link_id  will be 0 in case of a non-MLO authentication.
Also fix a call-site of mgd_prepare_tx() where the link_id was not
populated.

Update the documentation to reflect the current state
ieee80211_prep_tx_info::link_id is also available in mgd_complete_tx().

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250205110958.6a590f189ce5.I1fc5c0da26b143f5b07191eb592f01f7083d55ae@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/mlme.c