mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
wifi: mac80211_hwsim: Declare support for secure NAN
Advertise NL80211_EXT_FEATURE_SECURE_NAN to indicate support for NAN Pairing, enabling peer authentication and secure data path establishment. Signed-off-by: Daniel Gabay <daniel.gabay@intel.com> Reviewed-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260506064301.d3bcc26b4525.I6993cc70c43579694ffd429f1afb971a73db2ae4@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
2c8ec5a9b1
commit
09d1ff616a
|
|
@ -5718,6 +5718,9 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
|
|||
NAN_DEV_CAPA_EXT_KEY_ID_SUPPORTED |
|
||||
NAN_DEV_CAPA_NDPE_SUPPORTED;
|
||||
|
||||
wiphy_ext_feature_set(hw->wiphy,
|
||||
NL80211_EXT_FEATURE_SECURE_NAN);
|
||||
|
||||
hrtimer_setup(&data->nan.slot_timer,
|
||||
mac80211_hwsim_nan_slot_timer,
|
||||
CLOCK_BOOTTIME, HRTIMER_MODE_ABS_SOFT);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user