[PATCH 38/42] tests: update ML discovery test to also check probe requests

Jouni Malinen j at w1.fi
Sun Nov 26 03:10:20 PST 2023


On Tue, Nov 21, 2023 at 01:51:52AM +0200, Andrei Otcheretianski wrote:
> Also check that we can discover BSSs requests using ML probe requests.
> Note that this requires a new enough mac80211 which parses the ML probe
> request and reports the contained BSSs.

>  def test_eht_mld_discovery(dev, apdev):

> +        # NOTE: hostap incorrectly reports a TSF offset of zero
> +        # This only works because the source is always the ML probe response
> +        tsf1 = int(wpas.get_bss(hapd1.own_addr())['tsf'])

Is that "hostap" supposed to be "hostapd"?

This makes eht_mld_discovery fail for me since there is no BSS entry for
hapd1.. Does this need some kernel changes to alloc ML probe request
actually work or did something else end up breaking? I had to fix a
number of issues in earlier patches, so that might have an impact. I
cannot test the unmodified patches since they do not compile and even
after fixing the compilation issues (well, warnings), there were issues
that caused processes to terminate.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list