mac80211_hwsim: enable Beacon protection
authorJouni Malinen <jouni@codeaurora.org>
Sat, 22 Feb 2020 13:25:48 +0000 (15:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 24 Feb 2020 09:40:00 +0000 (10:40 +0100)
commita483e29ca07fb4eee2d7c7ee67c919d352fa4091
treebfffc7228de8058b652831796b5ade2ee7f7537f
parentaf2d14b01c32d7cba65f73503586e5b621afb139
mac80211_hwsim: enable Beacon protection

Now that there is support for BIGTK configuration and AP/STA
functionality for using BIP with Beacon frames, indicate support for the
Beacon protection functionality.

Johannes: move this to hwsim, since it's not clear that all drivers
using mac80211 will do this correctly - lots of them modify the
beacon before transmission e.g. to update the TIM element, and that
would obviously break the signature.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20200222132548.20835-7-jouni@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c