Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4010318pxb; Fri, 11 Feb 2022 12:53:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3WjbTlYxE7YMG95KDPxSByLmT7KoIHFNjwX2KIGBkw+iS58o2lqivgLxjMzCQ8x1Tktk0 X-Received: by 2002:a05:6a00:98e:: with SMTP id u14mr3436484pfg.12.1644612811679; Fri, 11 Feb 2022 12:53:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644612811; cv=pass; d=google.com; s=arc-20160816; b=kHfwUixNpnjZzK1LxI4EiCY+fx7c4Rddn93BKMsLyZlfUDw3Zm3WAfuMoASa2SCXyB 1Os56UHfctby9hZiwjqCmbfYZcCpvv4AU+TfC4iWagBMXWZ6DrQa0G351wKbXEq70FNc CeXlBWQXBwXK/mj/UX/+rxTtr0bIGOBI6UpvIEomBI1c+GF4iFOiBStInQa19n3nYrBz l68TNGQVKHbLXUqtND8e6W5FAHdCgYcZT/G0MV7sYn5n2wiA03nUGGzD9EAhIp7vJmI/ pKa69vNZDvYaJPFzNEfrsB33Xbz2bDs9Nl2SJGKAY0ZEpps52mODs8jwplEqzVTqnXhp ps0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=9kcvh2GjNTm4BmBnBPbKM0ElLdwD8zhIiTYUSMZfgms=; b=QkxYPawzuEQcvWYvxhUt54mlA4NDlDoDIddHvpcLDoaRzd3aGxMOmOzHgagcPL7FS+ NDXjDfaS8h4RZ+GLkdsC0SqpO+/tEpCfniQGZN9clyH8zwsApOfvUkU5NsqxwrfIYXIO XOTY8ThzoAhoQhiQwt2Cw88HM79lAgS4yeKgm9b3ZaiHuY7nDPl6WfrDeJpAHFbMAn1I 5vd50IIU9klGkWaq93rRrgDptZmfDxibCSWcaS51dO5rL9vvV4KCPnfX1UoQChLKSd1U 7l3ThoqWaDCocb0vb9X/yX3EBvNNPQLPOG5JOX9oZ7i1NZZA6iuS8jcT59TSlk4Bp4Re srYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qccesdkim1 header.b=1oINLGNn; arc=pass (i=1); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13si28598788pgm.0.2022.02.11.12.53.20; Fri, 11 Feb 2022 12:53:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qccesdkim1 header.b=1oINLGNn; arc=pass (i=1); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352214AbiBKRhY (ORCPT + 73 others); Fri, 11 Feb 2022 12:37:24 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245333AbiBKRhT (ORCPT ); Fri, 11 Feb 2022 12:37:19 -0500 Received: from esa.hc3962-90.iphmx.com (esa.hc3962-90.iphmx.com [216.71.142.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975A2391 for ; Fri, 11 Feb 2022 09:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qccesdkim1; t=1644601038; x=1645205838; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=9kcvh2GjNTm4BmBnBPbKM0ElLdwD8zhIiTYUSMZfgms=; b=1oINLGNnqbMTG1eG+ThNWldvlmd2dAEEqz0IN7RzXt7/p/U4e3PmuMIP SEzL3JtvnRES/WKSMfVTihxBWvKwJN+l/I9Bru7MklA34hUhYhFoWTaVx WeAuyGX/CUQLLwZVzsb+0LsmB+uN0bgNJ6qZZ5ciHx6IagSNPuS4qTed0 E=; Received: from mail-mw2nam08lp2170.outbound.protection.outlook.com (HELO NAM04-MW2-obe.outbound.protection.outlook.com) ([104.47.73.170]) by ob1.hc3962-90.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 17:37:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hzq4X6lgRKLNE6b4v6tthpvxbzoGbyLhrf6im9Es81dwJawjxgmSrKE8EunDF13oH+bkGDFb7k74h9vubNL6h9FEzf6ztd303kyx1JgUQ2a78GUIVT/ZRpZtejypQR8To6b9YVG90F71gZk84Wwqe9WRuOMegUuWQov1aT4Z6asT9wwHjX3kWurC34RLG69/BuBTDcImk/+CLtYHPld0/Eg+wod0k4FvLdV1EtjMDk8Du2/xTfyc33QdPWCvtagduwvmahCye/UgI2vd8cfn1dFgdMjFutkkvWNlRDX/wlDzvoLWdhbWZxUa4mBj2/qJ2KBlKjyvvJpwotWjX10+pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9kcvh2GjNTm4BmBnBPbKM0ElLdwD8zhIiTYUSMZfgms=; b=i70AElYE3ZOHRsCOHSxwF4Tz4+KP6VBkOFVtDCjLnD/yBKgF5TkVrwOT+o2H+2+luhejb0rr9dbYGEeWjBbCsT/KO9T7r4w5BrM4P5F+v36OqKmMPVkE5ZW1dOqDm23wxG08ojWs21IyqlAVLSoTCtQQEhRo27ZZGyijsOXMYpxvP+jQW5QYY0SFhBZS8hmEBkXYS+ID8OfJbkUVStwsOLHOQW/r7WDb6GiPcdhPspJjLqFLOoFW3YK2ordz+sPnxIRMyskSukRbVdNKBU2uv87DNCs+SOlHsdNA1DtiUYn7Tn+VghlzFELDguA+wtoeG1oOR7hNqyS+ZMwL1eMcDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM8PR02MB7958.namprd02.prod.outlook.com (2603:10b6:8:13::19) by DM6PR02MB5163.namprd02.prod.outlook.com (2603:10b6:5:46::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.17; Fri, 11 Feb 2022 17:37:13 +0000 Received: from DM8PR02MB7958.namprd02.prod.outlook.com ([fe80::3419:bf67:4f7d:7ab9]) by DM8PR02MB7958.namprd02.prod.outlook.com ([fe80::3419:bf67:4f7d:7ab9%4]) with mapi id 15.20.4951.019; Fri, 11 Feb 2022 17:37:13 +0000 From: "Aloka Dixit (QUIC)" To: 'Johannes Berg' , "linux-wireless@vger.kernel.org" CC: "Vikram Kandukuri (QUIC)" , "Aloka Dixit (QUIC)" , "Jia Ding (QUIC)" , "Karthikeyan Periyasamy (QUIC)" , "Muna Sinada (QUIC)" , "Sriram R (QUIC)" , "ilan.peer@intel.com" Subject: RE: [PATCH v2 06/19] cfg80211: Add data structures to capture EHT capabilities Thread-Topic: [PATCH v2 06/19] cfg80211: Add data structures to capture EHT capabilities Thread-Index: AQHYHrNJZcplRJTMmUmfY0kLbEi9TayOnbpQ Date: Fri, 11 Feb 2022 17:37:13 +0000 Message-ID: References: <20220210192008.188166-1-johannes@sipsolutions.net> <20220210201853.c40044dc90e9.I2413a37c8f7d2d6d638038a3d95360a3fce0114d@changeid> In-Reply-To: <20220210201853.c40044dc90e9.I2413a37c8f7d2d6d638038a3d95360a3fce0114d@changeid> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=quicinc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fef6aabc-6d23-4ab4-1f91-08d9ed8523c7 x-ms-traffictypediagnostic: DM6PR02MB5163:EE_ x-ld-processed: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8c3QSzahZ3e9588hotgAf1eAMrcW8njX5uxMEZKHHS0y5R0R0D4cTssi1eaJbdGbDVouJIe9U+CDovncTbPme+5bZ/OInmbM2BAGt1feDYgfrK7tsgDWSJPODooLnAxpLqck1DNmuHYSb2GpxQ++5XzUQbP+QHMtukpwUBzM8c7X3Q36JCIiB6LG2N4GFpfw7bME5r56sklRA0zaQ0EJlsvJ8hHLkWySZo3BuTpU1Pgc4cXNw+2vCPDfPkd+vvQg8qdsS/wrM8TMQcS8xp1kS9v1EdNhNicnr/0h0KgQOh5s5cFyb3zuH+tbi0zdtEuT1CUqlYLChbK2mXKFLcsGZVWRRCE8pweAePmu2UWMM3V7x3xqudcbqLoGN/UCkqEmklCwBVkkU76/8rCZnqWKv6tMTmuZ5Hg5nIl5BIuxhhxIqKRLFtHD/8Gd/eIsuunb9SltoQmVXrRi/mA0T2Z3MjyE/vwNI1zAe6hglkdP8Rfb4xvSgZr4X4gMBvL6Y90/dMB0sdfFNvGgBnwAI5HwZJH9l3oVuTu0/HP8y09A2kZN0nI2IVN3XqloYB82F/BzdWKcUoUKMw3nEJpUcIXz4AQn08Bo37T7L7uXJ/GUlmNCn9kaLcH2NU4N9Pg8xJCnZYbTyez8OPIgsZ06Qgs2D5slib02pfVc4h1JpTVkhAXrsdV6BRF1gDdiTRD3oW70ebxUj0GshhKK4pZxPRjmUg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM8PR02MB7958.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(86362001)(4744005)(38100700002)(38070700005)(5660300002)(186003)(52536014)(26005)(8936002)(55016003)(316002)(33656002)(66946007)(71200400001)(66556008)(76116006)(4326008)(8676002)(66446008)(64756008)(66476007)(7696005)(2906002)(122000001)(54906003)(508600001)(6506007)(110136005)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1UeaeqXAdUilFyC9KWDnVNH8481I9ryDsepAgPTHPHbT2hfYjmCSJG6Eb9uy?= =?us-ascii?Q?bs3N2oF7CZYxYu8IGMhmQ9XgApu3RY5HqrFmFg2HAoufHmuKTg1UOhm/rxGy?= =?us-ascii?Q?TU84bj63lGdVpfns7urYEgdPkKX/V+gsc48JGvHR/Wgz24fQs8JAq+U8N5mc?= =?us-ascii?Q?JmsLpbx8SupJdpvesir6oxoua7BOSCcf/FC3tfTdHeK21SUjL4w8fg1lqCiO?= =?us-ascii?Q?39CplG0I0jYaiHbjA+/ZAtPPKDtVg5BNJdqBOOGwmcMR+SB7r9USVhP4u9sn?= =?us-ascii?Q?MNCdUg8FQghSV06VgaHsqjULwVumzB7hnJCQYdFR0H1oT1y6hgrJ41O/VQzQ?= =?us-ascii?Q?XfhYXpLnESrYKg60ObOk+gntVoGMTthirrq94k4U1LOHfRXKRdtmuo9zyJO8?= =?us-ascii?Q?fi+Pw61ECMdJ4WpyWymMRbExX7B+hXyfu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llsYU3BI86zJVi8itHfVFoVeyTmHroBb0zpfDLziwMEBGHJ54xSzuAEOL?= =?us-ascii?Q?kdf88ZEMs7ic5yBfyXGzEyrEsiAAMXEKGNagmCtsOpSNZbwMJq7BchhzgSGU?= =?us-ascii?Q?+jtcK9D3o9EvYH/J8pRjRvRV0HNL6lD9Wz1mw+N+U+MXyaMF7GsR9RqwIAwR?= =?us-ascii?Q?l0zCQXOoA8gNgMkYzWynwe61bMAu64itdCLcLlt8ABTEKghofXKrn1JQf5N5?= =?us-ascii?Q?yBwdPsd3hX75hKc1DGSyxE+Xvc9aXZ73wxqlI8RqOJcbxEjG0+09YDL2lF+l?= =?us-ascii?Q?OA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: quicinc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR02MB7958.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fef6aabc-6d23-4ab4-1f91-08d9ed8523c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2022 17:37:13.5384 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: V+cvqSPQJ5A8hyxo5t1apZseNwONNQn6F831UQkL2JsYz7an7YeAmlLl0J3fZT+QE0zWJ/cUefuZAK2TAQHMQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB5163 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Ilan Peer And advertise EHT capabilities to user space when supported. Signed-off-by: Ilan Peer Signed-off-by: Johannes Berg --- include/net/cfg80211.h | 63 ++++++++++++++++++++++++++++++++++++ include/uapi/linux/nl80211.h | 12 +++++++ net/wireless/nl80211.c | 27 ++++++++++++++++ 3 files changed, 102 insertions(+) Hi, An instance of struct ieee80211_eht_cap_elem should be added in struct cfg8= 0211_ap_settings (same goes for operation element) as well and parsing in n= l80211_calculate_ap_params().