Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5075159rwe; Tue, 18 Apr 2023 01:29:32 -0700 (PDT) X-Google-Smtp-Source: AKy350b6pXfuD+htUTe4AD4lXJ9mp3ElyjjqH3/Tvzi5oLC59tz9FhRf+rKCjESXgzefC7rxzFAx X-Received: by 2002:a17:90a:e508:b0:247:1605:6e1a with SMTP id t8-20020a17090ae50800b0024716056e1amr1637229pjy.0.1681806571938; Tue, 18 Apr 2023 01:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681806571; cv=none; d=google.com; s=arc-20160816; b=GIr4FImGOdIQytlhEyH+LMzIi4l7WZnemMPfVPjCcfyYkDuQwcEIz6bKS53fYiKI+4 5tnEUnhLkZVV6LZ3brR2dyI4W1hi+gEl4gPAYYE6jkoZ0HExQ/TxmX3O0ki2Zr97/UIx zszlUE1BYPWw2iyjRv0Ej/88H55/5UKWvTBY98PN6kuts4saihmkZSGSdftEGB4Rljlj FhIM6y+0P42RH7lWuwfA16lsdq3t9YlsfcZPFubNXmqFxvpvoY0asXCggNXL3O6EZkQJ ngmiZosp0CDnlBZCY3vKtQwf2cEjbNOG4cLYCQUWbAcEbDOTBiWl98V2R4a0F7XkrBkl iNcQ== 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=8UW6ybr3e1Cm4qPC9xrTWnDCBJ859mXH3+qyEx+8l3g=; b=BhuLK2MiRtpOgwGLNdS97Vfx7nu1Yo119tyOYsoHKdwSCy79u4XEmGwHuW2m6NYBpt z78jUxJsA1InyAnJmfo6HfwFzwHwH4Me0pAOycFghQbX+k7lJevJIsqGiLf7GPt9Dyiw WhsmW1ZeDGFIc8tI6apehFTacThhn8422hG+s/HQS5vOHTWAzs9OKx7fET071Fy1SZk5 ouPn09b5pE77Y1zk56APS+i6W1hZP7yupuytCCpGOR2vlKtKWGIVC7i31BVhwG/ez7WV 3Abd+H3GXnFBv/1Xp5MUYN+GmaulykPTFLSaxl38gSMMWellfrTQVUP8pZZXnEHL9IUL Dz0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=EsxppROZ; 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 4-20020a17090a098400b0023f0955f301si16397668pjo.166.2023.04.18.01.29.18; Tue, 18 Apr 2023 01:29:31 -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=EsxppROZ; 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 S231230AbjDRIPh (ORCPT + 63 others); Tue, 18 Apr 2023 04:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231162AbjDRIPe (ORCPT ); Tue, 18 Apr 2023 04:15:34 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 542CD618A for ; Tue, 18 Apr 2023 01:15:32 -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=8UW6ybr3e1Cm4qPC9xrTWnDCBJ859mXH3+qyEx+8l3g=; t=1681805732; x=1683015332; b=EsxppROZpe5V/UuET64dz7K9BTHwkxMjxYfxWgrfFMIpugh iaSZKuCiW3oYSl2DajvYOp3+hUhibx4+0CFDZSyXAZmuKiDuWVpQFJbxdD4Q4Su3SC6XZEauxXk0y jyB92vdDJ2Q6GOZE41vNMciufExdChDLh/OhDk6byFl+731KaBUv0FHnuRa5A5Ocoy+tw4sORX5a9 39zpgAK7ymnsq/cGKGuQSvXi4YCkILx7ytkAYI5E74MOK40G4rfrfXRybV5RQoj+mgSW6JOetGS6B dSmZV6T+2SWcAUXaKm7wCbc+3EygnA4o7c8LsZS1rOVUZSIyf0CfUCALuHreIncw==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pogUr-001XWn-35; Tue, 18 Apr 2023 10:15:30 +0200 Message-ID: <61268d31f8a6dd4eea10fcb6048d39244bc584e2.camel@sipsolutions.net> 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, 18 Apr 2023 10:15:29 +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> <2de44394-cb93-7be4-481f-2d92788b8d28@quicinc.com> <351f74e0e1cd6e9724f97dbd042bdc5e04c44842.camel@sipsolutions.net> <545227cf18baac94ea8aa24dc08b250c47949541.camel@sipsolutions.net> <868131d13ed7c4c8b5d4938adcd71cf1ff8e9677.camel@sipsolutions.net> <5765e3c5-46d4-e92b-a93b-4a2649acff2a@quicinc.com> <37958ca93039114b98909d730ff57dd1d10bb68d.camel@sipsolutions.net> <91577d586475d290e08dee9e535cb6b4896e06d4.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=-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,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 Mon, 2023-04-17 at 22:07 +0800, Wen Gong wrote: >=20 > OK. So I will try to put this in mac80211 layer, is it OK? >=20 I guess? I'm still not really sure why you even want it, but hey, that's up to you in a way. I really didn't like the suggestion with wiphy_iftype_ext_capab (or any other capability for that matter), it feels like it should be more dynamic, like maybe a new "add link" callback or something? At least then you can't blame mac80211 for when it breaks when you have two 5 GHz links ... johannes