wifi: mac80211: add kunit tests for public action handling
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Dec 2023 15:19:49 +0000 (16:19 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jan 2024 14:35:09 +0000 (15:35 +0100)
commit0738e55c384828ccd61170e2d6f1c11196d848e6
treeadde8387097ddabc123a133bba629ae8e61a31cb
parentb3231d353a51ddfb6ef7d17877d029790190f746
wifi: mac80211: add kunit tests for public action handling

Check the logic in ieee80211_drop_unencrypted_mgmt()
according to a list of test cases derived from the
spec.

Reviewed-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://msgid.link/20231220151952.415232-4-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/rx.c
net/mac80211/tests/Makefile
net/mac80211/tests/mfp.c [new file with mode: 0644]