[PATCH v3 2/3] tests: Check wmediumd version

Masashi Honma masashi.honma at gmail.com
Thu Mar 9 15:08:13 PST 2017


On 2017/03/03 18:31, Jouni Malinen wrote:
> Now that there is 0.3 version in wmediumd.git, I started running tests
> with it. For some reason, all the wmediumd test cases (i.e., the
> existing ones and the one added in this series) are failing about half
> of the time due to connectivity check failing. Any idea why that
> happens? Is there now some packet loss being enabled by default that
> causes this? Is that on purpose?
>
> I cannot really move to this setup since the hwsim test cases are
> supposed to pass every time they are run. In other words, either the
> test cases need to be modified if wmediumd is dropping packets or
> wmediumd need to be modified. I'm not sure what exactly changed here, so
> I'm just going back to my old wmediumd snapshot from a year ago for
> now and won't be applying these patches until the current issues are
> resolved.

I am sorry for wasting your time.
I have found a root cause (buffer over run) in wmediumd and fixed it.
After that, I tried to run wmediumd_path_simple test 100 times and it
passed all the tests.

Bob, could you merge this pull request ?
# I have closed old #7 pull request.
https://github.com/bcopeland/wmediumd/pull/9

And I fixed a PER table bug in wmediumd also. So I will send v4 of this
series of patches which fixes node positions based on the new PER table.

Masashi Honma.



More information about the Hostap mailing list