]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211_hwsim: Do not declare support for NDPE
authorIlan Peer <ilan.peer@intel.com>
Wed, 6 May 2026 03:44:32 +0000 (06:44 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 May 2026 09:42:12 +0000 (11:42 +0200)
Do not declare support for NAN Data Path Extension attribute
as this is handled by user space and should be set by it.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260506064301.711c61538c8a.I9796410c0376f50a07259cc611428d76c51f180a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/virtual/mac80211_hwsim_main.c

index 2b228ae3029a8869e78b47b1407111d30cc6c494..7f039c3b5c15b155ec0e1518c7f62d4be801612e 100644 (file)
@@ -5715,8 +5715,7 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
                hw->wiphy->nan_capa.n_antennas = 0x22;
                hw->wiphy->nan_capa.max_channel_switch_time = 0;
                hw->wiphy->nan_capa.dev_capabilities =
-                       NAN_DEV_CAPA_EXT_KEY_ID_SUPPORTED |
-                       NAN_DEV_CAPA_NDPE_SUPPORTED;
+                       NAN_DEV_CAPA_EXT_KEY_ID_SUPPORTED;
 
                wiphy_ext_feature_set(hw->wiphy,
                                      NL80211_EXT_FEATURE_SECURE_NAN);