[PATCH 42/42] tests: Add a unit test for RNR/basic ML element parsing

Jouni Malinen j at w1.fi
Sun Nov 26 03:28:01 PST 2023


On Tue, Nov 21, 2023 at 01:51:56AM +0200, Andrei Otcheretianski wrote:
> Going through everything to test parsing of the basic ML element and the
> RNR element is not really feasible for MBSSID mode. As such, add a unit
> test to excercise parsing the available links from the RNR, basic ML
> element and MBSSID-Index element if present.

> diff --git a/tests/test-bss.c b/tests/test-bss.c
> new file mode 100644
> index 0000000000..3afce8b5a3
> --- /dev/null
> +++ b/tests/test-bss.c
> @@ -0,0 +1,88 @@
> +#include <assert.h>

Could you please add the standard copyright/license statement at the
beginning of the file to be consistent with the rest of source code
files in the repository?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list