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; };