Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp290767lqn; Fri, 12 Apr 2024 01:12:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfbQmq+kvRpoP1e5hog2OI+jWB7NmYhMv+4BpfOigApZ0a5sdfO3EtpnV8Rr2/8N8Fi7+CEYVk7Tsns52cIhglCZOqnLeCkS5Ni6WtwQ== X-Google-Smtp-Source: AGHT+IHZejwZX7eXCiKfKJjPmzCDKcq9cWarFHzDdJiAHclPdLlfCanTYrbGQJ+GPFlrWkVQcFP1 X-Received: by 2002:a05:6e02:1985:b0:36a:23b8:de8c with SMTP id g5-20020a056e02198500b0036a23b8de8cmr2207927ilf.16.1712909561909; Fri, 12 Apr 2024 01:12:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712909561; cv=pass; d=google.com; s=arc-20160816; b=TKdLxo9P16BEfqrFC8IXDmHvWWRQBL1c1w2sq41ZGtcClJKbybCKanONgwI75u5uCL 4v7UBzYatNVPeiylPXcfwO6leFy7ZP+yzoY9P3shaA38IW7oTnk4YRtE6fR5fm+Odtjm An04fe6seIGakFrhiRzIYmQGvSriusf4ZQUAjGZ7qzKhzyxY2bbveSmWP0gSIWF9ZSNQ WsI6JQkw5ae7XytwbuEQiEsAwJNwW74IuGt1eJszp65eEWLJ9hcBwbQY5S1GYvxjNTHV tK/i5tnWQesZJ2cX0gyJqDUynXPJEjJEbTXMxbK3mPPNOcdZA1NdnOTK52+oqmsyeVep eoyg== 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=AXzmqe/HV/pIPC+x11YnHRp97KRRithDzZxLf+bgUfQ=; fh=u7JCGNRAltO/3uK0wjAs2u1xK76VrK9ZQbweCS26ztU=; b=Bf3QBSfeB+U2gyR6CfblyxsW0YjHz1bAw/5RZyvrT9jsC87JNGTYo16j7BSAOXeSPi VqCeGBrkwpW4WsySjGyGKO1jD+pY66QamBB0aXUg4ZzqMcV39F3FiQFxwThzVLRwni7D siw/KenqjSbrlqhQdQ+iIrrhqjdtQkmoCFoNVj8AJt6TYAdyeJGaZE6hdVgIk1BCRgqF uNJFa3aVi8uvyCVvH45SDnFUarihzpVac/uw9rDzOFRZvCguXwFw0FobVotZAQT399LY E3JiOulFO5dzXtdzQtQgnehKuCFBQRqhzMHTIV4vJnXxOXJnW8MUwvy0hkRYGJpLT4vW 7EuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=j4OzTnRX; 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-6229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6229-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k73-20020a636f4c000000b005d8505c96e1si2689424pgc.423.2024.04.12.01.12.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 01:12:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=j4OzTnRX; 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-6229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6229-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 25FF12890B7 for ; Fri, 12 Apr 2024 08:02:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F64E5028E; Fri, 12 Apr 2024 08:02:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="j4OzTnRX" 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 9EC5C50284 for ; Fri, 12 Apr 2024 08:01:58 +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=1712908920; cv=none; b=DoBJ8fgIXxBirOPimW4cY6f+2ssS8ysraR/SpGbtwcmYdx+TOeZ4s3PQmBiWWji2/pK/p4uECmbmsU6lUv1S24WHdsDgG0vkOC2mvd1WkYK40l8gOJRbY4mlxYF8AkoMbMS5+b+K0dn9XOQBqApG7VDpKdzlI7HIoJNo6eCuHZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712908920; c=relaxed/simple; bh=ZTljc3xsYBOItWKc1lJqgMiXwrIpr7b4wW6fdzNCKjk=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=Y7R5pxYk8V2l/adVSwbw+WFTuf2mPr2hxzUUhbo+7LM7kI8Wu/X55/ucWpCFhYl6J8kL1g/xvufNHL+33W2Ne75g20G8nHu/uHzJQbdvYfdLG1QcsR39Hpg9NB40x6hkyrt4udX7LFXQhg5tVXq1KnOvfKTAVzhsFVdwxqikV0s= 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=j4OzTnRX; 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43C3Qrp7011206; Fri, 12 Apr 2024 08:01:42 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=AXzmqe/HV/pIPC+x11YnHRp97KRRithDzZxLf+bgUfQ=; b=j4 OzTnRXQ84Opz3o+3H/K2rm4czoQ6o6R99i4r7wX/uoMnognpICb2cZs470+hfSIZ +Hp43n1Qvs0vIgCNy5KwZPBheENypAtEapsnKp8c8HE/vNjQHDOWIrupcNt6ckxm eT1VUaChf1RXhysqeQV3dH4ARc/MO+MtXZGG/xVTX+hWojzVj9HHpIiDlqIoxOtg QzjMh2iyQPNgDjGfmCMAboO1Zx/bI0O/DGN2LuyDKRMk/cqGZMn5tNlVDmjaVYa4 PNYGYlFEpph2Fx4ERDUMrQpwIb212WDdm8A4hD1taD0nNwpkES3OJ3y1dluiE9VY HI6BdcCvyMBR1PXlpuaQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xevweghb8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 08:01:42 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43C81f0W027173 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Apr 2024 08:01:41 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; Fri, 12 Apr 2024 01:01:37 -0700 Message-ID: <816770ca-fb30-e1cc-3f57-51d1fd35f141@quicinc.com> Date: Fri, 12 Apr 2024 13:31:30 +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: Nicolas Escande , , "Jeff Johnson" , 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> <0cfe990b-182b-4ceb-b5b4-2989fefedb2f@quicinc.com> <29f7ecb6d7c208c3614f37616943d5f97bb134d3.camel@freebox.fr> <5fc2f2d2-7403-79d2-8909-ddda918ff8d5@quicinc.com> <6ff353e2-785a-f2ce-8d3b-acc8e79a64cf@quicinc.com> From: Vasanthakumar Thiagarajan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: bTQnSVxn0gzORnd4lBkXWkqhK_tKoFU8 X-Proofpoint-ORIG-GUID: bTQnSVxn0gzORnd4lBkXWkqhK_tKoFU8 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-12_04,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 clxscore=1011 priorityscore=1501 impostorscore=0 mlxlogscore=407 bulkscore=0 phishscore=0 adultscore=0 suspectscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404120056 On 4/12/2024 1:08 PM, Nicolas Escande wrote: > On Fri Apr 12, 2024 at 5:50 AM CEST, Vasanthakumar Thiagarajan wrote: >> >> >> On 4/11/2024 10:09 PM, Maxime Bizon wrote: >>> >>> On Thu, 2024-04-11 at 21:56 +0530, Vasanthakumar Thiagarajan wrote: >>> >>> Hello, >>> >>> Thanks for making it clear, >>> >>> >>>>> For example, starting a 5Ghz AP in ax-only mode, and at the same >>>>> time >>>>> creating a STA interface on 2.4GHz ? >>> >>>> Yes, such use cases continue to be supported in single wiphy mode. >>> >>> Understood, but I see some corner cases. >>> >>> >>> For example, assume two bands AP hardware, 2.4GHz and 5GHz. >>> >>> Previously: >>> - phy0 is 2.4Ghz >>> - phy1 is 5Ghz >>> - iw phy phy0 interface create wlan0 type managed >>> - iw dev wlan0 scan >>> >>> => will only scan 2.4Ghz >>> >>> >>> With single phy approach: >>> - phy0 is 2.4Ghz + 5Ghz concurrent >>> - # iw phy phy0 interface create wlan0 type managed >>> - # iw dev wlan0 scan >>> >>> => will scan both bands ? >>> >> >> Yes, both the bands will be scanned if freq list is not given >> >>> - >>> - # iw phy phy0 interface create wlan1 type __ap >>> - # hostapd -i wlan1 >>> - # iw dev wlan0 scan >>> >>> => what will happen then ? >>> >> >> Scan will be carried out on all the radios including the one on which AP interface is >> running. Scan with freq list can be used not to disturb the radio of AP interface. >> >>>> Same goes for hostapd ACS, I assume specifying freqlist becomes >>> mandatory or we can't predict which band the AP will be on ? >>> >> >> If no freq list is given, ACS will run through all the bands and select a channel from any >> of the bands. But this can be optimized to do ACS and channels selection on a particular >> band using channellist/freqlist hostapd configurations. > Hello, > > And in a (very unlikely) case that there are two underlying radios that can > operate on the same frequencies, how would freqlist enable us to really select > the underlying radio ? > This can not be supported in this approach. As only the radios participating in MLO are supposed to be combined under one wiphy, not sure if we have real use case to combine radios of same frequencies. Vasanth