[PATCH v2 0/3] Fix address confusion after MLO re-authentication

Benjamin Berg benjamin at sipsolutions.net
Mon Jan 26 08:03:01 PST 2026


From: Benjamin Berg <benjamin.berg at intel.com>

Hi,

So this fixes the problem with an MLO station that is authenticating
again. The trouble was simply that mac80211 still had the wrong link
addresses configured in some cases.

That said, I think the logic may not be completely sound in all cases.
Specifically, we will also need to do something similar when the client
switches between using MLO and not using it.

I am planning to submit a test for that later, but I need to upstream
some more testing patches for that and wanted to provide the current
fix for a start.

My hunch is, that the sane thing to do is to remove the added_unassoc
flag and instead store whether the STA has been added to the driver.
That should give a more consistent way of tracking the state.

Benjamin

v2:
- Add fix. v1 only contained the problematic test.

Benjamin Berg (3):
  AP: Use a constant for mld_sta if support is disabled
  AP: Always re-add stations that use MLO
  tests: test reassociation with swapped assoc link

 src/ap/ieee802_11.c     | 10 +++++++---
 tests/hwsim/test_eht.py | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 3 deletions(-)

-- 
2.52.0




More information about the Hostap mailing list