Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp213874lqn; Thu, 11 Apr 2024 21:16:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1ZGG+NuwYvv/i6945htoqXiJ5FUNBATDp+LkRJfEbrRqGoMq+zZ+aq2f+0eFNqra3Shs/ScB9g2yhCbztkHA/CtmXvqQlV5SvXjFS8g== X-Google-Smtp-Source: AGHT+IF645AcOlarq3sitiXrU+WeSmS65BRAJcslkYL0ycFK+RNfZB1ELBET+19h8lfdc3qmJw94 X-Received: by 2002:a05:6a21:8802:b0:1a7:4a6f:ec4b with SMTP id ta2-20020a056a21880200b001a74a6fec4bmr2045740pzc.35.1712895405812; Thu, 11 Apr 2024 21:16:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712895405; cv=pass; d=google.com; s=arc-20160816; b=UFHW6kE3XcVshkuS+wPu6uOThMIR+rQSTmpAtCJiwTFbbQXKV7FzdqBo5C3/GNYFlU KeQPgSj2ip0pNnmdoBPKRcW43tLM/Mm9LVJzKABUznPpieBg5gMHYfB+8w/PjVnxsK2y QOzHKdivMQweeHKBLw/ugmqZPiZLna4AqEewxIaQ2OXx0fEXxtATqNFMNX4+6Ef+/icM +ce1AjKh2/RfuqPs2L/ff/8GZ55qgzoHQofZsQDKLoTSVAFoea7GxxtmDpHdHwAesPFH J3FIU8iaLHC8arFhWacGgTLz8KAEl5MQyMB27WThkJHM+ZVSZ6I9Svxth77TJG/LCKep 88Jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=V28+JOadOYjwfGsVqtPSP0u596xNzPVUwVpRdbH3x3g=; fh=wWM6+NLKPLY4MKcyKaycfuRiaOetpn4p/HhqkL34Vvg=; b=D+GdpMfi69rbvMfWivSaB1fvUtbX1WwWRX2RBHqYC9wVMncxKIohpw4yC6yoop8cmq F1NA2LDgP0By5EssFHqGMTRCdTVPQ47zLbmlRRrHI0J59Wvkm9PkrQyoO4dVo49dBSVV 6/NGvPqBDPy8+vLZgGpw+tGafp8g6fsfmCO+sRXSWDp7JAp17VRMC+gumMlsM4ntm8EI XfBr2ejPHYj3lHkjL8jOo73eTb2qfHlsKXpjTtEM7rF6+Cb2usPsfJuVMwMNhjSGJEsZ +YcI6nIaoLIm54EVhXRZaIQECjx8PvEW4WvBFaiss4H/ay7cFeamFNmMSRu9z3Q7uRMT 9kuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fltbi8H8; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id az15-20020a17090b028f00b002a4eb0b39ebsi2577344pjb.84.2024.04.11.21.16.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 21:16:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fltbi8H8; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 43FDB281EB1 for ; Fri, 12 Apr 2024 04:16:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4998353E0E; Fri, 12 Apr 2024 04:12:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fltbi8H8" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 B1F1753E0C for ; Fri, 12 Apr 2024 04:12:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895138; cv=none; b=Ktm0FtZJ17Tj/Hqhi7sB6JNsNLDnSVLN/t/YRuQ6xU+jllkaf2mp8ZOYc5zcpC5Ju4bMNsJ3yQEwUMBQMZbSO8BBkRjGM+7ihFVrwRsxSaJ43X/hJCc+uw1hLHBafVe6u6EckRS8GkdaERXj6BlOSQiHQhFvvhmdcyvIVMgv1Aw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895138; c=relaxed/simple; bh=cXXYRit1lQTxvtNuja3KkC2s9KSuIiCfKlu90pM9Rgg=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=LXh5yiGCMOFSAxEQJ4j1A3trTWQX6HEcB0iAvGXYgfZ0vlY0804dUTzH+ABThPoiPuoiKorDL3ayRMYD9EiKWdpIrDt10+d0DmdD9EnXF7RPfgW9AKoM5AqNdiydJaxi6b0gA/jB4tTtNGbFE9LUw5CVIm/r1K4GNO9cb1aLoXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fltbi8H8; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43C3HWp7018755; Fri, 12 Apr 2024 04:11:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=V28+JOadOYjwfGsVqtPSP0u596xNzPVUwVpRdbH3x3g=; b=fl tbi8H8NofVUc33v5DKW1dSx+EKz4tzr2UNt6qrpt779C/pKMsSONwj3yrtjw99xW LCgXYbfY+7Qftv11wnJWtQjCOnwpmkWVBGdThu8jnT2WegVuupC082wLNh7cGGqj +lrLWayp+eohqyzkoWjd93PTu3morXWlStqk3S8EN6lnMDjws8CoN4f7RgIrpgEM 4MxpaRZ1yqaKYS/rIPq7aXWsCyEtH6jrEsFIuOF2PU8r6PfmMjgUPU/mFixkAICr R/w83tR3W7A7Kt24NjzrW149zPT0GclXkFhmnAZpEZXLqdjsDiiQu1yKtlVXQ6zG XphzohosiHI4JcP+MeAw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xep6fgrb1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 04:11:55 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43C4Bs6o024156 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 04:11:54 GMT Received: from [10.216.26.110] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 11 Apr 2024 21:11:51 -0700 Message-ID: Date: Fri, 12 Apr 2024 09:41:46 +0530 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 01/13] wifi: cfg80211: Add provision to advertise multiple radio in one wiphy Content-Language: en-US To: Ben Greear , Johannes Berg , Karthikeyan Periyasamy , CC: 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> <31f30c0e318904f3a082c7f213576ceb1f407141.camel@sipsolutions.net> <20b56e52-a5e2-70cd-a62a-8c4a3526c2cf@candelatech.com> <614bb8a8f1d9174ad7d87cf7636f657cda7b1ef9.camel@sipsolutions.net> <72f491f8-dd3a-0c9e-7490-4d51c86f2102@candelatech.com> From: Vasanthakumar Thiagarajan In-Reply-To: <72f491f8-dd3a-0c9e-7490-4d51c86f2102@candelatech.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: y0A4HPy7R4UUzPI68klmUXQhwRXh8DEo X-Proofpoint-ORIG-GUID: y0A4HPy7R4UUzPI68klmUXQhwRXh8DEo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-11_14,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404120028 On 4/11/2024 2:33 AM, Ben Greear wrote: > On 4/10/24 08:42, Johannes Berg wrote: >> On Wed, 2024-04-10 at 07:37 -0700, Ben Greear wrote: >>> On 4/10/24 00:56, Johannes Berg wrote: >>>> 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: >>>>>>>> >>>>>>>>> + * @hw_chans: list of the channels supported by every constituent underlying >>>>>>>>> + *    hardware. Drivers abstracting multiple discrete hardware (radio) under >>>>>>>>> + *    one wiphy can advertise the list of channels supported by each physical >>>>>>>>> + *    hardware in this list. Underlying hardware specific channel list can be >>>>>>>>> + *    used while describing interface combination for each of them. >>>>>>>> >>>>>>>> I'd expect there to be a limit on channels being within a single band on >>>>>>>> a single "hardware"? >>>>>>>> >>>>>>> >>>>>>> There are ath12k hardware supporting multiple band which need to be >>>>>>> registered under one mac80211_hw/wiphy. This design is to support such >>>>>>> hardware. >>>>>> >>>>>> Oh OK, that was something that I didn't have in mind any more, or never >>>>>> knew or paid attention to. >>>>> >>>>> Would it work to leave the phy reporting pretty much as it is now, but add >>>>> a 'associated_peer_radios' list section, so that each phy could report the phys >>>>> associated with it?  Then user-space, driver, mac80211 etc could look up the >>>>> other phys as needed to get a full picture? >>>>> >>>> >>>> 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. >>> >>> I thought the problem ath12k is trying to fix is that there are currently multiple phys >>> (radios) that needed to be made to >>> look like a single phy? >> >> Correct. >> >>> For dual and tri-concurrent radios, I think we will need them to look like 3 individual >>> radios for non-MLO use >>> cases >> >> No, I don't see why, and if you want that we wouldn't support it anyway, >> you'd have to have a module option or something to decide which way to >> go. >> >> But it really ought to not be needed - the point of these patches is to >> give userspace enough information to know how to (and where) to create >> separate BSSes, with or without MLO between them. >> >>> For instance, mt7996 currently reports 3 single-band wiphys, and each can be used >>> independently. >>> But assuming it starts supporting MLO, then those 3 single band wiphys will need to >>> start acting >>> at least somewhat like a single entity >> >> Yes. >> >>> (while also concurrently being able to act as individual >>> wiphys so that one can do a mix of MLO and non MLO sta/AP.) >> >> No. > > Hello Johannes, > > Is there any design document for the combined phy approach somewhere publicly available? > > It is hard to understand the over all goals by just reading patches as they show up on > the public mailing lists... > Hi Ben, I dont think there is a document for this composite phy approach. But we try to clarify as much as possible in the commit log and kernel-doc. Pls let us know the area which is more appropriate to be clarified in the path. Vasanth