]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: send DelBA with correct BSSID
authorJohannes Berg <johannes.berg@intel.com>
Fri, 10 May 2024 09:26:02 +0000 (11:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 09:46:37 +0000 (11:46 +0200)
commita92fd2d9327ba877f29753eec15b93072ac300b0
treea43b08054fc01f38e39d7f169e5b9eaa2b34aa63
parent609c12a2af046c3674af2d5c7978b025718de5e8
wifi: mac80211: send DelBA with correct BSSID

In MLO, the deflink BSSID is clearly invalid. Since we fill
the addresses as MLD addresses and translate later, use the
AP address here instead.

This fixes an issue that happens with HW restart, where the
DelBA frame is transmitted, but not processed correctly due
to the wrong BSSID (or even just discarded entirely).  As a
result, the BA sessions are kept alive; however, as other
state is reset during HW restart, this then fails (reorder,
etc.) and data doesn't go through until new BA sessions are
established.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240510112601.f4e1effdea29.I98e81f22166b68d4b6211191bcaaf8531b324a77@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ht.c