UPSTREAM: wifi: nl80211: advertise MLO support

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>

Bug: 253289327
Change-Id: I23f34c7e11c9b2e43aae5a9a70e1c98c644ba058
(cherry picked from commit fa2ca639c4e6f8d9bf11687a7e5e348c4c15b8c0)
Signed-off-by: Kiran Kumar Lokere <quic_klokere@quicinc.com>
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
This commit is contained in:
Johannes Berg
2022-07-11 10:08:11 +02:00
committed by Todd Kjos
parent 8f37e21b18
commit 2d971fdf0a

View File

@@ -2936,6 +2936,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;