[PATCH 9/9] tests: Check that BSS termination excludes the current BSS

Benjamin Berg benjamin at sipsolutions.net
Mon Oct 6 08:58:57 PDT 2025


On Fri, 2025-10-03 at 16:32 +0300, Jouni Malinen wrote:
> On Fri, Jul 18, 2025 at 01:01:05PM +0200, Benjamin Berg wrote:
> > If a BSS termination is included in the BTM it does (most likely) not
> > make sense to stay on the current BSS. Add a test to ensure that we
> > exclude the current BSS in that case.
> 
> Was this supposed to fail without patch 4 (WNM: Avoid staying on a BSS
> if it is being terminated)? It passed in my testing even with patch 4
> removed, so I'm not completely sure what this test case is trying to
> check or well, how reliable it is in doing that check.

Yes, I believe the test is supposed to fail without patch 4.

Unfortunately it is an old patch and I do not remember the context and
cannot find more information about why I added it back then. So it may
have been meant as an optimization even back then.

I think I'll revert these in our internal tree. We can always do a
similar change again if problems occur.

Benjamin



More information about the Hostap mailing list