Skip to content

Add some more cfg80211 and mac80211 kunit tests

[email protected] linux-kselftest linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kunit: add parameter generation macro using description from arrayDocumentation/dev-tools/kunit/usage.rst include/kunit/test.h+23 -83 replies
2/6kunit: add a convenience allocation wrapper for SKBsinclude/kunit/skbuff.h+56 -01 reply
3/6wifi: mac80211: add kunit tests for public action handlingnet/mac80211/ieee80211_i.h net/mac80211/rx.c net/mac80211/tests/Makefile +1 more+198 -20 replies
4/6wifi: mac80211: kunit: generalize public action testnet/mac80211/tests/mfp.c+57 -210 replies
5/6wifi: mac80211: kunit: extend MFP testsnet/mac80211/tests/mfp.c+70 -40 replies
6/6wifi: cfg80211: tests: add some scanning related testsnet/wireless/core.h net/wireless/scan.c net/wireless/tests/Makefile +3 more+766 -50 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBenjamin BergGregory GreenmanJohannes BergDavid GowShuah Khan
SeriesA-b
1/6R-b R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/6] Add some more cfg80211 and mac80211 kunit tests

From: Benjamin Berg <[email protected]>

This patchset adds a couple of helpers for kunit as well as tests for cfg80211 and mac80211 that use them.

Benjamin Berg (3):
kunit: add parameter generation macro using description from array
kunit: add a convenience allocation wrapper for SKBs
wifi: cfg80211: tests: add some scanning related tests

Johannes Berg (3):
wifi: mac80211: add kunit tests for public action handling
wifi: mac80211: kunit: generalize public action test
wifi: mac80211: kunit: extend MFP tests

 Documentation/dev-tools/kunit/usage.rst |  12 +-
 include/kunit/skbuff.h                  |  56 +++
 include/kunit/test.h                    |  19 +
 net/mac80211/ieee80211_i.h              |  10 +
 net/mac80211/rx.c                       |   4 +-
 net/mac80211/tests/Makefile             |   2 +-
 net/mac80211/tests/mfp.c                | 286 +++++++++++
 net/wireless/core.h                     |  13 +-
 net/wireless/scan.c                     |   9 +-
 net/wireless/tests/Makefile             |   2 +-
 net/wireless/tests/scan.c               | 625 ++++++++++++++++++++++++
 net/wireless/tests/util.c               |  56 +++
 net/wireless/tests/util.h               |  66 +++
 13 files changed, 1145 insertions(+), 15 deletions(-)
 create mode 100644 include/kunit/skbuff.h
 create mode 100644 net/mac80211/tests/mfp.c
 create mode 100644 net/wireless/tests/scan.c
 create mode 100644 net/wireless/tests/util.c
 create mode 100644 net/wireless/tests/util.h
Signature · 1 line
2.43.0