Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1222117lqz; Sun, 31 Mar 2024 21:19:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWycEnmPrQsheeOmsMq/l3kVcQXchKOnKEOKx5HaHNyOz9P8DkH5+lqKoXA7f4/1DA3IT1dzIdXO8YDCjZoSSFsHc6kPJD4uRiyrpNIJw== X-Google-Smtp-Source: AGHT+IFr/PcBpdX3UflL17dh9M4bVTE1vEAJmQW306DaaOPFAFhsgm2oQE3B5AM0mjAJEqTBfZxZ X-Received: by 2002:a1f:e402:0:b0:4d4:32e1:e7b4 with SMTP id b2-20020a1fe402000000b004d432e1e7b4mr3758267vkh.4.1711945172236; Sun, 31 Mar 2024 21:19:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711945172; cv=pass; d=google.com; s=arc-20160816; b=Al7IoB1HKTtrkG9QnDhYZ8dQmEa3eggIphvM1M9MxIjoOfR6YX8eUuP+4Qblkam3Xm Q/oiE5VSlorZ7+QZ3K6wbnJ9ENQcg4TTOgWBBwxipX3ion3sBMtLLWYQxF/+yb/QGHBW k6icYEdZSBPmcF0CNQZDslge+cAfUFM/dbsFBKQ/rnfhtUF+3oYCYTtFCFDp9YwzLsop 5Aar1rtoOtNFII6dVsmfKSqjNeiQpr3uKOI741bvHPofae+kHeL1H1wki86GORr6zmxL L70vEIJawAk9z4/UXT83YNxYERDrTx03yksT/rWfD4+llWz3Mem43pUNbCXhIq3hBwcr m7OQ== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=7UT59QlgKS3WS7yeK/Em14rK2iOM88E05ojXCflJgCQ=; fh=ee+FZxnLGfIVuGYvmQpnIeb+S0sSrcSchgWdzcNf1qo=; b=JPApuSJ9qiJPjgZyEU0Hbmw4QBkWzY6MnD3ppu+MrwocW2TXjnic9iQRWEZEekioPd QGJpTakvjlKIxfHfItEcOh/fjlBz/CXoypXH66rBkMSAevDozwPDud3UmhgAMJyTdaUR bHdeBSzmx+bd1VAGo15A7p/wEMCTomBLnJb8FWQQ/7o6LgBlswk4YzwdL8gwLwqci2YJ e3CmAh9eCKjvA58nMRpt7wHal5fCd69hT5+v0o5ZwkMy0nVJuzsZgtu6U1bmSUEOsYwA AZnWO6nBeTyw0QpQ9Laqs9OF4t1GI8zLdbK/v463oB7xyGao30tnFg3VPeIZ+608vu1d ZC4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="TZaRVF8/"; 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-5707-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5707-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ev17-20020a0562140a9100b006990266dfcdsi2805807qvb.398.2024.03.31.21.19.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 21:19:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5707-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="TZaRVF8/"; 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-5707-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5707-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DE9D71C209D4 for ; Mon, 1 Apr 2024 04:19:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6E1C749F; Mon, 1 Apr 2024 04:19:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="TZaRVF8/" 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 02C2A443D for ; Mon, 1 Apr 2024 04:19:26 +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=1711945168; cv=none; b=RZW1drEqD4/R3XzetEdws4hV+n3xjx+GOkluMDyCQHlBF7HIuYHrkCGlA9zUzzswfwLFhHjVimsTekytdRoNGU/az+n6zX42LB23Qvek6YV+h5X9rtbc3hwmwrZyOdS8KERaoQ0Jzjc/oyu417D+DBLJ7bWou7Pe5UP/Vdx7eoY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711945168; c=relaxed/simple; bh=oOLS2/EzZEcYHPMHh2VMCSeMGhVD9tPGpBJ3XYs491c=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=k5HsKT3buCfIq87hFon204xZNwv+0WTl//K3zemZw4avaK1EpU3d5isM1UIurDK7GQTT2YNtkzqkLrQLZ1nWJN2wQq92TSrAEJH/u0jZ5qaquYaOt5avPEz6ltXF3JNZ491Rj0WQrAnAZxLE37e8ZYS8errg9MVuChTz15PXNb0= 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=TZaRVF8/; 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 (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4313OXlF030720; Mon, 1 Apr 2024 04:19:16 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=7UT59QlgKS3WS7yeK/Em14rK2iOM88E05ojXCflJgCQ=; b=TZ aRVF8/RSfiUI6y1SKoz/As6aK1Mmr19VaV+y83wxUNYxkrZfUCf0zJaP4UQj4jpS 7DxFwoFMXplxmsSWbhMNSNDqxiPwFfQknua8h9TMeSXifzAOY7sWX2J9GfWzXA1I mvJruDod2QLOJYxGYZQjyTvrte5NHfGc+oIF6Qhb6pWJShh5ZVC6gPysoMe4iwkF xIzCApHE32a84SOk3gyLUW5taZjWT1aC42203FDiiWbEF02rYinXY1KQhYF3upP2 zXYMurNbq0tRJUb7VLuWevav2YTvVwo46GN1jVDtqrZz5oS4WOnNLY1LbLiLHwpA 5L5DpMjtKHkwRKs/3LBg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x6atwk3wr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2024 04:19:16 +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 4314JFpm002001 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 1 Apr 2024 04:19:15 GMT Received: from [10.152.205.142] (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.1118.40; Sun, 31 Mar 2024 21:19:13 -0700 Message-ID: <304e71ec-4234-c07d-ab90-b2309325595c@quicinc.com> Date: Mon, 1 Apr 2024 09:49:09 +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.15.1 Subject: Re: [PATCH 01/13] wifi: cfg80211: Add provision to advertise multiple radio in one wiphy To: Johannes Berg , CC: , Vasanthakumar Thiagarajan References: <20240328072916.1164195-1-quic_periyasa@quicinc.com> <20240328072916.1164195-2-quic_periyasa@quicinc.com> Content-Language: en-US From: Karthikeyan Periyasamy In-Reply-To: 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: kuTi8QQ9dfS_PL-RikdQnph40DLgmXfN X-Proofpoint-ORIG-GUID: kuTi8QQ9dfS_PL-RikdQnph40DLgmXfN 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-01_01,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 adultscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 mlxlogscore=765 impostorscore=0 spamscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2404010028 On 3/28/2024 1:16 PM, Johannes Berg wrote: > That's a big set, not sure I can review it all at once :) > > >> +struct ieee80211_chans_per_hw { >> + u32 n_chans; >> + struct ieee80211_channel chans[]; > That should probably use __counted_by() these days. sure, will address this comment in the next version of the patch. >> + * @num_hw: number of underlying hardware for which the channels list are > "number of [...] hardware" sounds odd to me, perhaps 'devices'? sure, will address this comment in the next version of the patch. >> + * advertised in @hw_chans, 0 if multi hardware is not support. Expect >2 >> + * if multi hardware is support. >> 1, I guess, not >2 - and ==1 makes no sense really, maybe it should say > that? sure, will address this comment in the next version of the patch. -- Karthikeyan Periyasamy -- கார்த்திகேயன் பெரியசாமி