Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp551750lqh; Thu, 28 Mar 2024 09:15:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhC+0JCgGDg+MAjk7vIKLiySWGb9X6muNNrJYrgOkJWuNxgqGpHTiqXRzw9Ha1RudyXC36Z4mLV2ILdu34elrDTVGyApLTIUdJum6FJQ== X-Google-Smtp-Source: AGHT+IGKcbOlRqYapanbSPCaUa+kTjD+SZFZijWQk2I6yQYB86+3dA4BX/jsMUlOJeg+UD2apyt2 X-Received: by 2002:a05:620a:22f5:b0:78a:f5a:f8ca with SMTP id p21-20020a05620a22f500b0078a0f5af8camr3089688qki.28.1711642510780; Thu, 28 Mar 2024 09:15:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711642510; cv=pass; d=google.com; s=arc-20160816; b=fbJMUYpG2hwunFH8GcN+zZMsauPFsqrcf+Pz/ub9nWny9hHOw1E9U+sFOMJ5Dz999y n+yccQx1dNIA5gGOz1tJVbfzAYYmXHVuOiYLdkQw2CSYHp6hwVgI0jhZzqtc4UR+Wl0F dK7/35AmXN/yyhjcct5gCmlv81g1EenVc6WBFvCop6hJzAPDsGtywMFkzjlgS3b8Fzcd uYh81rXxxDaDIZwJf+Aghe8lQ//xyDDQMkrWpJgsuh0our+55YpUV0uOyb+4vKEO5YQt UdjItwJthIaTmto1KC1U6I+xvCCEHG009nnZuWhwtHretQoa2aCsgXgv914K+IKbqCzy 2P5w== 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=OMi/pAQR0oay8N9biDxDhLttdJY59OaThlJ1rTiiLco=; fh=EnD5gitny1WI/P3ud31W6Z3DytLwsm0PZZ9lmeECfTs=; b=tGnCKJmiFY/BpsNGc2Tl9aLJ5RWKdFT9p5i2rnp6RZAvXHZF2jS8o21hBD01LO/HYv lFfMyeORYu4r6nFgL+cbgONdIxYRw56CHn9D0ajpIRa+QWq2AHSUYdjBEgDtMtXwTxQm vxg2EYSul31moRLRR1ekpR4JxWYqvT7R2dSFaSZdtlOlk+5TRMW3U8TrREtKNt23Zu3l kgdHqOzAx4gkBlJJjwtRKGmLVK1bt8hZmuHmzDvpGTK/3gHJ8uLwBU9PudC4ts1jwrwW cUit3WUyJSvsaCS6m36WrLkSGDyggfYDuF2Fu3HBqkcA4ljUaL5MAJTaOCQYcGnmQahH WHtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dgRhoFGC; 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-5472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5472-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 j7-20020a05620a146700b0078a461107d1si1704387qkl.662.2024.03.28.09.15.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 09:15:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5472-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=dgRhoFGC; 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-5472-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5472-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 CE03B1C2619B for ; Thu, 28 Mar 2024 16:15:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19D8B12BEBE; Thu, 28 Mar 2024 16:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="dgRhoFGC" 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 8FA5880BF0; Thu, 28 Mar 2024 16:15:04 +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=1711642506; cv=none; b=CoIUNwkLuddp6F2rXfW07XUBKdGFgP2wuDh3R2fL+tHqCllhl41e0nQHDOs5MEzLZJ+Wu5v22CWbaJdj0n3lsMoqaDP2dUB6/OuBysahHX8AESAb3sl9nHXEyxAdSIXlo/rOcJerRPSdRoM/g2xTP5DKpwdj2ytooyBV5MUZekQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711642506; c=relaxed/simple; bh=KaY2MRIVEI83lEC9kARXLM8LNymrb500ssuEMT7dVJY=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=jNmCtdjGvTpiMaKahtmf+NO7s8DeheurivaUmGCc+Qlb+IIo0h0pi34j+th9J9GmBUfORLaXoaskJLCBg77xYebOmXcTrW4gfOq+wa6sgdsWaZa1v0Aj139V92AHrrhj4C0oQYWp/1SL2z4r2646Kyv+dgXiUey6AHBM3uO1L0M= 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=dgRhoFGC; 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 42SCEW8X020565; Thu, 28 Mar 2024 16:14: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=OMi/pAQR0oay8N9biDxDhLttdJY59OaThlJ1rTiiLco=; b=dg RhoFGC0CYpHOO3S0/cTir9qnDHPFAMzNKUihM8V/a2ye+M7+cgM5oY3zECaasutB BAOBRXHD3UwFoBwXtqYnEVMeYMhPDpeuk3cin0Gz426TaoS4HglOQusnw+Vy0P2a /WH1EDbq6ivRfYbYoAfc/iOtJu3VTX+adUXRRd0HKCA4O6prUFsm0fkRZa8Lqw/r 5QXj6Q2WBbe7ORWnGVPTKX8GQGk7MVRmBeU5KLkc/kwv0F8AYjAXlGVqwXJOHCbz /MZs77TZ5Cf3+b4KNgFj13YtWaW267j1CITf9ttmAet4vljDDjixSCLNCRnPwrHn 4GruUPTt2hPFa5tKHJug== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5580scvp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 16:14:54 +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 42SGErCS004574 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 16:14:53 GMT Received: from [10.110.124.221] (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; Thu, 28 Mar 2024 09:14:53 -0700 Message-ID: <2b5fdc14-85f0-48ba-9797-c1f43ecab86e@quicinc.com> Date: Thu, 28 Mar 2024 09:14:52 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 02/13] wifi: nl80211: send underlying multi-hardware channel capabilities to user space Content-Language: en-US To: Johannes Berg , Karthikeyan Periyasamy , CC: , Vasanthakumar Thiagarajan , , Jakub Kicinski References: <20240328072916.1164195-1-quic_periyasa@quicinc.com> <20240328072916.1164195-3-quic_periyasa@quicinc.com> <6d92d0ba4a8764cd91cc20c4bd35613bcc41dfcd.camel@sipsolutions.net> <9d5c2f9f-19b5-af4d-8018-1eb97fac10d6@quicinc.com> <9d0f309da45ae657cd2ce0bc11a93d66e856ef64.camel@sipsolutions.net> <14b739c9-18da-0d58-b58d-cccebc505950@quicinc.com> <3f61f18fbf3372ff88da54cdfbd309e74b2aa4e9.camel@sipsolutions.net> From: Jeff Johnson In-Reply-To: <3f61f18fbf3372ff88da54cdfbd309e74b2aa4e9.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" 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: 0CAG40ndfmBVir5QoskTMQGU4ZDsddK6 X-Proofpoint-ORIG-GUID: 0CAG40ndfmBVir5QoskTMQGU4ZDsddK6 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-03-28_15,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=778 adultscore=0 priorityscore=1501 spamscore=0 bulkscore=0 mlxscore=0 suspectscore=0 clxscore=1015 malwarescore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403280110 On 3/28/2024 9:09 AM, Johannes Berg wrote: > On Thu, 2024-03-28 at 20:40 +0530, Karthikeyan Periyasamy wrote: >> >> Can you point to any attribute constructed in this way from kernelspace >> for the reference to explore more ? > > I don't have anything directly, looking at the code finds e.g. > devlink_dpipe_entry_ctx_append() but honestly that's really quite > trivial, it just adds that new attribute while iterating whatever list > you have. Note that we are trying to maintain the same structure used by the current wiphy global advertisement since we actually refactor and reuse the existing code.