From patchwork Fri Feb 21 11:55:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 216437 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C493C35656 for ; Fri, 21 Feb 2020 11:56:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E34E222C4 for ; Fri, 21 Feb 2020 11:56:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="GHWSxeEX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728032AbgBUL4X (ORCPT ); Fri, 21 Feb 2020 06:56:23 -0500 Received: from mail-eopbgr760043.outbound.protection.outlook.com ([40.107.76.43]:28579 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726934AbgBUL4W (ORCPT ); Fri, 21 Feb 2020 06:56:22 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z6zhAfjRcgoyU0a7WTOwiAWV1TrZ2wefSh3epRENwgWZncCnGX1IGTfWBSbFWkR1bREZ+MJCad2Yqo/3ghp0/3mZxNZVc5sKCJzch3Oa6Ky2VhIU6DSpGa1sqtudRGYuUgdTErQfMFlsCLa+7omq18mYPUIXUNJ7lOIJmVg2BWKzZUbMJg98KGDyt3HHsW+5flNShr/iRlALVK4IiHrnrW+RFPgJDH/hPczq9AMEI0V6lptrOCMgkmWM8LYaOrBSuHGBZe0MKySbYBbTysaqHfsuhI1P9T/sLdSKNxMIitiVZ3eliIaZiQWjr0G0VlskkRmXxYXL7BZDXSfrVa5Mnw== 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-SenderADCheck; bh=QkEuqmEOD2mfn3wsxeFhLzARBGh0vB/UsNg8bpkHB98=; b=WyTQV2ScmHd1LO++WzvorbJm9eZFUlWApGnzuZiO3u2cwDwtBzUbbL7zPre1/Z1u/rk603BACiZ0q6wVAPluiNJID5V6vOXFauhCG0fG/SJQUamSwdL563A1idiE8j736ydTgz5nEpEZcpVT5KGQnF7Yjx5xPIDIGO5rE0hjedtAfTFHSInJFj8M2BwoIoKeQrwI6NktfC6l0NXr1b0l55FQ9Yqlk6VEHIaTKCGQpRAei9lgRKuKFxZHUOM0YkpY7lIzrHXRfu6YwKYyjEcxRI+KctlLr1bxUPnWdG6TN0b5Zv8LZxiaYre2BM2ajYkC76CMvu0drHL8Hf8xK0Pu9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QkEuqmEOD2mfn3wsxeFhLzARBGh0vB/UsNg8bpkHB98=; b=GHWSxeEXvGrUEK1wj/z2ijFdHc0Ubt/NQpSEUxjKNrUSPp7f+DJurFGOqyBtgMqQG6xFQPXTbnTrYWMOxnWJWJwwGbrqupd8GBUE4bhX3KS/z2hUkMqQbb6hAnfXr5J1FKRRdV7NKdHtun93vILTIdOCkHW4c5S4swAhP1g3kso= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4662.namprd11.prod.outlook.com (2603:10b6:208:263::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17; Fri, 21 Feb 2020 11:56:19 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3%7]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 11:56:19 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski , Johannes Berg , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 01/10] cfg80211: drop duplicated documentation of field "probe_resp_offload" Date: Fri, 21 Feb 2020 12:55:55 +0100 Message-Id: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.0 X-ClientProxiedBy: PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) To MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Fri, 21 Feb 2020 11:56:18 +0000 X-Mailer: git-send-email 2.25.0 X-Originating-IP: [37.71.187.125] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fb55464f-29f5-4e6f-25eb-08d7b6c51037 X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-Forefront-PRVS: 0320B28BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(366004)(136003)(376002)(199004)(189003)(36756003)(86362001)(8676002)(81156014)(478600001)(8936002)(81166006)(7696005)(52116002)(66946007)(2906002)(4326008)(107886003)(6916009)(1076003)(66556008)(6486002)(66476007)(6666004)(4744005)(5660300002)(956004)(54906003)(316002)(2616005)(186003)(16526019)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4662; H:MN2PR11MB4063.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e8En8fPpYOhDQHsrV1u1LLza+ZODirMLiBE3apyJoDpu1MeXHyUrFRh9E3K2UrL/qzO3qBMBQKg+k5Nc9ApPNXIm4dp55Mqoh7m86yBYTts/srZ1ACJ0zwhL/bUzgLHYcUtLbddZ6a7IsiqlzP3JfedjPDgirCfg5nqn/AFvW7kyYOq7hGGmlStyrgdsGYVHZuvdav9OsbWWRcF4c+eUQRbgnYGDuDymo8FpxURfAvz0DUey9At4sGEyrsVrf4Mg6onvCp9ELKTS5WSJITNKDPMaQX+fsy+5+fyurfN9IoxkBgMuyBX9GDaeMZvFUp5oWaOtEv2/PcB9ER/I63s3j2ml/llmEdg8mRurmnvdAkIxxdqe1xkMA0XMqT5IwynZ9TMQAqsV/dZtKwSmg3UnQCx3RG+eo1MFyG/rAWwSuIrU3CUUkAooHxcuRFkHTm2Y X-MS-Exchange-AntiSpam-MessageData: XHEC8duC27znU2w4kfuV6pPuqiPP5+GNfjOFQnnLlEMtRN2VHbMBEEZpH+/mXjZFCEaBwBaUKDVgC0UrWlzKVxNzPdyXV5yHObyvUP5V7WkfbYKua51ySle6a5n6JsDgxGpuCkS3TmyOqfSt/yx9OQ== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb55464f-29f5-4e6f-25eb-08d7b6c51037 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:19.6074 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2a/8piaSmyAhB4xi7kXkTr63pDfVaRuvldU9IirBbnxYonmzAWIKEqBdE1wxB35LmWc+51FtrFyLwuV27m4PYQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4662 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller The field "probe_resp_offload" was already documented above the definition of struct wiphy. Both comments were identical. Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index f22bd6c838a3..02efea52a276 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4616,11 +4616,6 @@ struct wiphy { u32 available_antennas_tx; u32 available_antennas_rx; - /* - * Bitmap of supported protocols for probe response offloading - * see &enum nl80211_probe_resp_offload_support_attr. Only valid - * when the wiphy flag @WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD is set. - */ u32 probe_resp_offload; const u8 *extended_capabilities, *extended_capabilities_mask; From patchwork Fri Feb 21 11:55:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 216433 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A6C3C35646 for ; Fri, 21 Feb 2020 11:57:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45C692071E for ; Fri, 21 Feb 2020 11:57:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="gNfm1P1E" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728643AbgBUL5T (ORCPT ); Fri, 21 Feb 2020 06:57:19 -0500 Received: from mail-eopbgr760043.outbound.protection.outlook.com ([40.107.76.43]:28579 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726934AbgBUL4Z (ORCPT ); Fri, 21 Feb 2020 06:56:25 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eP8arfOgRqSNn3QHFSg6EJBWK47PV84J7ymhHYF/Zx/Ts0Dtpp+eEw03DwUPHXgrL6EJ9qjb1FcjQk97qR+TOoO9PMJnhZ/JXzcs+Ar4OYcDcjQg2lGVGQeH1yxgpSi9dTQUD/H8ZjbgXbvJkC0mWnPWxffHHkRp63SFGwYRNkj7jg2E56o/6gZErbAdwOejPujhj8w1F5kFT7VPrv/JIkxkisotCJ/YeaEyQWohK+RFj0r+rZSdN6r2rJ2/Bq0Vnn80X29u+ZkkM/l6nixz9ratGZYXIQbOrVfB+OIx0PgvUzmx5nPrHz5GRzzDpYVZwh6zbXgPp4GAGIBrvU32XQ== 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-SenderADCheck; bh=kpmE+FLwHhMiA8/AhyQ44C82l8XnVJHToF+gYr5fb0o=; b=UnLFTFr4IgW5EiyJUY8/LjD2oySCKRVDHYTLssuEa3ghK9a4kE3t88OSXw66gXTqwrkbc2DtgBWeXqWqLfyi4ZitKDQk/vawPquEsfWrVvKwY6ZKUfjyhtNhxWcB4lOuWI1Gfcb+IkdBlNvZvRB7E8o7fGy0FyffGg1DyHAOVb+4oXFmkL80w/ux+5CJ0weceIYJQWqQngekbAmg3dzgaZOMGfmxDh7ZeK7DHKmgpLqQDYhE3ELaXDuFvGgy6FvjRWHdmgeis0FW5wtbMZvQN/0frZOBOl8fUX5OKo7FVXduSnqj2vGzcmeLVAoRXLu/rr1lj2coPler5ms69umRtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kpmE+FLwHhMiA8/AhyQ44C82l8XnVJHToF+gYr5fb0o=; b=gNfm1P1EgXROBAND5Pt4OJM9rr7ZrZA3gnVyFRvhWakGZZzm46/tnitev6aE8/Eiy6KteBC5oWTkFj79uEU9gGkjyuyk9StWOSJPofHprq3JT+xzYPRQykigJdEzK74Mqll+EOFBoH56VZh06Oh85T5583NzKhsDkFw9RMgKY/s= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4662.namprd11.prod.outlook.com (2603:10b6:208:263::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17; Fri, 21 Feb 2020 11:56:22 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3%7]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 11:56:22 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski , Johannes Berg , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 03/10] cfg80211: drop duplicated documentation of field "registered" Date: Fri, 21 Feb 2020 12:55:57 +0100 Message-Id: <20200221115604.594035-3-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> References: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) To MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Fri, 21 Feb 2020 11:56:21 +0000 X-Mailer: git-send-email 2.25.0 X-Originating-IP: [37.71.187.125] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9175172f-26f1-44d2-aeba-08d7b6c511bf X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-Forefront-PRVS: 0320B28BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(366004)(136003)(376002)(199004)(189003)(36756003)(86362001)(8676002)(81156014)(478600001)(8936002)(81166006)(7696005)(52116002)(66946007)(2906002)(66574012)(4326008)(107886003)(6916009)(1076003)(66556008)(6486002)(66476007)(6666004)(5660300002)(956004)(54906003)(316002)(2616005)(186003)(16526019)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4662; H:MN2PR11MB4063.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PvpHDd9JsN3tUN5ighTEqikZ7Lp6o4kRIlvasKwadngdE2JPaFGqu0FBdZ8yQJHDrPfBIn17gxd2cllVcvZutWoWHM7xQ0jpQqibkMeFnLJ1iVrVEhtb/L+hOMBWtpdFX+BLl5AmacKi4/kDJXbw4xkS35SxHt+F5llbIGfHbxeBpAwmRG4dSxhgWRD889vsPTaGgrc6qXlkAvs7qOHiVe4nhk/L+eMvylslMnlk4bquZPJEoudaApVtrIatgw7dcB2pA5v1TW8iUk7tsGH4LnrO4Lz8MytPsgFT1xsO49Zi5znQ/LL54/btQhA8Q8Knvug+eZ+5ED9QpzlNC4ZZYVaEptFZa3O9tU2gPxyyCqGyA2R0InLybVlVqkhx+ahkdLYhLXX0PY2IHIIHViWPsKMLnGEBTD6n+Oy8i14kz6hqJVoquYhQq7/PAShCjt7M X-MS-Exchange-AntiSpam-MessageData: v7saaOdzWL0UW32vEKWeltHy7wVsW2VVJQbXeCqcnQAo/JmyRXYu2RCdOZW63EiPxoEVwPqA/kvasnpCLmcLkV4iukLYn80erwCAbBF01DcKiKB4+Kik03fvdy95Ph5Q50NgP0viR1mp+rpS0LPS+A== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9175172f-26f1-44d2-aeba-08d7b6c511bf X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:22.0480 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: V+1lcdjCOUGlg9U0Vpd/1+QgXjhSi5oQZVAyQW8rA3eM70+eEsR34yN7WhZSpnAA77Bp5L7RGAIMrqU6/9aGsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4662 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller Field "registered" was documented three times: twice in the documentation block of struct wiphy and once inside the struct definition. This patch keep only one comment. Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 292871ae9828..bf3bb1265bcc 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4412,7 +4412,6 @@ struct cfg80211_pmsr_capabilities { * @debugfsdir: debugfs directory used for this wiphy, will be renamed * automatically on wiphy renames * @dev: (virtual) struct device for this wiphy - * @registered: helps synchronize suspend/resume with wiphy unregister * @wext: wireless extension handlers * @priv: driver private data (sized according to wiphy_new() parameter) * @interface_modes: bitmask of interfaces types valid for this wiphy, @@ -4640,7 +4639,6 @@ struct wiphy { * you need use set_wiphy_dev() (see below) */ struct device dev; - /* protects ->resume, ->suspend sysfs callbacks against unregister hw */ bool registered; /* dir in debugfs: ieee80211/ */ From patchwork Fri Feb 21 11:56:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 216434 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05844C35655 for ; Fri, 21 Feb 2020 11:57:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CD2C22071E for ; Fri, 21 Feb 2020 11:57:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="YxWbUEM6" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728360AbgBUL4f (ORCPT ); Fri, 21 Feb 2020 06:56:35 -0500 Received: from mail-eopbgr760043.outbound.protection.outlook.com ([40.107.76.43]:28579 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728169AbgBUL4a (ORCPT ); Fri, 21 Feb 2020 06:56:30 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c3gOF1AIO8RWLuqKntkIijA15gaTdjTelTixBs7e0Io4ehjrotvzC2WJ84btfN+/ZFJanZZfhzzdBgqP0tP5QLRmsiGiolK8ItFbwMb9lrruE3t/yChGzbde4LhHErXH3WVx6g8z3CUYGfjX7t0nDI//5D5Fppv51Zx9HTab3QetqL0M8dhBYplBxc5CZs92NkhRcGrCTqaCYeyHt5uUakam/LB9owX1sm2jxHwOg3H6H4cUgH8g2OyAupjEr1Dz2soQXHCoEc61gcRftrsQLIqH735gn6WbxwvOcaO0g5v6KFztS5+cScoT8EfFOT6TyLj2n+rrBxDy1MJjWfYJWw== 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-SenderADCheck; bh=6oEHy5RzBsie/+BANuShHM88zZuWY9srO1+uwogdjTA=; b=S8E2pKSnlbVH0lQz64Ms/jPQj/UOZv0fxUtCXY7VzuIogOwrzZvCI4LXmZQreBUiRO1W3TrDPxcC3ustvTMJGLoLF6qpg4V6Kvrhv9pZBrq7dA5BbXlY1QAEA2+gTb6jQ3ZZ5/0+cRLxxFDQef0WJFiyvkFEkR90uHHOrl2GkTZC3AcQANk4ii7b4zCk1PoETpF+K0Qjsa+ittbBUeEw6l/zRvybZczBmk+tyywYUSJNUg1xb4Y9MQft5MW9G+jJ8ADlPVJ/jEn0UTLr3NYKpjrFqrKebL/AGxJjVGGcLOisA212/nkxCSQ6VBlx5tMaaY3r83rtyYCx8nPLpiozAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6oEHy5RzBsie/+BANuShHM88zZuWY9srO1+uwogdjTA=; b=YxWbUEM6dT7F2nFpzuaMfelPmhb6tyVwabXB3ttlWO+iJOutx+TbaZ582Ju5qIx9IVhJK2x3G930Bfekz1u6dBDQoB6/GF989E2vD5hEqTSKO2ezlPSkKraOegbz9Sgi+ARjrSuARnM4jOfRLx+xwGizxvpiSrOPGJoM8ipghek= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4662.namprd11.prod.outlook.com (2603:10b6:208:263::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17; Fri, 21 Feb 2020 11:56:26 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3%7]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 11:56:26 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski , Johannes Berg , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 06/10] cfg80211: drop duplicated documentation of field "reg_notifier" Date: Fri, 21 Feb 2020 12:56:00 +0100 Message-Id: <20200221115604.594035-6-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> References: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) To MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Fri, 21 Feb 2020 11:56:24 +0000 X-Mailer: git-send-email 2.25.0 X-Originating-IP: [37.71.187.125] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c77adc62-e0da-4e2a-66d3-08d7b6c51404 X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2201; X-Forefront-PRVS: 0320B28BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(366004)(136003)(376002)(199004)(189003)(36756003)(86362001)(8676002)(81156014)(478600001)(8936002)(81166006)(7696005)(52116002)(66946007)(2906002)(66574012)(4326008)(107886003)(6916009)(1076003)(66556008)(6486002)(66476007)(6666004)(4744005)(5660300002)(956004)(54906003)(316002)(2616005)(186003)(16526019)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4662; H:MN2PR11MB4063.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D22Sv5bEA4A8TS7T+tg7SNrDb2sHV5+tyOnCjLKUdm3ppGfzeYsaq70oL74M1j3DuBHCxsuwFEqNrhOPL11OzzBqPf4SJTn+DX7lR8U11hCfifUeZnSS5GteKvjSCUH9Cj9aeLRAibG5GJ089wYnqdKxng8IMQmnJPn1pkhVDLyv2SVISC4jHVgMD7TgKDwZky+Ak7WZxb6D/5NE+RZi971AHQwLUDkJr5Qo9wRfmmiq+MPDXDniom713iXEbzRpkfubRV+CDuN1+oDOVjnzP8JOxuqBLAep2Bpb/RGsLVqIINfUXYzDQ+WADIv4H1m43Q9WLMJr04O6fB3bfregdlWgEMVNwY6bA3x2jtZk2szLC29IjIaSjVy1eBxzwsxZ3phi7Ph9OYAWJ6HXdwNmMTrFbwR0Yztx6NADnHyfyOfYhviykMyvAqd8n1RVqacp X-MS-Exchange-AntiSpam-MessageData: eJLJKqqvBblMelDLnV6K90UI3p+7dypK+Yy6j2wIA4voYR9rbHJcDWqurCXN7UkGpgNlcCmaRPFWMooBJq4b4D6fufWah+Jv2R3nQetEpv9HMiaC1Tv/TwhTenio9rVPNyLTeZegsiGenuRT8scGdg== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: c77adc62-e0da-4e2a-66d3-08d7b6c51404 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:25.9518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +ZUKDpaYWEpnNLTfa3NEJD8TYL0h4RSl6ykvsvjMZqCSRWrMFEWWEag7wXPdsynXcA8HM5vXVcZHL1iYU3GVcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4662 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller The field "reg_notifier" was already documented above the definition of struct wiphy. The comment inside the definition of the struct did not bring more information. Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index b5f6fe56974e..4b0871eca9ef 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4626,7 +4626,6 @@ struct wiphy { struct ieee80211_supported_band *bands[NUM_NL80211_BANDS]; - /* Lets us get back the wiphy on the callback */ void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request); From patchwork Fri Feb 21 11:56:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 216436 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCD71C35655 for ; Fri, 21 Feb 2020 11:56:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8AA7824656 for ; Fri, 21 Feb 2020 11:56:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="WjdLhWJA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728487AbgBUL4l (ORCPT ); Fri, 21 Feb 2020 06:56:41 -0500 Received: from mail-eopbgr760043.outbound.protection.outlook.com ([40.107.76.43]:28579 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728402AbgBUL4h (ORCPT ); Fri, 21 Feb 2020 06:56:37 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YjD/byT3ORUUVWOVZd0qupXFGD8HX6rr8Nm2m7RawUX7VVIdf4mb5VapXcRTCmQugv75wzD9ufSYzStpRENMQLKJAu45WFhGcoTuiKH6ocIliYXipUsWnHynDL0hKBGRSXpFQrgW2gg0+Y0Cu2w/3Ww5A+/kNYTlpHw2Db4S9KjCRoGZcyc9OYaVJaAz2UVgqTe9pviVWoa9skxeMWbqwqVoDAGtZ4UarhQmqNgVNLZRPHLstKHoHBMg7avlX4+zEy455Z9AjAOkfE60l7uoZUW8f3D0YcTkvZPvrmDsAAQCAk71DytGvwYIVMril9PbA15bT5lvvP1VEqLVjxRecw== 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-SenderADCheck; bh=c4EKUJPX9obZgtKM8OhTxSqHaziNmxhAn5WQQikAAco=; b=ZN5010TRrV05aguROJsoo5iLqh12NdvF4eRywIdLFHCfiVuc0zu3tF3jxRnp5duFkYeCuxqBtS7tq5rlKXqAzIZWU3+uvz4mwdcSKD6u8NrmBl1qkojj+dMw2e1j7j/2Yjfq6vijh4HlwiExha+IwYcCpsGzusAhCiKJoBjTOdokmlf6kiFojVqWH94DD9oaTB5Fet5HNeMEqsTtzR+KaEBpT2thEvHhuG3O+Ni/riOMvzsZywukLiKhyCNZw0LOfDdNjQ4du/Ef6ZXlqt89wUfjn4T0mpDq14iJSSXvA0rY90UH1ZWepSNhGj5t2BePdWEdPvKtrZXvGTkD+US6YA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c4EKUJPX9obZgtKM8OhTxSqHaziNmxhAn5WQQikAAco=; b=WjdLhWJASzot0Ziz+snQmDu0mPLue3Kjoc8CrHJ4hQNac0j3XfuRiPyQXWqBLfpHFa9yWadjmYWtg2LQ4f8I+goIa/3Wd8GnW3L0shI601BXoCFcS7q9X2Yl6IRi778SWM7m7pI7tyhRNlZboJlDCCLa38JYZGANCQT9+7qByKI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4662.namprd11.prod.outlook.com (2603:10b6:208:263::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17; Fri, 21 Feb 2020 11:56:28 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3%7]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 11:56:28 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski , Johannes Berg , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 08/10] cfg80211: merge documentations of field "dev" Date: Fri, 21 Feb 2020 12:56:02 +0100 Message-Id: <20200221115604.594035-8-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> References: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) To MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Fri, 21 Feb 2020 11:56:27 +0000 X-Mailer: git-send-email 2.25.0 X-Originating-IP: [37.71.187.125] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72ae8e18-5a4a-416a-3613-08d7b6c5157f X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-Forefront-PRVS: 0320B28BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(366004)(136003)(376002)(199004)(189003)(36756003)(86362001)(8676002)(81156014)(478600001)(8936002)(81166006)(7696005)(52116002)(66946007)(2906002)(4326008)(107886003)(6916009)(1076003)(66556008)(6486002)(66476007)(6666004)(5660300002)(956004)(54906003)(316002)(2616005)(186003)(16526019)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4662; H:MN2PR11MB4063.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L+/tRUmgG2RM2VuXwx1hoHGvERJoO4x+ZUWStEaQJZJYDTrh7+Wl72VlcQibl+b5ADdPP/aCwrQBmAZEuxrqj++LvOP8gUJbRDR5wsSk7rU4Mng0TUCGWs5RPTXhtEZJ6ImP2xNrop72PAosg+nPds9umKbtmmwgCw4/NIhC+0FXQk0toa4FRPDlI/LDdNJKIc0CRCsw5bg95rM9CmxHYudpOBTL8yNIXYoCrVbrX2/+WT68qS3CcifROUAmbc/k0bsgU6Mdm0/LJvzw7VUgZwlF0GZffIKyN6ab8Y18U13yninJ2Z5baWBQGYTQTZE8PLOPWeR7OS1KA9LUAfH2TOItdDedwV2qGXp3zEvbes2x0+ONC2aa4y5rEn4baFzHn5i1w01htk5arrv5DUM8LJzjOA9e8RgHBs+r3B7Tt+FR+aN0VnhwMpd1w6HcR4Tk X-MS-Exchange-AntiSpam-MessageData: UJt/p91umNGnkCdqob6u/0L3YkpGF+pBcrVpNPCL/HVlFlKFyBKuwTABCUnc4NqEDGgDwY5acrEP4dOuwrj66EPzxvo1Hbdap4Bn53zX00JbGKXtd+QPB7tSBfujqCxGSNAxP4pyXDvkrFqt912C5g== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72ae8e18-5a4a-416a-3613-08d7b6c5157f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:28.3284 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uEZAaxsQ95rndnN48HXiQDWbiHo3Byhu+wwioyQ7GNc4tBq5nTjzSRKbhs6NnoZ49D7MxYS3JEvZBtCnVZGhpQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4662 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller The field "dev" was documented on two places. This patch merges the comments. Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 2bb963e96c32..1cc3442b540f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4411,7 +4411,9 @@ struct cfg80211_pmsr_capabilities { * unregister hardware * @debugfsdir: debugfs directory used for this wiphy (ieee80211/). * It will be renamed automatically on wiphy renames - * @dev: (virtual) struct device for this wiphy + * @dev: (virtual) struct device for this wiphy. The item in + * /sys/class/ieee80211/ points to this. You need use set_wiphy_dev() + * (see below). * @wext: wireless extension handlers * @priv: driver private data (sized according to wiphy_new() parameter) * @interface_modes: bitmask of interfaces types valid for this wiphy, @@ -4633,8 +4635,6 @@ struct wiphy { const struct ieee80211_regdomain __rcu *regd; - /* the item in /sys/class/ieee80211/ points to this, - * you need use set_wiphy_dev() (see below) */ struct device dev; bool registered; From patchwork Fri Feb 21 11:56:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 216435 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F91AC35647 for ; Fri, 21 Feb 2020 11:57:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 66B23222C4 for ; Fri, 21 Feb 2020 11:57:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="dvYREGJ7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728468AbgBUL4k (ORCPT ); Fri, 21 Feb 2020 06:56:40 -0500 Received: from mail-eopbgr760043.outbound.protection.outlook.com ([40.107.76.43]:28579 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728438AbgBUL4j (ORCPT ); Fri, 21 Feb 2020 06:56:39 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VJ+Ebhl3VHpyuTw1VaKCwkW6QDnIOdGDINKbORr35VuM7HJM4ZtLV2uO2zV1S77lMg0HhJGFfwf5V2pi11Z6YF4UQkMRj9PTFRmZaU4sE8ONG4QdffpeJfmmVSSuvslhzPyaDTLvyOwNIDt34Lon+TC2Eyuq6Swgq3hE/un8k3Nu8hW+nZwSUqr4MITIoqCCzeVq7i5QrZqH0NoE+EZLITzJnCRaPUMUEg/EhXeuHpq16kzIUbvajTSBaFT1VmRh181QumEaJF6xhDRMXu1HX8n9M59cs79DNgAL5FaMLDjsojXkDKAyjcWcDTGg1NFCyBPIXupG0RIBHjwPYKQCgA== 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-SenderADCheck; bh=ac+i03LHC8k17GXI94714Z3Fgf4z908GQ4+BVj42lCA=; b=ChULLgUApfJjDV5jjE+jNuEinqEfMeDYJJCQ+ZIsWZVSq42QbwMd8mpwfnbj3BD0ijIXKoJteOrNDU/mIcyZqdQOyy8RJW+UWRyZl8YOmJVl/T63bEnyYCQESTfPNU+WG9RojIc5hvEh7gSE62zZwGm+spYGF4wwaSCjQNgcGb1pLh6WaBf8KegvLTA5ybAxg2jmHIan7DAQ36ZicHQD6weIURZaXQya5V6LuZI2rkQrx3S1flzcORFTRJWMOhR2ujBEWKUXcZQzi7va/TB6jRA17Wk3SMTuWucin+8jfQKO37ybyQW1kqxoTN8DKW8EuGCeUFzDLAjfxdq4NKq02g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ac+i03LHC8k17GXI94714Z3Fgf4z908GQ4+BVj42lCA=; b=dvYREGJ7G+BwpcL1DbYsxairOBcZaTte4xCQGieiJUmK3w9+o58Tjbh7yyfEt/Bhv9GkXr1NakXnMljG1TcWpplu/GWcu0zuoTKvtUJuukJiabcRGtl+pycKXXrTusx/tB9N+5XZqRdkqlXDATAWoP1k0pYcs7fubRSF6ZpGhvA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4662.namprd11.prod.outlook.com (2603:10b6:208:263::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17; Fri, 21 Feb 2020 11:56:29 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::ade4:5702:1c8b:a2b3%7]) with mapi id 15.20.2729.033; Fri, 21 Feb 2020 11:56:29 +0000 From: Jerome Pouiller To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski , Johannes Berg , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 09/10] cfg80211: align documentation style of ieee80211_iface_combination Date: Fri, 21 Feb 2020 12:56:03 +0100 Message-Id: <20200221115604.594035-9-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> References: <20200221115604.594035-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) To MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR0P264CA0137.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Fri, 21 Feb 2020 11:56:28 +0000 X-Mailer: git-send-email 2.25.0 X-Originating-IP: [37.71.187.125] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 50865d48-13c5-48a5-7743-08d7b6c51633 X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0320B28BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(39860400002)(366004)(136003)(376002)(199004)(189003)(36756003)(86362001)(8676002)(81156014)(478600001)(8936002)(81166006)(7696005)(52116002)(66946007)(2906002)(66574012)(4326008)(107886003)(6916009)(1076003)(66556008)(6486002)(66476007)(6666004)(5660300002)(956004)(54906003)(316002)(2616005)(186003)(16526019)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4662; H:MN2PR11MB4063.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dZCZ8aCRVhwV/OVXx3mf8+EpyksTVQ/+v+lTBxMjsOCIl4gJlhJHTaf6n18zFNzIclZRlLBp/Bey3/Q2FFjON8L6lmYKK69Nx929ffdeoONcTx+/TCR5r4LGHvvjGlrBkPnpQzJ/hAtgBSZstzYkAqSWLgGDSWR7m4dtcr6A6TBvKp31dUm/bOiiBTi0taiHL0+ea+h+Tl2jjKH8Ju2jsobhuKhPWz23AvkxeZoyYT3TJ26t3CiDsWNZBNiqggcztQxdgEE0gmFCVHcKjVs4mAjdFUCWoko8L1EU91C/VyD3G5ZToGuuAnL0DiNIgLxr+RicirZxQ8vuPkSZdCo6+MupwUbSPBfgCE/Shpb3CPESHj0M6lDTx/hSkQoELXkLeziImS2k6cTZaER+KFn0gSXQT03/LT79Qh8Qtmb9cEf1IsWd0LNpsWi0/dlXpjBC X-MS-Exchange-AntiSpam-MessageData: N6LPHfK0ozhQ/H4hTiDuuC/6wBhsLmEkc07CXHpUu57RJi4msR4mwtO2nwNGqEoQQ/h1dGm+lKUI8m3hcFM6OHhQwpSOvyfyCb5zdsIpZDVDrkOezZG3HTQ1uVPbB6n88PRJPyoFYsvAqmVnOBwKPw== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50865d48-13c5-48a5-7743-08d7b6c51633 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:29.5277 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yhOXiJQYHBYgGRXp7fGBcagkOwqti3t8Y4LFTuoqxxFNjB5qMhg4knY7c8i9pf4EdckorlwjX8Cu2eoAYpyIrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4662 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller In cfg80211.h, all the structs but ieee80211_iface_combination are documented above their definition. Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 63 +++++++++++------------------------------- 1 file changed, 16 insertions(+), 47 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 1cc3442b540f..2f8c41993ed2 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4103,62 +4103,31 @@ struct ieee80211_iface_limit { * .num_different_channels = 2, * }; * + * @limits: limits for the given interface types + * @num_different_channels: can use up to this many different channels + * @max_interfaces: maximum number of interfaces in total allowed in this group + * @n_limits: number of limitations + * @beacon_int_infra_match: In this combination, the beacon intervals between + * infrastructure and AP types must match. This is required only in special + * cases. + * @radar_detect_widths: bitmap of channel widths supported for radar detection + * @radar_detect_regions: bitmap of regions supported for radar detection + * @beacon_int_min_gcd: This interface combination supports different beacon + * intervals: + * * = 0: all beacon intervals for different interface must be same. + * * > 0: any beacon interval for the interface part of this + * combination AND GCD of all beacon intervals from beaconing + * interfaces of this combination must be greater or equal to this + * value. */ struct ieee80211_iface_combination { - /** - * @limits: - * limits for the given interface types - */ const struct ieee80211_iface_limit *limits; - - /** - * @num_different_channels: - * can use up to this many different channels - */ u32 num_different_channels; - - /** - * @max_interfaces: - * maximum number of interfaces in total allowed in this group - */ u16 max_interfaces; - - /** - * @n_limits: - * number of limitations - */ u8 n_limits; - - /** - * @beacon_int_infra_match: - * In this combination, the beacon intervals between infrastructure - * and AP types must match. This is required only in special cases. - */ bool beacon_int_infra_match; - - /** - * @radar_detect_widths: - * bitmap of channel widths supported for radar detection - */ u8 radar_detect_widths; - - /** - * @radar_detect_regions: - * bitmap of regions supported for radar detection - */ u8 radar_detect_regions; - - /** - * @beacon_int_min_gcd: - * This interface combination supports different beacon intervals. - * - * = 0 - * all beacon intervals for different interface must be same. - * > 0 - * any beacon interval for the interface part of this combination AND - * GCD of all beacon intervals from beaconing interfaces of this - * combination must be greater or equal to this value. - */ u32 beacon_int_min_gcd; };