mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
wifi: mac80211_hwsim: support lockless beacon updates
We just use ieee80211_beacon_get_template_ema_list() or ieee80211_beacon_get() here to transmit the beacons, so there's no need to implement update_beacon() and we can just set NL80211_EXT_FEATURE_UPDATE_BEACON. Link: https://patch.msgid.link/20261009201417.b70fda659f6a.I811ea72fc189eb20bbc07b27cfaf9ffd420a70c9@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
9b790d94d7
commit
3c46fb6b3c
|
|
@ -6017,6 +6017,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
|
|||
NL80211_EXT_FEATURE_EXT_KEY_ID);
|
||||
wiphy_ext_feature_set(hw->wiphy,
|
||||
NL80211_EXT_FEATURE_ASSOC_FRAME_ENCRYPTION);
|
||||
wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_UPDATE_BEACON);
|
||||
|
||||
hw->wiphy->interface_modes = param->iftypes;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user