Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp509709imw; Wed, 13 Jul 2022 02:50:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vurfY/rfegkIMqeZN0OtpnN6KlpN00OKzTujNryuRy4Dhebsgn/b2XvXY4Qip0zH9RyHyw X-Received: by 2002:a65:4848:0:b0:3fc:52c3:6ca5 with SMTP id i8-20020a654848000000b003fc52c36ca5mr2245202pgs.264.1657705727834; Wed, 13 Jul 2022 02:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657705727; cv=none; d=google.com; s=arc-20160816; b=xOKMHVeqhXQ9LG8hsHMbdkLo2G6HJ7CA3GRLXTxOshB/GLlyGFwOf/6OPqO5dCwZSc yz+Yyy8N3/u6JIq9LU382BklNI9gdWbjSQm7vfqEPib83dlDfMciRNxj2rOfOWow7fun 7rsEVtEGpGkRbs8Sh/hwc60PVAFVVGJiYF8/VIino5Jj3eKLzJ6UcK+zcQwP2Tq43j52 itRS9iiBvcSdqsbMra1VW413WbpTVZhN2hqJyvFbZQik9jHuGeQYqANDGFu0bh+B698u mC8UWY/O3NY/y94ZMGu8Hs+LgKYOyj5cc3A4RXWiglGlqPXuKqPiil2cvp5km5Wzgo56 y5Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Am6D8nollX5HPnNflOrD50F0gzf0h82ZqA/F0Mp2hNw=; b=IvG1Ub7VgaW/NtF40qEPWy5dqiByCG6KTpZfu2np8+2X4AfRCuFQ4YXRgJM+yWVXVv iKz+ELvjW08N/klfVgjZo3DhFE0ZLqbd/N5H+sypDFl1abvfOWTy4k3O33vPuMgkbSuw vLKlyudUkTQ5cCPoJyXKPr1lMCyROzlHPIluCXfUhg3Wy2lWDuv7A+ZSYDDmK+qlH6M1 J99ExoLBMvoubfuVcpW0/6o+KSE1mlSH4vmSLmcXpXF26Bgwo3ICC31kPhP62q42+WHA um4Gva2crzi8ViPfBrSylwhAiIBZ9/J5e0mX0hWfrIOc+17YMWUgxkfYkmikmUSBS2p/ JQvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=AHj7tkNo; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nk8-20020a17090b194800b001f0734f3988si1814377pjb.164.2022.07.13.02.48.40; Wed, 13 Jul 2022 02:48:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=AHj7tkNo; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235123AbiGMJrB (ORCPT + 65 others); Wed, 13 Jul 2022 05:47:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236257AbiGMJpn (ORCPT ); Wed, 13 Jul 2022 05:45:43 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE105F894F for ; Wed, 13 Jul 2022 02:45:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Content-Type:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=Am6D8nollX5HPnNflOrD50F0gzf0h82ZqA/F0Mp2hNw=; t=1657705531; x=1658915131; b=AHj7tkNo7koxCXO4NliMOBStIyBkOMrjJ7Moi5xMMY748+0 mbvVvYGKb5BF5v+JHL148xDXiVLzp8m4CPNd3pnFtdXchD7mcYd8OqLv8C79ySOvr2p8MqZPzVNyP syWOYd5VkQV3C8F9yXiYBgWf6Q8H03XIT83jaDghUXoQENvMflX9xkz/CXs8BjO1vX1+WjHQuvUyw 8uYw2zxDayyCmhW+DjtGGfaLlWUY4PsJ7ZrO1F+w0X6/TZmEOHIGeOXXr2nr35L7rCcb4vElWcHS8 Qd0BT8R1f36IehMJ1f7R8t1qZz9oYvXVz0b1gslGxzYKzDgGdHTFV6I/iwpFoQMg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) (envelope-from ) id 1oBYvx-00EgvB-R0; Wed, 13 Jul 2022 11:45:29 +0200 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: Johannes Berg Subject: [PATCH 73/76] wifi: nl80211: advertise MLO support Date: Wed, 13 Jul 2022 11:44:59 +0200 Message-Id: <20220713114426.fe80cd30a7c9.I8b5d683613586d2005bb667d0cbb7f985eb27d75@changeid> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220713094502.163926-1-johannes@sipsolutions.net> References: <20220713094502.163926-1-johannes@sipsolutions.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Johannes Berg 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 --- net/wireless/nl80211.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 0bf1f7267b89..ead9bd111280 100644 --- 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; -- 2.36.1