diff options
author | Jouni Malinen <jouni@codeaurora.org> | 2020-02-22 14:25:48 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-02-24 10:40:00 +0100 |
commit | a483e29ca07fb4eee2d7c7ee67c919d352fa4091 (patch) | |
tree | bfffc7228de8058b652831796b5ade2ee7f7537f /drivers/net/wireless/mac80211_hwsim.c | |
parent | mac80211: Beacon protection using the new BIGTK (STA) (diff) | |
download | linux-a483e29ca07fb4eee2d7c7ee67c919d352fa4091.tar.xz linux-a483e29ca07fb4eee2d7c7ee67c919d352fa4091.zip |
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>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 05464b5629d5..da0a6b6c4771 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2947,6 +2947,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, NL80211_FEATURE_DYNAMIC_SMPS | NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR; wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS); + wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_BEACON_PROTECTION); hw->wiphy->interface_modes = param->iftypes; |