Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp264419lqe; Wed, 10 Apr 2024 01:04:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrQETMfSbdHaaspa3wkwHUFgTt7eX0XygVjMPYuI2jEhSbO5tVRla8PnWW/QMPWDhfzbvZgZGvP3CQOVK0D6GWkfLXw/hd+2Sv96YaFA== X-Google-Smtp-Source: AGHT+IFigaarxun7uc78qmq5Xv6x9P9qDO+LYSPiPnD5hZr92lD+CKaEH33B8hUKicdCisyztVB7 X-Received: by 2002:a05:6a00:4fcf:b0:6ec:d972:c3d3 with SMTP id le15-20020a056a004fcf00b006ecd972c3d3mr2022668pfb.18.1712736245666; Wed, 10 Apr 2024 01:04:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712736245; cv=pass; d=google.com; s=arc-20160816; b=pfVsCbWmIGY7L0kojRnrIBh/II0TpMbB21uND4O2weCtPgOs5/FCK/f5ZSY43mSad/ z2qWm/JeVVwgKpJJTwAam7kxMpLepjAvG+aSod6WncQW04RJ5qmEeg4TLZUe+4YmH6lA PdsQJyO1WvPG+0V+nh2wGt2QwGVY+cz0WyG4BFfn0FQJHWYZwUsTHUyBtDp3kQz7NKmr feYrU3H5+R+aKUfPFd73AfFB+tpKcAjprRzIAdxASt8dfb+ixRsrNbl4nty3L0xpYlKe LEclURsAR/JJy8oOSEbm3nf5J64meKee+E3ztfSwK1QZg0LCgSTakIMb+x/u8Z1/mlhq GGYA== 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=m0scYqStgxZbWMDUaVHUNB5CmHlQnGVtrgSLw2qoU8g=; fh=kZFK34qshGWGdr/ln2mAjUZtiSzsbUpdT+zqeXFEJ3U=; b=MYQE4oYOO26QTERoHxmFNphba3UVt30FoO5TVnjK+Y+P0AUn9ena6cVZb6EeNP7l+o 3rYHK25ai8BQK1jgOJgePM7PKSWdgScD3RJORf3ltnaTKNuj74qO1Bi9bFHjQWNmsGLA JSCvP6qH+3RsX2N3K7BUzeBehDY1XTEjjM9sfGdzCRsCUaW/zGhpx/Sz/pzvtSQ4WvTv 1ewAFaA4L9megpV8CYNbXEzk+r6n9zjGy3pc6hHJRuR2BofX9PRmh29znbDL/3kCQL1N ewDjqjVQ5MSsBnZPy+OXGuf2wv/KKf3oWBfayXLU7zzQ0opBF7/tfPaYnd9y9cUTod0u M18w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=MSLZUtIY; 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-6072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c197-20020a6335ce000000b005f401ccf2fesi8041171pga.600.2024.04.10.01.04.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 01:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=MSLZUtIY; 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-6072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6072-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E20EDB24B81 for ; Wed, 10 Apr 2024 07:57:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D88D113D60F; Wed, 10 Apr 2024 07:56:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="MSLZUtIY" 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 1B89913D535 for ; Wed, 10 Apr 2024 07:56:38 +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=1712735800; cv=none; b=qinryYJv2n1/5nx2Yshp5V3/GxXFw2w0GFDeh5SPuicL+FH8LwzktwB+hLrXZS8DIbI0axL/GPiBOj0y9bElHhn2CLJO2d/cYxhsTJ257KNZaq9tKTQzCiToM54d42d6FET3AELTOo7Zz8P4v2z3ONksyMnpUNQi9vx8C16MwHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712735800; c=relaxed/simple; bh=EyCsOjvYWcw8ZMkgSOdW3Hs9mwR7vIMqzLHXKwNDIik=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=rB/AAYUPpoHQ8eFBwdwQJP8lQrpksBEQVIqfPvW8IiVXOvxrjMzcM38aLP9wlv6U8QADUcWOvFJEX8OY6x5fk1GD1JWijEmGsCkBrqT3FVW4Dzw73Bb6jSN5fY1FhmAjrnIVOQDQLMz7Y9lnFuIlLxWyCXe2R2bBpLHQKZ0wPDc= 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=MSLZUtIY; 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=m0scYqStgxZbWMDUaVHUNB5CmHlQnGVtrgSLw2qoU8g=; t=1712735799; x=1713945399; b=MSLZUtIYGIffbXlasvPeE2ZtnLONCN3crmZhAKIfeuVKc9u Kl52XCI8WEWKS8X25ZnI5F+u2FqOU49pOcg0DK/5WJHRMboBuE5kCnyq08kQaZ/URpQSGkUwkccPb x5mrmSKN5dslWYQCjpgiC1u8gzZZDpp7ZOc8vskON5X0Tf2+CzF3i4cT8ea3zkn9P9iVRAY2BZQvO 1CweJUKzdeqh8wVCXgeSm0dodomy+iTPTkz+F8oHdjAGe0/HjqFgFdsvGZ6BUno2IXJAJHZYU4PTu NhFN2eS6F4svfSqso2dpX192FwzVR3BM5K6k2CZ9o4OTJFI+ryJcTRN4r259MtHA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1ruSos-00000001Ei3-1Y5e; Wed, 10 Apr 2024 09:56:34 +0200 Message-ID: <31f30c0e318904f3a082c7f213576ceb1f407141.camel@sipsolutions.net> Subject: Re: [PATCH 01/13] wifi: cfg80211: Add provision to advertise multiple radio in one wiphy From: Johannes Berg To: Ben Greear , Vasanthakumar Thiagarajan , Karthikeyan Periyasamy , ath12k@lists.infradead.org Cc: linux-wireless@vger.kernel.org Date: Wed, 10 Apr 2024 09:56:33 +0200 In-Reply-To: <80fe5786-f764-455d-ac44-22adf7aeaf94@candelatech.com> References: <20240328072916.1164195-1-quic_periyasa@quicinc.com> <20240328072916.1164195-2-quic_periyasa@quicinc.com> <033185b0-f878-a50b-d0d9-57fa79439bdf@quicinc.com> <80fe5786-f764-455d-ac44-22adf7aeaf94@candelatech.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) 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-03-29 at 07:47 -0700, Ben Greear wrote: > On 3/29/24 07:30, Johannes Berg wrote: > > On Fri, 2024-03-29 at 19:41 +0530, Vasanthakumar Thiagarajan wrote: > > > >=20 > > > > > + * @hw_chans: list of the channels supported by every constituen= t underlying > > > > > + * hardware. Drivers abstracting multiple discrete hardware (rad= io) under > > > > > + * one wiphy can advertise the list of channels supported by eac= h physical > > > > > + * hardware in this list. Underlying hardware specific channel l= ist can be > > > > > + * used while describing interface combination for each of them. > > > >=20 > > > > I'd expect there to be a limit on channels being within a single ba= nd on > > > > a single "hardware"? > > > >=20 > > >=20 > > > There are ath12k hardware supporting multiple band which need to be > > > registered under one mac80211_hw/wiphy. This design is to support suc= h > > > hardware. > >=20 > > Oh OK, that was something that I didn't have in mind any more, or never > > knew or paid attention to. >=20 > Would it work to leave the phy reporting pretty much as it is now, but ad= d > a 'associated_peer_radios' list section, so that each phy could report th= e phys > associated with it? Then user-space, driver, mac80211 etc could look up = the > other phys as needed to get a full picture? >=20 There's not really a good way to _do_ that short of creating multiple wiphys, but that causes _massive_ complexity in the stack (both cfg80211 and mac80211) so we rejected it years ago. johannes