projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbf348
)
wifi: nl80211: advertise MLO support
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 11 Jul 2022 08:08:11 +0000
(10:08 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:20 +0000
(11:43 +0200)
At least while we don't have any more specific interface
combinations support, add a simple flag for MLO support,
we can keep this later based on something other than the
wiphy flag.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index 0bf1f7267b89d9d52908263e30694ad6ed17db72..ead9bd11128016303bdc5e589b1c2c94850de74d 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-2946,6
+2946,9
@@
static int nl80211_send_wiphy(struct cfg80211_registered_device *rdev,
rdev->wiphy.max_num_akm_suites))
goto nla_put_failure;
+ if (rdev->wiphy.flags & WIPHY_FLAG_SUPPORTS_MLO)
+ nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT);
+
/* done */
state->split_start = 0;
break;