Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5142331rwl; Tue, 11 Apr 2023 00:43:29 -0700 (PDT) X-Google-Smtp-Source: AKy350Z38y4ChiTCLZ2CIQx5q3A9iRJyQGTzI39HxqrMw8kjHu+A7KpjISk1bLBqznaM7qRtCZVL X-Received: by 2002:a17:90b:4d08:b0:23c:fa83:2a7d with SMTP id mw8-20020a17090b4d0800b0023cfa832a7dmr18164215pjb.12.1681199009010; Tue, 11 Apr 2023 00:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681199008; cv=none; d=google.com; s=arc-20160816; b=rL6xmnely1m52vXjTGg555ypBrXEelZKYjX+8onrcYM7Zm8L5oKMDZX7VCr7PAUvyt q81LqLiC1fDqsRxRh6sVJ1SYCE6LZjgNFxZuLnINNp2N5JzlOa92tvwZEYJAeBLbRtVg 3k789PgpI3DGCPKquIjXSYvfvZwx8SuMRFbywcClg2O/tT8A7rgzWshRMnyQvY6G0Bmp OX0BC2WzrubIeWcm74ujJmJ4zL+uE3210r7qaf7MYUdAGFb0eNvrx4miXaTxQbUH3y3f PazL2B0tbHgW+LRiqFTElXxoOFyWzCz+WpdNAvmx8JZB8Y94ZcTztq7HxAgIDd0+/Kun pG6Q== 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=WwqqQpPTcJ4Oo+IPITxQIyJ74zb7uiwV/oXajxDHbyI=; b=WfC+YE5TehmRW3S+SvLAf53NKMlvF7SSphv31W4N9mon1phhEVLbsMav/bx0JifG+p FkQ2XBJwbiKegtXUDw/Azm54vSpd7dPbfAZLy8kSioBbHO08ZDyEsw/3Q3cBud0oMsRd yUqsMSBIW4WL5Vc3N22jdf8rD06sJ+nRVNT0ayUG07CFo3mx/nkbiAdsfxj9TlxJ4h3t jbs4BOIgQ9Z4aEsgpERNSbnxasiTKN01swPH3gaQYOSt5fBXXCGkszAYmEP3XgyypwdT hV7sI6BUgW79dqIXwS7h3FxxfGTtiG8+reww1rPg/0+624h2cKrQG8XbrmuCrK8X3c5/ XSJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=Za515eYz; 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 np4-20020a17090b4c4400b002467a036c62si8662756pjb.45.2023.04.11.00.43.19; Tue, 11 Apr 2023 00:43:28 -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=Za515eYz; 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 S230085AbjDKHjC (ORCPT + 61 others); Tue, 11 Apr 2023 03:39:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230053AbjDKHi5 (ORCPT ); Tue, 11 Apr 2023 03:38:57 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A13442728 for ; Tue, 11 Apr 2023 00:38:51 -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=WwqqQpPTcJ4Oo+IPITxQIyJ74zb7uiwV/oXajxDHbyI=; t=1681198731; x=1682408331; b=Za515eYzipFLuhxXhLQOk7DjgiXiMmu6EaStgwoznqeMgJv o5h5MDCtnXqzdP7hHBECOKIyGn0ewFmBe/wsfLH0WwH6L27m16oKJh7yrUu6JgBoFy63jYeeYb+Zo cTBjovDcU+Gsi9K/8oQDzF3NjjUljTfoBtQkXCKRpfD3KU3gv0HpfHCP2mQzWEDyT4q2Bl4GqAS1L QDnvn0zGIkzLpATWCKhQhkjLfzfLwiw5kvwoYIQ4SYXPBCKU6DnK/3gE3ec4vHaDKKRtFNte7Lc3G I2Y9tXSBPVYtrcGpi8rz1+vQCwaqkhAeSXFE0Us6OwIPIKWGDZtnoZ4rjx2PtqWA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pm8aW-00CdQi-2u; Tue, 11 Apr 2023 09:38:48 +0200 Message-ID: Subject: Re: [PATCH 10/27] wifi: mac80211: isolate driver from inactive links From: Johannes Berg To: Wen Gong , linux-wireless@vger.kernel.org Cc: ath11k@lists.infradead.org Date: Tue, 11 Apr 2023 09:38:48 +0200 In-Reply-To: References: <20220902141259.377789-1-johannes@sipsolutions.net> <20220902161143.5ce3dad3be7c.I92e9f7a6c120cd4a3631baf486ad8b6aafcd796f@changeid> <5d82e564-86bf-c26b-077a-d0bc14e2d3c3@quicinc.com> <74f3eb848326607b15336c31a02bdd861ccafb47.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 Tue, 2023-04-04 at 11:28 +0800, Wen Gong wrote: >=20 > May I also add a field such as "u16 active_links_count" in struct=20 > wiphy_iftype_ext_capab, > and add logic in function ieee80211_set_vif_links_bitmaps() for station= =20 > like this ?: > if (active_links_count && hweight16(links) <=3D active_links_count) > =C2=A0=C2=A0=C2=A0 then sdata->vif.active_links =3D links; >=20 Also here, not sure it makes sense in cfg80211 level? Though I'm not sure what the idea here is at all - you can refuse to link switch etc, what would you use this for? Then again, we haven't really designed out all the link selection stuff, do we want wpa_s to do it, driver to do it, etc.? Hence debugfs. So depending on what end up doing there, we will obviously need to advertise some level of link-concurrency to userspace. johannes