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: 11396435 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8AD6B14E3 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 5F67524650 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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= 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:56 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: 11396437 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 04C4817F0 for ; Fri, 21 Feb 2020 11:56:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D71EC222C4 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="RdtMXtPw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728147AbgBUL4Z (ORCPT ); Fri, 21 Feb 2020 06:56:25 -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 S1726909AbgBUL4X (ORCPT ); Fri, 21 Feb 2020 06:56:23 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WlZCVA3IMiAQ+ALQvYxCWKXsy/TAImKDL/3oQ5luAoSUS+1lyVSZ8CNOg6L3ryNeM71MexwWe3S0MjRLlZzHNIt8/r/baPMsrRMGWhOqkGljIRucffzv4t+6/CLty0i1e6J8WbQaPU9Y1mOyO+HaT5qF6u77RYAP/fMU6MKL9/K/JEQnMMv3B8W63AXwBWnIyC9I5Lj6Yy0Du/qZVJTYoBH8gFQH7rR0NbdXXqkJYSlXhv5Wtr93WqZz5xx2ZWkwUWBBRl4oq8e25a9fd/hP+56CferlV6RsRrQQwsQDZzn6MSBT8+5ULuWuJC8yYpL1k8th1sRyPAsqKbuK2WQx5g== 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=pLEnjwXZoVoAdWhmJ1clKYImsMJSGE/7M/sQNQ2JmhU=; b=aKjrgYlIt2IuKyBaKv90Dr4l91p8EPdzWR1FdFGnejh6p7GiMIk7CidD76QAO9R7UliKNrx5ycVsRZ0lyyFpFfb+s8+eZP3odrUTRQiN9/RhBbe0XVNdCI8F8KQd09KLlfqEsXz9joMlavH3GgsSluyVdQIAJiJzVZyqzFslSxPlZDaneRoX+mqk/9sfjpWch+xYAHoDGVD0koYps83Frs/qC2AMciNOvckqp6vMVKme/ajyXchR9SBYSfB8SOazAEwHIGdoNufJKK1mvAtPFqK3/ypmKdACDL6svgrIomwY6ZmAa9Wk+9Pj9Kxme8VgMWisC3QDlcnxXAcMxgGS7w== 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=pLEnjwXZoVoAdWhmJ1clKYImsMJSGE/7M/sQNQ2JmhU=; b=RdtMXtPwiiF+qIorWBeAoO+jZW5jLmQeenRV5SXQk//vDLf0M//SgMQbVbMX6RLndTdDKAydg5jj93Pm6aXtLJGGgmhBOMnrS5c84dUmUvUgWC9FvbcorA7x3mZbbZgnEYPDMzsHCtG6NUhZxegwkW74R6IjJuFdqiuAN+Et5Ao= 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:20 +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:20 +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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Subject: [PATCH 02/10] cfg80211: drop duplicated documentation of field "privid" Date: Fri, 21 Feb 2020 12:55:56 +0100 Message-Id: <20200221115604.594035-2-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:19 +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: a23d5ddf-1557-4c07-9530-08d7b6c51102 X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2331; 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: Eu4V+4ZsvCSWnB7QbnkB1PELu5gYyEZlBZwwFE3uVIX0Mu9pOEoy5bN5K2RTpXgZgomfhSd9qzqSSeMKy01F6IyveawLxji/Qo3g+1fbT4dcdlMZkKblfZbwhYghv8iyKUwEtI/G7H4hujtlJI0YhEpfOrl5v2mNV4f2KGB7me2+8KWJFOCo8qvlvhARYq6uL3epPl2ya9zgAjFAV0vScZcEqIzk0x/+cuGTYhMyeU/joiElutvYVFpS6TdKelUJniBwvTgmZ4rT5R+S9fXKRFOGwHYAjAagM7H9/Hr4iRvl1zhs1UOwSWoFlAuM2yOwdT5sWWTRpsk+nNEQVo4rOVo1DzN3mb5aJVyaI6ndP2IH72z2cytJrCDMrv6ww+hvLU/m+O3rumbJ4xcVWK0vtwdAC/GlV83OzMCpziL9QkrcRI1v5SihC9cg2eGPSueK X-MS-Exchange-AntiSpam-MessageData: z8Dr+ZL7PAGDpsT0hDIS2xnzHd9AH5IVGLg+f+G00yuh8Jt5OayyEBlPWdZYHq3fsnFhl9si3CBo5H3/7G9FbJNfzyScpJw7eGZ+exmIRAVFCsvG4pQKaxUQjbauzD4cc8wKXXjixLZ+A3P0n37NWw== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: a23d5ddf-1557-4c07-9530-08d7b6c51102 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:20.8227 (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: lR5TcrBaGSeWnYEtQqGbYwP8os1CGfvEQf/oMPTjHzt7Zmc/X5Ps6yuAq7bxS9/behLLX2ceCTnD9ZDLwXGJqw== 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 "privid" was already documented above the definition of struct wiphy. Comments were not identical, but they said more or less the same thing. 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 02efea52a276..292871ae9828 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4624,11 +4624,6 @@ struct wiphy { const struct wiphy_iftype_ext_capab *iftype_ext_capab; unsigned int num_iftype_ext_capab; - /* If multiple wiphys are registered and you're handed e.g. - * a regular netdev with assigned ieee80211_ptr, you won't - * know whether it points to a wiphy your driver has registered - * or not. Assign this to something global to your driver to - * help determine whether you own this wiphy or not. */ const void *privid; struct ieee80211_supported_band *bands[NUM_NL80211_BANDS]; 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: 11396453 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9831517EF 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 6E4FF222C4 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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= 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:55:58 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: 11396451 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABC991892 for ; Fri, 21 Feb 2020 11:57:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8ABD5222C4 for ; Fri, 21 Feb 2020 11:57:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="p7ni4fWq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728259AbgBUL41 (ORCPT ); Fri, 21 Feb 2020 06:56:27 -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 S1728169AbgBUL40 (ORCPT ); Fri, 21 Feb 2020 06:56:26 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fJRmu0D2GHFDy7DxV77Wt4tYKayZOez9yDASDiK6sIBYSHPrx1Fr/YaAOtUu4uzfw/2qgxVKFLdeCAJOzyO8QvW7zwWq0UdjpL4Jrkty314eDzGr/2jF3CjVtxez2zmJiaNmhFvse1muduE9hlPK/dmpmXcnMQWU29hYEBSYdZQ8Gw1UtOxUEm48TGhCcGXcxDhZjIfgBvJgIpF1SlvvJYSRNNVK2Cp7Id9bhOnOeLe9wk+gYlGxqhs14R6H4l1d301HEGoJjQvOD5S6pFCNlM1VyRWJ7/JDz8j4GZfLFA3bYe0IvDcEaa/No4Z/KF37WiRNg07BiZe90HSICEyIJA== 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=vgZEu6SOjrIS02joqzkzqXBwcQvShDkVhZXDHfGOk3k=; b=AkR2laGbVS+djmQMrh3UDB57TjS57X3e6fIIPAm33Mu1jIbnDA1dBsPhJVHt+5C2uzN/GAv70hm6qmpqmnl6LsU20gDuaV9vpqJk++eXJq5QiXqgs6YtTF7CurQxwPFgO3MPnsCy3iINdtzKzZF7CpufhGX7L5vXYjugGg7kU0kMsDIf3RnYOnKLxnKTip7PvDWcW1uU4UNhuVr+g6C8/q7/eqYddHb5N9Hb3JmRZBu232sdpf3HSwn5F0cI6uIqh3ImMiIthTJ1WN7qgAiV27tHt3SM265/XVM0EeNfFIm8OT1HSmj6woxwg8V1VMmAuVYlim5PHd2Xn3813ZGyHg== 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=vgZEu6SOjrIS02joqzkzqXBwcQvShDkVhZXDHfGOk3k=; b=p7ni4fWq1owWWOaFq+d4ABSc/Yvlj7sV8byYbyPRfu72FOsiRC25l/4nLY5TNNbKNTxj09NnpVJA4etMAhb+V1PkvUIWPZ0Iv0XRHXv6eJPZFUd++TiXdJ1d88WWiiRtlpdCNmfl5Q2b1qfaibYSElH8dH7vgo4tyv05RsvMRzs= 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:23 +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:23 +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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Subject: [PATCH 04/10] cfg80211: drop duplicated documentation of field "_net" Date: Fri, 21 Feb 2020 12:55:58 +0100 Message-Id: <20200221115604.594035-4-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:22 +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: d8db252d-5d14-4439-fcbb-08d7b6c51276 X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; 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: dIWuxKIWfs373TIwXktLiYJFyUiR9JtP1JwR4zntg2PC83fpcnD3NJIygO1uxsxOX/FWGbcQEgb+zYFFntgbdzo1D+sZQLxLSt8nWrQJyb2lFHgqCk7o87bNz2gwbqJke+9jgtw8eVg0oz2Einc4gZxXNyzumL3vROhfCsN4fND3d2ywRyAXxIqB084/k15XuFvUzAaXA17z6myURVGMgxm2337ANpDO17Menw/WAaddjXFDdbKLlMkVyAObPx/BsQoI81ePrptlU7KkyirY2P7DlqFSAw+YCs0oVO7sh5PdnrR2dP9Ntaj4EQFVLLqd0Mg0e2blbS4a5Ueg66Mrma201Qxlus6JuVD4swoboM2JvC8KPzhblHmF66n78zuVqEvgZnrqLMHPYMTba+xaiAC1UGK210WDY+YQhqLbNZvGs76etMJTD6zC1PBIxVO5 X-MS-Exchange-AntiSpam-MessageData: IQbNJ8Aj7/sJTZZcmVRBny6qv/0J2XwZweVg6fLXepVHyGeSbDB7lHotFlO/fHnJ4EBFn+hDdJYrJb+QEUcn8/T6tRZTeTDcQ4ko5+KdGQWuxqSF6h9N1zO4tlVeJUHFX6+Wun5oGCxqRqZxSHCbIg== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8db252d-5d14-4439-fcbb-08d7b6c51276 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:23.3493 (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: /9jO7sX1yRyAphT5wrmK/dgvNz5PXXQ628/OW45t4qARC2WeXjip0aHqvlQWymwEoyh6X0mwWBvX8rZh7LQ2og== 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 "_net" was already documented above the definition of struct wiphy. Both comments were identical. 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 bf3bb1265bcc..59c8108eb756 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4649,7 +4649,6 @@ struct wiphy { struct list_head wdev_list; - /* the network namespace this phy lives in currently */ possible_net_t _net; #ifdef CONFIG_CFG80211_WEXT From patchwork Fri Feb 21 11:55:59 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: 11396439 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 99CA21580 for ; Fri, 21 Feb 2020 11:56:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EB0224672 for ; Fri, 21 Feb 2020 11:56:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="YVYoEJI9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728306AbgBUL4a (ORCPT ); Fri, 21 Feb 2020 06:56:30 -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 S1726909AbgBUL41 (ORCPT ); Fri, 21 Feb 2020 06:56:27 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mc+xvA2vdVKLqjlHOwpIcwNm+30ZXq7Ss8wBqNIgeHIdCGES94J3/Kwbv77ueVjyg25rKnXolIsWXowt0a3nin5EGYLherBtFimkjY/EArRgbwK65834TDU1PGbdAx6yqcehKmHxtP467OEMFLkblgahkSlwjk1hk1ZJR1SjhR8hHA+e/Ob69Rvr0uc4wFmu3pxhvAdcFL0rfwrnAuGKRw0K92TgrPzfDWEXACTVhfMhc+04Dw5T/rxRNMNBiu6DSXYMI9Rq5S90RBk0UtWLYYE4vscTi4xGl1SH+C2Fl4wP2cu1XiqRc2+s2Ujh7P19oykw+9uzJjj8tOv1AXNhyA== 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=XYcykw53iap05OUXgfxE2Ym3qqJBMTeqAVIn3dpkc9U=; b=LSuhFqNSncxibXEao1QjILaxOpFh23WhHkJ/1kJXCS4rQgXD56d7cEQTVfeGZPA3O3eo5bZF5TyZ28WNFE0OczqbmXDPWq6fjjVANwu4x37bGuioWDawWVYq9fpSrUr3b5igBwdgtvOQ0Hc7/1jikb7CflG5HvpwRdP4uPt4uddOf0PWrXfOvaS04LV3UQ8Lt0nClRgBcGy4lrp+YeON3I1QU8yixhvIIzeKaO3+Bb/g6zpxHWN+dWtyfB+ksmsNNFOMPb1Qqqyz0WWwNFqCOqn6d7wuuwea5UN0cOeoeK8KDrH8L1HZf5V1qXtjpiimiKV4/Ae7qoJE5avYV+lQYA== 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=XYcykw53iap05OUXgfxE2Ym3qqJBMTeqAVIn3dpkc9U=; b=YVYoEJI9rbrdWZWD75QUjN1gDGth5wRbFVlfz2FZCN54ane5RafaEfPYNUFthBwYdwZw+IaHUaIcwJ2oAD5eAZSz8/l0tynSrMAkTW8rqTAsAaHGjw/CkwUDGaIQ0CY73+yBiwYIZ+t5LqQUngdnqJM/lnPZuSiE3j1QxC/FESY= 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:24 +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:24 +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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Subject: [PATCH 05/10] cfg80211: drop duplicated documentation of field "perm_addr" Date: Fri, 21 Feb 2020 12:55:59 +0100 Message-Id: <20200221115604.594035-5-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:23 +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: 4dfd9d32-1425-40ca-c789-08d7b6c5133c X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:741; 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: eOKfRwUjHmZA+hud3zAly1vLVUncnDNSthyU1ahS2AfmhdViiao/J4Cu48T1Xnd1bteBAGr5qXeJnGjrhzZwp9xxeBL2fv583nT+Nzol5uP+C3tzMul9/YKHrWPt66Q61iDbgnqzvMRju+RP8WOuXw/xqOqt6+oVVaYkhQRcOAUHkkQIWfEmX9d9MARmKkZVtJ6UQDyO12HHrWMN7QUHhT1O6IoKRNUnN8cuTpWhUCBsxoheNPNk975ZKqzsY73YDx7av/hhj+luplzmhubA/o9QTZ7Y3J6VP+Yw/rb1bgaw4wjDNCbeFK1mLnzrah9Rmfj/lZfRVws/wpcXjuj/k3JphvzhEqgjZX5750Rbu9MQrqNOIkO+aHo58rqYsaZX07joPMdJosD3U15tU2aiYz+KupT4x8mXHIcF6SZiegSfyN+on3t+OM5xJPvbXMXX X-MS-Exchange-AntiSpam-MessageData: TIojxJk9tx7pC/nfsrR3+TKTUIOandh4n6rmxyklTxXJCCySLJGnMMVnHSFF31IngDe7Wc94vatbwZ6ZNq7U72VTw0wfCmFLHwWpCX3uA1zK33+Px/RuCsxOx9ishQ4eHqcSNr9+i6T76EqdcYrTQA== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4dfd9d32-1425-40ca-c789-08d7b6c5133c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:24.6445 (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: /AkLmEFTiQuDbWmmw9yHl7PlnxkBHfn7vWGi2eddvdCR0DFRraMcOHoFuSB5jfxv3b6JWLX0Fjr1wSYtDKLFng== 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 "perm_addr" was already documented above the definition of struct wiphy. Comments were almost identical. 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 59c8108eb756..b5f6fe56974e 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4551,7 +4551,6 @@ struct cfg80211_pmsr_capabilities { struct wiphy { /* assign these fields before you register the wiphy */ - /* permanent MAC address(es) */ u8 perm_addr[ETH_ALEN]; u8 addr_mask[ETH_ALEN]; 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: 11396449 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1E7631892 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 E7FE5222C4 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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= 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:01 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: 11396447 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 562CD1580 for ; Fri, 21 Feb 2020 11:57:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C5CC222C4 for ; Fri, 21 Feb 2020 11:57:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="H3q6x8Xg" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728429AbgBUL4h (ORCPT ); Fri, 21 Feb 2020 06:56:37 -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 S1726909AbgBUL4g (ORCPT ); Fri, 21 Feb 2020 06:56:36 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KTIx8Qr42DigOgQi1lwjJUTNXCdTNtP7/QD0LSqW/DlyFnv2rlI4h73b7TUMYFBXkMGKTPYctoV3hu3xrzmYddS1K5N6qzR6ytEbNVPtBVYILlaYSl2cfYYFHyRoeP8hrkgabne/FOckUN29HJN6RVMqdkF6Abmmt37/CwPNGgsW9kOXzoHu4ah8STLqpJUetY1aYJHGbcIDF51u0//KVXxAknKau/SKwbkG5zpLwoOq0mGQh4YTi5L0JuaBsXkr7XmUyiImZE0CcGmvXKRKWhe1BPt9FX/EUiy9OyEXWrdSiHeoJmuBi/vuSYGScaudKYT9XkwSgoRcem5LEGEaDA== 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=eGJhOZFp97GgwebMiHdV78wFkUFU3J7N5KhntqyeYnw=; b=AGUapOGgHcAroiQCWN2b1qUqdVcW8MG7Ejpd7LQMtQ8k8FBWXjXo7F8tbnzTlhXJ9vCqAtIQKTzCrkna+FfMF2JbH7QPfvB5D43uUdVS67pIsPPmncnBjB4bfqPRGdNAYdXOmwkQWNSG8Ok5FkPCZhzYHUEe6rmDGMLfrvcwWUPhxLZptCsL2T51iykRTbpe49STARBTAlKnNY/kDZWOV73nsPkv3XHqlAxu2s/IU0WzmTVqtKoXyXwiI42fW2iz5ad7Uxo5UexIeHgdLer1UEVRr/N35k1iry3bWd/GoaQQPqK1paN4ELs2hlOVmMmG7TanvyvMWyEskGyNtsOHTQ== 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=eGJhOZFp97GgwebMiHdV78wFkUFU3J7N5KhntqyeYnw=; b=H3q6x8XgZgnnrd8TjzCGzDqz7RMDP0cYQ5J41MNrjq+hCXUwQB8a98mZYewxNwRev7SHbCkTI+f/29Gqf2PEOoAXUq3e7DCyX3tzOfL3hSlfyZ1GkAvWGsfv/+Zw1uhSmy9idWfaoYrq/anHJRKsIA2QSGUx/HEjGpJ+BG/DPeU= 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:27 +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:27 +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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Subject: [PATCH 07/10] cfg80211: merge documentations of field "debugfsdir" Date: Fri, 21 Feb 2020 12:56:01 +0100 Message-Id: <20200221115604.594035-7-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:26 +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: 3e3fcda7-9592-40d9-9577-08d7b6c514c9 X-MS-TrafficTypeDiagnostic: MN2PR11MB4662: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; 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: TfkQyYDntRAJSrg6qMnMCljSbcEcCqDRrDLM/IOhA0tvcPgawJCZ/aL7KiYx/mrEbC6AkW3uMOtBrxiywcE2yzsyrdEzTFQiOGg2uMJAqO5p06+g3zgkNANCApJvSzbeWOH6NjkuzylafeCa+//5RihMtl7GQ0bHVfQTQQQnNLZLpwN/GKmAeLtC46mHMyLWqNVRByoGkjSPZAO5hoF7hCXvwcQHlBfpwsxcUMFveF2OdL2W4aRklFitRPlL96TGxqR3mXRk+0AYUrj5KyhL3aqCkB4JEj+yI4OiFmDCZJj0b+CUn0rNXEwC+YflOKwrQoMo7YucaKLG+xRBg8ZN7T9d3Y/7LwSrMCpAF9YY0Q79yaq4F+Nq/YL4q1DR3OdMF4VGT+iUKY4TxHkrtz/lEs9u+uwmnA+yfEnPAs/eUtq7UjdVL3tZDP00DySIhnOb X-MS-Exchange-AntiSpam-MessageData: +2yEek0K8GJ0y7CD1aGi16b6N/y/5X5gMzuFNzobNmjwY0SL/165a3EwUdjySCNu+VZydj6RoSt8hBLJqFKKmR6s3zVGavz55eIip+bzONxEvnxvV1q5m5H1jHSfIfy/l2pqs5OZ35y+lzQj3obNKQ== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e3fcda7-9592-40d9-9577-08d7b6c514c9 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:27.1341 (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: I/GCA8ZGyXUoE4E+qrI5vEVvSJkBzXH9koCyQsvzrM7ILChwCW5XDjRe7sBqFu8ZM5iJRS0Ab8HmFwkYeX5TxA== 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 "privid" is documented twice. Comments were more or less the same. The patch merge them. Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 4b0871eca9ef..2bb963e96c32 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4409,8 +4409,8 @@ struct cfg80211_pmsr_capabilities { * the same number of arbitrary MAC addresses. * @registered: protects ->resume and ->suspend sysfs callbacks against * unregister hardware - * @debugfsdir: debugfs directory used for this wiphy, will be renamed - * automatically on wiphy renames + * @debugfsdir: debugfs directory used for this wiphy (ieee80211/). + * It will be renamed automatically on wiphy renames * @dev: (virtual) struct device for this wiphy * @wext: wireless extension handlers * @priv: driver private data (sized according to wiphy_new() parameter) @@ -4639,7 +4639,6 @@ struct wiphy { bool registered; - /* dir in debugfs: ieee80211/ */ struct dentry *debugfsdir; const struct ieee80211_ht_cap *ht_capa_mod_mask; 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: 11396441 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A03B17F0 for ; Fri, 21 Feb 2020 11:56:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D3E7724656 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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= 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: 11396445 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 93B791580 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 68D4C24656 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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= 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; }; From patchwork Fri Feb 21 11:56:04 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: 11396443 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6AE9817EF for ; Fri, 21 Feb 2020 11:57:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 37AB024656 for ; Fri, 21 Feb 2020 11:57:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="EeQKbVdi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728590AbgBUL4x (ORCPT ); Fri, 21 Feb 2020 06:56:53 -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 S1726909AbgBUL4l (ORCPT ); Fri, 21 Feb 2020 06:56:41 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VnD12e8ISaOhQTnnyekJI33dGX/QCAw9zJaHseFOdQrS8klFDbGeGbjYxuCL5WL3f0zrL4CxH7X+QtCY/A4vPNmINxBicU/z7823cARfLMRJUGl8ETkzVTXGwDDmmEii6Qbu4quBWJQFvJEWiZrTieQhS4AvFJxOgJeSnZFtiI6capduwND0aKigEf290lPL2MTUenGx+xmSXjRrTz1ayPqouQ/wWbHzdzkicfey/Ca7nAKNWMCnnS1giMreTo7YNH96Fn7hpeM1nawfJdlMJ8UNDLZLL04ln6WhYIgkZa6fAIuGGgZEkTnVvHpB4D/ODownSC/6L+++o/mg6KR3IA== 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=OKG8epXSt51lMrKEqMU06v2H4BrZcTShDrwPFIiLhRE=; b=W49CpVvX5Xl+DUY32Mab1fCfL5UKXtQQafX9U4AvQzDU+2sKW/kCEx3rWNlup6ugurnqIZYWCUbjM4xwfDr2WYzQDpU7kw71fOAOzxaWgOZKFNHr5rDSERBoBOr2r6MnKB28RhrXKiTx4PeeIoEuKYs6f7CSSP6qiqmroLtyyjRXJED1ApDOj7pzRfDGcXiXbxfhyR6SURDu2s7+y/EvfiU6sx1tCwlf46ByCrtgaE6beWZvKPx0TjlX1YaRLZN1z00aXnmnlNGsHCYbdMkgzyMqalvE522Ga8WLGuFcCnGIcs91Vg+kJRTSkW+8ldp/uTFJcYBHNMlQRu2g7bPFFA== 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=OKG8epXSt51lMrKEqMU06v2H4BrZcTShDrwPFIiLhRE=; b=EeQKbVdiZcEYbTOdyuqoKPv1QYPJSlFAHQF9lMEEnhm9/AMPPcOtZn9jbx+jVhob2EX4WhqVHn1sT/gCQwmpNSUALSuh8poEl/9Cw9BEW5hUS93WqcZjED6Fwao8o2DiS1eYRvVp+7q1CSH6cz4Kyr7MBtrJNWEBm/QPdVA6AFE= 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:30 +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:30 +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?SsOpcsO0bWUgUG91aWxs?= =?utf-8?b?ZXI=?= Subject: [PATCH 10/10] cfg80211: fix indentation errors Date: Fri, 21 Feb 2020 12:56:04 +0100 Message-Id: <20200221115604.594035-10-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:29 +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: ea209a89-34c9-4d01-c54b-08d7b6c516ea 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: don3P2CYGVgboiKFuBz/6dQggaaMyM7oe+F5RdxjhpLMnKH/KPLwCZqlD5FYEP4H9xbMWGgEzMu069SjzdEXX+wyNIWLSTIK6QJE+fboCX3skLob6llCbUFMKjcsmaNkOhWDhbWEuE9CDh8xf5Nsv+4r47ekmeLcPFci+N2xNIx0dCMUmdDW8r0lZDGoHIUw7U+6Ng4E3oieCbBEN8BBcUhun6pISA0iqqc3IbFhkonr/Ik1wJXd2aXMC832tHCgtvWfjo4fX43yc4l+zEjjZo41ZGfBbXSpetE/N5bh7KQr9c6CuSknhA/7Qh8acYBfkvIWg1enu/AVqb2AVUyAGa2ydFCg6bCssHgCXuW+BGxteVuL5/ArkqFhw88hmWPaACUW8ixA0j5LMfNqYkEvOI/Tf3ReQoxFHVtanDnj+BaKyxNDi/KATDbA060X64TH X-MS-Exchange-AntiSpam-MessageData: YY9ekbYd9T4FFLXGBtuALABBvuXEuQeU5bk1S58OvqtMZTj+9M+jNoNK0fsAZ/JhPB0KpYRNEd3AlpKXLKItAS0tCbsC36OT80S8Fg7QPd6RWnMZiUZNiFhq69RQ62fPfnOlu+xO5Q+nQnAaHMIdaA== X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea209a89-34c9-4d01-c54b-08d7b6c516ea X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2020 11:56:30.7130 (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: cQSDujNE1tUf6bDO3uvtkDVRcOSFw3uA3aHKPtbJHndi6D8gJIO0pA4CHcn82erTfr3p+9RAvGTXdTc2JbMWjA== 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 Signed-off-by: Jérôme Pouiller --- include/net/cfg80211.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 2f8c41993ed2..6dc642bbdbd1 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -72,12 +72,12 @@ struct wiphy; * * @IEEE80211_CHAN_DISABLED: This channel is disabled. * @IEEE80211_CHAN_NO_IR: do not initiate radiation, this includes - * sending probe requests or beaconing. + * sending probe requests or beaconing. * @IEEE80211_CHAN_RADAR: Radar detection is required on this channel. * @IEEE80211_CHAN_NO_HT40PLUS: extension channel above this channel - * is not permitted. + * is not permitted. * @IEEE80211_CHAN_NO_HT40MINUS: extension channel below this channel - * is not permitted. + * is not permitted. * @IEEE80211_CHAN_NO_OFDM: OFDM is not allowed on this channel. * @IEEE80211_CHAN_NO_80MHZ: If the driver supports 80 MHz on the band, * this flag indicates that an 80 MHz channel cannot use this @@ -1656,7 +1656,7 @@ struct mpath_info { * @basic_rates_len: number of basic rates * @ap_isolate: do not forward packets between connected stations * @ht_opmode: HT Operation mode - * (u16 = opmode, -1 = do not change) + * (u16 = opmode, -1 = do not change) * @p2p_ctwindow: P2P CT Window (-1 = no change) * @p2p_opp_ps: P2P opportunistic PS (-1 = no change) */ @@ -2032,8 +2032,8 @@ struct cfg80211_bss_select_adjust { * @ie_len: length of ie in octets * @flags: bit field of flags controlling operation * @match_sets: sets of parameters to be matched for a scan result - * entry to be considered valid and to be passed to the host - * (others are filtered out). + * entry to be considered valid and to be passed to the host + * (others are filtered out). * If ommited, all results are passed. * @n_match_sets: number of match sets * @report_results: indicates that results were reported for this request @@ -2426,7 +2426,7 @@ struct cfg80211_disassoc_request { * will be used in ht_capa. Un-supported values will be ignored. * @ht_capa_mask: The bits of ht_capa which are to be used. * @wep_keys: static WEP keys, if not NULL points to an array of - * CFG80211_MAX_WEP_KEYS WEP keys + * CFG80211_MAX_WEP_KEYS WEP keys * @wep_tx_key: key index (0..3) of the default TX static WEP key */ struct cfg80211_ibss_params { @@ -4350,7 +4350,7 @@ struct cfg80211_pmsr_capabilities { * note that if your driver uses wiphy_apply_custom_regulatory() * the reg_notifier's request can be passed as NULL * @regd: the driver's regulatory domain, if one was requested via - * the regulatory_hint() API. This can be used by the driver + * the regulatory_hint() API. This can be used by the driver * on the reg_notifier() if it chooses to ignore future * regulatory domain changes caused by other drivers. * @signal_type: signal type reported in &struct cfg80211_bss. @@ -5420,9 +5420,9 @@ void cfg80211_send_layer2_update(struct net_device *dev, const u8 *addr); * @wiphy: the wireless device giving the hint (used only for reporting * conflicts) * @alpha2: the ISO/IEC 3166 alpha2 the driver claims its regulatory domain - * should be in. If @rd is set this should be NULL. Note that if you - * set this to NULL you should still set rd->alpha2 to some accepted - * alpha2. + * should be in. If @rd is set this should be NULL. Note that if you + * set this to NULL you should still set rd->alpha2 to some accepted + * alpha2. * * Wireless drivers can use this function to hint to the wireless core * what it believes should be the current regulatory domain by