Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp553497lqh; Thu, 28 Mar 2024 09:17:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+rVVZ4SBaARVJb9EyGPLleOg2fATrqoVlcPjQvg9a9DOs5zJ5sfmOCbXhxrNR0f/bkih3YXFhuYsXYqF9rP/bcx+FUGimuiDdkHRHiA== X-Google-Smtp-Source: AGHT+IGUxBGFOcjjqxdhsxkYqpZB6/6ki3DOWIgoJqWttaecf5MxNsrgtl6tgUx8/VsBKrzvcKWt X-Received: by 2002:a17:90a:a596:b0:2a0:5526:bef3 with SMTP id b22-20020a17090aa59600b002a05526bef3mr2888106pjq.25.1711642647249; Thu, 28 Mar 2024 09:17:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711642647; cv=pass; d=google.com; s=arc-20160816; b=Npsl3psO7wzNjgYuf+fdUWtE7F4fDooAGIDNox7bKTltxNbSI9JH2xzkZB2RJsAexS pSZ71onn0ridTkSuyyI++WOTYryUuFwHXPsJzg6Urpo3L7lnxEmNYOzdKiWb4zW7esAV wn+BqwTDJcmrKj3cFhsPEhaft0AWxujHE6NshuCLRoA9fRFQ2TQI/peHRUuLS/Q+BAzi bhYs6m1CuetswGx2zql5FNS1ehWzxRrochAbgXzjSZbK41lIsIK1Ci+vvO/KDz0oBO1H FlutY7TP63csnZQ1IE1txBDHPsFYaLf3zxFn8vlG6tT3redtkFS9AXOWWKaopnY28gAA EHQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=636zevgSUP7eV8GIfmQOjX+47o9fQKiRz7Vou/3XiBM=; fh=EnD5gitny1WI/P3ud31W6Z3DytLwsm0PZZ9lmeECfTs=; b=Xj+/npbdJdW8oH09Dy1ZYcwhFLy2z2i1AvFlQtxBgzIO2G1WEyI91EVJnrEOR79MTq mb3PUUEfzgr+m8EMN99vMp6u4qtDsegrJ9wsAvEOyOnUWvRjO33lsTvaLlb7EFakmP1B 7zzmuLh+JxBf33+PiEnlrcGpWH291+hfYnL4/YZrJCA/GhK24ZqmpaasWb8xeZ8sRzb5 wOrPk4VT43RyIUBm6ncnYl+ZfZcAV7sXOQFF4ZMODdjjCy5jGQV1iOoVPoR4ol4NSHhO N9DzQ8GzynK9cGQZn0NiALOm+1Gpaj1sx6AnXStXFZWSp2rzCGLAVpl9tp6uhE1KqPKq hR0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=gLPJbx8C; 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-5473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5473-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 ie7-20020a17090b400700b0029ac04ec792si3891777pjb.138.2024.03.28.09.17.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 09:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5473-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=gLPJbx8C; 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-5473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5473-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 0BD9D297F5F for ; Thu, 28 Mar 2024 16:17:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86C6A8626D; Thu, 28 Mar 2024 16:17:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="gLPJbx8C" 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 F125012EBED; Thu, 28 Mar 2024 16:17:20 +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=1711642642; cv=none; b=FqL6mz9SBh5bGhctGcGW0mbDBG4XotsA1XdPXWQkXDaVoJGGDbsm2jxvQr+RFm24zIwpBeXZkkcwhbBAhmDhm2pW/OFPyzg0UhKYhvISKtmcLfbu9RygaFqH9VmKM4ENvgILRJE1wMByy8W6YcLT/WzdfjpxBPJP7O8gXxt/5SY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711642642; c=relaxed/simple; bh=wa2Pfrexrlb1DMkSu6DjACszCAGyv11hxdMf9lxwy34=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=PDdP1VgUsOarvEGb5eRUNvGeSJm1bf3Gr9KK7xBEwORpNsa/4olWD1FajRCt+j3oJjDF0EVIfxkTIfuhUpTAcamezzelxmG/DeQFUFzhiU+PsVpO/PT3AhV+4LYkl2OfX04wwf4xacND2OmEuDNTTVmb92bEUWDlHJmyna0N09g= 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=gLPJbx8C; 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 42SBKxOu004762; Thu, 28 Mar 2024 16:17:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:from:to:cc:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=636zevgSUP7eV8GIfmQOjX+47o9fQKiRz7Vou/3XiBM=; b=gL PJbx8C2bBGwyE6XhowDzxENX6p/+f121vufT3BmoWmCyoc/w7w6WFeDUske1ldF2 mEsXkJpUohMN1O2M0kS8ZDTGmpZd+q9osE+kz+VTvBstS1LicXUw3xNLzCNSYJH4 T3KbiV6HwjFI7gxQ+o+jH9U+AaVH3xi8MhHFeS0QRFeGwTp5O59i4TwZb1spj+7u Rv0/vxtMazpUHDmzYxES2cskUk0GnhpA4sWUSqgPM2ODTLgUciGbHffBl5O59dvS 4C7R7epkBw7rwH19aRY1Wk1wKHse2GcDFpR/C2tULrPwGICxzGrnbI501KjwFEl+ v3j6TiqVJXO/0ZgNLlEw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5580sd60-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 16:17:13 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42SGHClo014863 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Mar 2024 16:17:12 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:17:11 -0700 Message-ID: Date: Thu, 28 Mar 2024 09:17:10 -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 From: Jeff Johnson 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> <2b5fdc14-85f0-48ba-9797-c1f43ecab86e@quicinc.com> In-Reply-To: <2b5fdc14-85f0-48ba-9797-c1f43ecab86e@quicinc.com> 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: _1EYwoUDPRrsJeZpDzDPddA9IPYUZb27 X-Proofpoint-ORIG-GUID: _1EYwoUDPRrsJeZpDzDPddA9IPYUZb27 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=767 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-2403280111 On 3/28/2024 9:14 AM, Jeff Johnson wrote: > 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. Need to check myself -- i'm thinking about the interface combo information here