Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp392383lqp; Wed, 12 Jun 2024 05:05:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4Z1Hm2IjKhSXv5iFtJGBTtn4VeTPjvvayFCzFmz5jcPibVIXX5nNI+13jN9OaZ6OrY8wPIwyPMWiu1Aya1iPVVbvyh4w9jwxc8/Pegg== X-Google-Smtp-Source: AGHT+IGKXxoGrbDY7cKiIDoglcriAt50ztvQN/no+VtxbhcTJLM3wr+DUMJGSPco4OiQq8gPdzT/ X-Received: by 2002:a17:906:198b:b0:a68:c5b0:9890 with SMTP id a640c23a62f3a-a6f47fad972mr114627166b.42.1718193952700; Wed, 12 Jun 2024 05:05:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718193952; cv=pass; d=google.com; s=arc-20160816; b=pH7HUFp2L6Mdtc8yUHf1ggWJXgSbInPTRetNEZLc1CZuwUv0t1oU79K0ENiKVVsuw8 tI4jVf5qRV0NcvivkVGWTCFO5ao20Zrn04J/rvlyKc3nBTv8qEzu16Y1soIj2DqKLrea kqZlYgOrBeYH7oCyIuIo4+YBQYLtJdM9B+02j5gGurkYEcMQ+UuSrcNo7jGwb401THrS MdmSFkzjoezFu2Q5pKhhDV3fQ0VqHzyKg9oCe7WgghoE//JfSCIYdoGuWbjiEmjaAZWF YKg4iCVVe+COhBSs89jKlSWHDbYDJLABUKZqMab73oCqgVju2bUMF4KNmbhyACG11rFT dEyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=E4QnWHv8dLIoq+vheL78UIzoMLHsB6bqRQNiyBcbXwY=; fh=1pEnHSqaXlv3VvCuAstBOlzuSdak+0oa0iCsn6E4mgY=; b=J5QGd8k7w48oWDlYIvj03aHNLzCv1waP0ZTECyGaEHvHkNpBsxERgZdfwNfn7PAr6A o9NWqVeQQV36htp17dwvWRKFCbSbs284s5k+ysygfsYwdh3ynsT1jyb8kHdWdefZE6v+ M0HccxbdrxPsFXOEuNlFEZKvI1/sSKiPKH64Y5WZv3LV8L20eEaW7SaZdsatEsddJEGR IBmI269IhA/tBaHfS4HndtzJ9jasoh8eqv+Ypk43fDBO1/3bFlIOMeXQTzIJV6cbxxLI 1fjUf17wB1zdmIu/I1fr1/tb0wMM+QY/yi0PYE3XzkZWv6Awlbmt1rW/2WkkzPjf4V+N yyFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=oSK4cCDB; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8857-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c80727cc4si679122166b.855.2024.06.12.05.05.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 05:05:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=oSK4cCDB; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8857-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5B08E1F248DB for ; Wed, 12 Jun 2024 12:05:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A2A916F0E1; Wed, 12 Jun 2024 12:05:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="oSK4cCDB" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88317374D3 for ; Wed, 12 Jun 2024 12:05:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718193949; cv=none; b=X6hBFEYM6iuBL/+eMB0zir4Zp4woMIcZ0gyQrhZefA0daBeSalGOAFc5ZHPY5jNXBLwCGuaQAisRzswdQ6TkfjvsnU1DDNzteaMPkKvlCw1MBMIGAJ782gOpgeyNkx3GYxFA1gTVHRfuhpXCfv8vLfEXFQ6UcHMbL1Tuv37EZPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718193949; c=relaxed/simple; bh=E4QnWHv8dLIoq+vheL78UIzoMLHsB6bqRQNiyBcbXwY=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=uMZRs1LDo2z8/O9FPMK7Uymfrc1bykLDqU1vRi+oCUUJyNYKBFIJF5bdA4CUQkzkgZxGICMUxHUDQRvYrJ0meiJISrrvECHq+Urdx61VZ8KolE2hf2VicdD/irY0ao93FwO36Gr6oY9cGYD3piwcmC7BaxgQoKgWuxjUAVGSsmc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=oSK4cCDB; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net 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=E4QnWHv8dLIoq+vheL78UIzoMLHsB6bqRQNiyBcbXwY=; t=1718193947; x=1719403547; b=oSK4cCDBCm0bVboU6j74MsLLjSVjNZOc6Zbj97T5fXX9yEG RBkfY7yHlw6Q9ps9OrSLG8uDB4Hm6wWZAweJEq4SNmu74zQQwF7Efxg8BhCrqHTxaLm4II/kUd1TW 9sDku/gEeIlZiixS3s8gSWj4OCWCbCQr0EpXZ7I2HZO8xbKqGs6NtB2N52oIYWt267R1QYYHVkmPY xgRRTX0KZbbdU6XvB/rNpBOdbXbE4z0rFJ4vjxit+3MdAx0lx3YruRlFdHtmhP+QOHy/KX0f1OrT9 2ORI5uFldyUQvra6RXSCDD4gA2sz8o+D8eyHKGRwgQYqUFPa5az1Z4DrYQOjcvfQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1sHMjY-0000000AEjC-0yRF; Wed, 12 Jun 2024 14:05:44 +0200 Message-ID: Subject: Re: [RFC v3 6/8] wifi: mac80211: extend ifcomb check functions for multi-radio From: Johannes Berg To: Felix Fietkau , Karthikeyan Periyasamy , linux-wireless@vger.kernel.org Cc: quic_adisi@quicinc.com, ath12k@lists.infradead.org Date: Wed, 12 Jun 2024 14:05:43 +0200 In-Reply-To: <096940e3-713a-4533-ab0f-e82bd647e205@nbd.name> References: <1f32cb6c-6be8-4e3d-8e8f-2d3c728875a9@nbd.name> <479752f5-221d-746b-7513-ba27ef547ac1@quicinc.com> <096940e3-713a-4533-ab0f-e82bd647e205@nbd.name> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Fri, 2024-06-07 at 13:04 +0200, Felix Fietkau wrote: > > >=20 > > > Use the sum of the number of interfaces from each radio instead of th= e=20 > > > maximum. > >=20 > > Oh, then legacy user have misconception of the global interfaces > > advertised and try to fail for the allowed limits. >=20 > Sure, but that might be an issue either way until user space is updated= =20 > and users start looking at the per-radio ifcomb data. I'm kind of with Karthikeyan here - this could be understood as a regression, since you're now telling userspace something you can't actually do. > The global data is simply not enough to describe the details of the=20 > radio split. Obviously, but that doesn't mean the global data as advertised in the existing attributes must be *wrong*. It could be a subset, and the superset data is only available to new implementations. johannes