Thread (26 messages) flat view 26 messages, 3 authors, 2d ago

Re: [PATCH v5 1/5] wifi: nl80211: add roam offload extended feature

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2026-09-04 08:38:39
Also in: lkml

On Fri, 2026-08-21 at 15:56 +0800, Jason Huang wrote:
quoted hunk ↗ jump to hunk
@@ -18442,8 +18443,10 @@ static int nl80211_set_pmk(struct sk_buff *skb, struct genl_info *info)
 	    wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)
 		return -EOPNOTSUPP;
 
-	if (!wiphy_ext_feature_isset(&rdev->wiphy,
-				     NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X))
+	if (!wiphy_ext_feature_isset(wiphy,
+				     NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X) &&
+	    !wiphy_ext_feature_isset(wiphy,
+				     NL80211_EXT_FEATURE_ROAM_OFFLOAD))
 		return -EOPNOTSUPP;
Shouldn't you have a similar change in _del_pmk()?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help