Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp869739rdg; Fri, 11 Aug 2023 02:27:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSWU2n1i6/rv/izNEQCRo/KQ5kJub0xqN290P0g83EOaunRxANOVU18YTNNz6yYeGJjzKn X-Received: by 2002:a17:902:d2d0:b0:1b8:83a3:7db6 with SMTP id n16-20020a170902d2d000b001b883a37db6mr1609024plc.44.1691746035311; Fri, 11 Aug 2023 02:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691746035; cv=none; d=google.com; s=arc-20160816; b=YnI7BPJvew1fPQYaI16WFmoUtgQTkE16vJ3yVKXgLp7qlyN93x6JF/f0hHSeJvOYGC E73GNYI+33C+6vycStOLe9A6ApeSMfNyGRcnHmICLfmnVaydkosYL/ZR4ezwrcNpnW97 Eg1MJLiXUaFV3QLl2eqO4ndHhFa6jfOc1VgzCP4CI+JTvFyQGwAjOJowN8TuPcXcsmJz qTtNgWozXHWWT/C57/DVZ9xn10tRXJOGZ8/1OUhWZ/rpG8c3hfivCb6CPbspyGUItusJ /HSWH92T7UbG52DxXh2ezeO+wbXLvPZL2IUZhZWMkplJ5R1HzRMZmCZEMK5EQSCKbgXP 2wDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=kl5XogxFnI73l/sfFXXeYw0AXQWQv1tYcOogssTXXG0=; fh=4q4fGilF/vhYuwUsWasu/qiJC/yvj9Y03eLXDO4HpZk=; b=Z9zGrg0r69m3kU1N0HSAcnzqPZT8IPVWE26zSFcvSHqdyqtOUJHInA36QEJT0/8U48 Ci1Gx34uYyWVg/f43EvsxoSjBK56k4cCJcO+cPaOspyKghwvKzwYJiWhnRrjRPFwzdjo hkCqco4xPQ/DbldGWO70k40ccJM2NYHcxkuGxsnyC/xAwGxZ/ubvB71KXSXVYjQahEVb SVViwOb2f6IGVeLB3eIJ33alwhfjzAVjcZw4yNF2i3bTsRjxDLw1EXbTj2SFoEzEIdli 5fKQKOZGcVEHYfkAXRLq0KBC2sSQlNad4GjDRkgBd4oBUv5id1U89IcjLJfE2KsqtFGX E0vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=xIpff9+N; 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 u3-20020a170903304300b001bbb6f4cd6dsi2993257pla.334.2023.08.11.02.27.07; Fri, 11 Aug 2023 02:27:15 -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=xIpff9+N; 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 S233925AbjHKJJM (ORCPT + 55 others); Fri, 11 Aug 2023 05:09:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbjHKJJL (ORCPT ); Fri, 11 Aug 2023 05:09:11 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCF630C0 for ; Fri, 11 Aug 2023 02:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=kl5XogxFnI73l/sfFXXeYw0AXQWQv1tYcOogssTXXG0=; t=1691744942; x=1692954542; b=xIpff9+NOSc6XXsLRyjx0ndi+uVfCL8Xk4T8k0vKIAXpxOz MQeajwApDhPwlNVXL8Sv48PvyHQKvpDHW7O17ZEe29NI1xv+OCBybqDNP97/8RuvJhKRANSTbSQf/ sT3MggUl9UvF655o3k3K+M43jv37EAbcu+vXEYVRt83HkjGaJyI+hL0RmOnqK0A+end0ZqhTwxwfW lOoNY1vqrO9XcDnESuL7ux19gO3rO/Vob4VFenFf3vkCTgeldd1qqS9GvW3zw8K1gGGxcy4htpNsO za+Mg5JlvVVoWLj0dWVrrN4P+00kbbfUhqi30a5yiyBJLEW3hkTaqCe7WY1eDsyg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qUO8h-000oRx-22; Fri, 11 Aug 2023 11:08:59 +0200 Message-ID: <8627bb8a3dddc33be7f1f97f30fc0f716328ff81.camel@sipsolutions.net> Subject: Re: [PATCH 61/76] wifi: nl80211: add EML/MLD capabilities to per-iftype capabilities From: Johannes Berg To: Wen Gong , linux-wireless@vger.kernel.org Cc: ath12k@lists.infradead.org, quic_rkaliapp@quicinc.com Date: Fri, 11 Aug 2023 11:08:58 +0200 In-Reply-To: References: <20220713094502.163926-1-johannes@sipsolutions.net> <20220713114426.4dfc9ebd0461.Ice7b841051cfeb23da17bb2caa0e45191b34c4db@changeid> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 On Fri, 2023-08-11 at 17:05 +0800, Wen Gong wrote: > On 8/11/2023 5:03 PM, Johannes Berg wrote: > > On Fri, 2023-08-11 at 11:51 +0800, Wen Gong wrote: > > > Now there are many nl80211_band such as NL80211_BAND_2GHZ/ > > > NL80211_BAND_5GHZ/NL80211_BAND_6GHZ... In the same interface, if some= bands > > > support EML, and other bands not support EML, then how to handler thi= s > > > case? > > But ... these are MLD capabilities, not of the (associated) STA? > Yes, I know it. Then you can't honestly be suggesting we move "MLD capa and ops" into per-band, no? > > So not sure how that would make sense? What would you even _do_ with > > that? > I think another change is not move "u16 eml_capabilities", and only add= =20 > a new > field "u16 eml_supp_bands" together with the "u16 eml_capabilities", the > eml_supp_bands is filled with the bit map of enum nl80211_band. Is that O= K? >=20 And again, what would you do with it? Not advertise EML when you have selected links that are not in the map? And if the links change dynamically in the future? You'd probably need a bunch of validation for that. And usually you'd probably always connect to all the bands? I really don't get it. Btw this is all client - so your client implementation can just not send the EML action frame (forgot the name right now) when the currently active links are not compatible. johannes