]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: tests: add utility to create sdata skeleton
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 1 Jan 2025 05:05:38 +0000 (07:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:45 +0000 (15:26 +0100)
commit11cc69abb0b714a11d66421619637a9c98f221e3
tree9bc11106dbfd31af52b21f3ed2764bf1e3cb3fcb
parent708d06b33b97329bd499ff92908c96670a94a510
wifi: mac80211: tests: add utility to create sdata skeleton

Some functions that should be tested may expect an sdata object that is
configured to a basic degree. Add setup code to create such an object
for use by tests.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250101070249.12eeefd3c98b.I6e8c2b8374d4305f16675524ca30621e089b6fb0@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tests/Makefile
net/mac80211/tests/util.c [new file with mode: 0644]
net/mac80211/tests/util.h [new file with mode: 0644]