Message ID | 20210913130203.1903622-10-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> 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=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,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 36910C433EF for <linux-wireless@archiver.kernel.org>; Mon, 13 Sep 2021 13:05:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1971A610A6 for <linux-wireless@archiver.kernel.org>; Mon, 13 Sep 2021 13:05:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239551AbhIMNGQ (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Mon, 13 Sep 2021 09:06:16 -0400 Received: from mail-mw2nam12on2088.outbound.protection.outlook.com ([40.107.244.88]:10209 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S239552AbhIMNEG (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Mon, 13 Sep 2021 09:04:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V0ChSjLs0T/ngQUAoC68jz2XhNORl9rRr5F0wYlEx/c4ndeA086Lg58Ahq1yyha91UmZr2Z8+nwnNxmfwDdsLjI8DO+tRxTQ+u7WMckXyo/L5E7mUA4WEidpbbPoFEYUFi+QStLwy3KMspvxiRdxDgulBMTHtQzYSJZQrVsPzzMhDOrMsEyaL4gUYp1tb+Sd/TKpu42Nj2gFb/Lq7PDtQgOcEQMhxrNRYrJUh5viLUbzpYV8IRwBclDxX6YUoQCuWn1q+UiwgNV7wMsXLzgnodMN3Ucm8cnyGm27iH96hmsmvj9ossP2y8KKNYUxPpJLTgooiif8FUoBz3xvRKVanw== 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; bh=Jgm7gufk4MiTW/E5bnLdLTFb9rL4DssoymnMgDzNeZw=; b=G14tYnDwz9VkMDPCOkQ3pR5gsKjcrrZoxhGUpr/pFAg2NXlMqSS34dbeY0s8xfea64qVR50SCRzzJ3+DzovWfBou2ajGiiktxjm+HBkNgcaWqqzQXdCNxHD4VfIf4+ctDQZwSsJHVqR24QoUGM7eFR7EyFEYhKaw05Rz9sDx2WEkom9X7laZdxpWzF9gB3b2lpsxMJ4eNJrmzPST6bZQUTJt6brqz7ie1f0qUnVPEUzqaiYtBIf/sT7GXOb8gFmQ7RtT/8ipl6XAFIM4YtHcaNrUytu44T7i6DQauxfqjIs88m37hgq/v0l8U0Z22Od6Q7uloN1l2eTZ4rjGiM6yWQ== 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=Jgm7gufk4MiTW/E5bnLdLTFb9rL4DssoymnMgDzNeZw=; b=ZtFbSeZfL2sR2FULv3bdxnWyKogTjUzLJzLvtVhsvVhBnMjJ2BChBC9MJW15CAMRLNtc40O26y+lDp4SzJWXZFhQMGCv+JM7YCplXiGUGkhSWd0uDCr4y3n0XJaK9wS9gD0mqHqMcmi1426ItIwHuAhwhCTawnxL9CxtvDcQ7HM= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none;driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SA2PR11MB4860.namprd11.prod.outlook.com (2603:10b6:806:11b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 13:02:33 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Mon, 13 Sep 2021 13:02:33 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH v3 09/32] staging: wfx: declare support for TDLS Date: Mon, 13 Sep 2021 15:01:40 +0200 Message-Id: <20210913130203.1903622-10-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> References: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 13:02:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 78756b84-2275-4793-5384-08d976b6c076 X-MS-TrafficTypeDiagnostic: SA2PR11MB4860: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <SA2PR11MB4860E1EBB41CE60ED90C038793D99@SA2PR11MB4860.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:1360; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DfZmINL0bOEBvVaDUHt6535l9jYBJ3qADcCQQ5i3Fq49xpUH4fV+1e1x3JDJliALvxVVU5Qw7VWZrfMnZ9bGUUR8M1dv1143DYj/U/KyYsIJvBLbyDrr3WmH+T9GnCgeyHQimzwvRB2ZoDKTeFrQ5xa40na+IOIwikj8pG52CxsGwLY0MCAIk9r/kh9IupAmOA13nhp3bxbnao7bhjU7vw1eGKkB1A8Nvma3IkTiGIHkIhLyMXp1eAfas92boPL+Y52irViSvfARXP0hb9UNC09cpjqpEJuNM5D77cfF4XQ6Lp0R23M2DsIzx+01A/EelVXH3wKEDlhVQpo3fyPIoU5OhDNibikU7Zqo/0lLbz48QdqPx7zIqH5uo9WmN3jdSOfLZBa9821911CQ6fYaSIuZtTxdH47CX/11oRoVT9sPvRRCTCiXt4fqGeFnku/1UXZj12a8Vw/GzjlqiW+6JJghwKX0/iY2sIl2nY+klmsMi9Ih8Vt40Gi89fP5rg69yes99KpZyRopCkOTj4LbsGuxS2eoTYB1E/KTifJAVryEixc1FEjdA7nwTKJObt5aqmXDFPlU+GrOg3OwkZG96UthiySsYEPhZMmewIQ1oU6t5hWNi46m7UOM8payg/tHKZiniy5QX+Kertk+FhRuCJA0HYRjMqB2pW3UkNB5NfcCUHcM6we4x4kDMORYnXX+2qmOZ5+OQehlDPZ4bmUvXQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB2718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(956004)(6666004)(4744005)(66946007)(2616005)(26005)(36756003)(38100700002)(38350700002)(316002)(4326008)(107886003)(7696005)(54906003)(5660300002)(52116002)(66556008)(1076003)(66476007)(6486002)(508600001)(8936002)(86362001)(2906002)(8676002)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?HH6xSalZgb3H64wUkIE/AUolIVt/?= =?utf-8?q?pImxj0vqux66qUlUD6ngvXVraRJTI5l9rk8beSk4uHMi6SWkpE+aynjEMeen73NrY?= =?utf-8?q?MSaHEi/aIavvl8PKBtfNkXL9ZMtcQpZaeJWTWZ8LiUpJ7jxk6n2OTzfgST8ybrQbn?= =?utf-8?q?tAS19tfSHg6wmiPKFhqKpUXbpz8xxRmDJSg3yFP2ZuVDWKd06LXblosS2+3F25ElH?= =?utf-8?q?sDxY72BLFSsdZFnE6UNBcPNevR25QCE+fiQEka/+zurPt0HGUcROleUwIgX+tlu8U?= =?utf-8?q?WrYrSQIcZXMfLY6MZWW/N+CiHcM45LKxZG3RSPsFcM0YOAII0X5rYvom4A2vX8aFn?= =?utf-8?q?RXF4SZwOzAoIx1RCjWg90KbDOPQ/fIQUINoQseuLsaelvSlymQna0JOJzdTYObuoJ?= =?utf-8?q?EXKe4CQx5bzvzegmxnUC0OdAJIzXHdjuyq9cYzGy9HnU+J6g4x2lmAPSEdvM5qPub?= =?utf-8?q?NPrvnWULwkm+Ds1VxugD1/4q3qTMyjtmc+yl9rkJxbZhpoBMOh0wHBOMBxbAGdaa8?= =?utf-8?q?PaFZ94N1gsH5pjnLYw0nU65hQ5ZowVm5feGKv1s3M8/Ytqcqrh2aV3svZy/27Ee5z?= =?utf-8?q?lUgU8VDGgZopcA7MzXNDm8/HXMDhJr7KObXg+0zIUBHBomL+GfRX4cnbYFay9cRIe?= =?utf-8?q?BOm0ac1n/qS2oiRg4buy/xRjpkDm3+oaWrrVogUbbY03Jfa9jTDjhC2j6uMxVSbyn?= =?utf-8?q?Nh0OgGB0CceWlfWBvjeHdosv/PE1jOHXgWCbmqPh/fsp+J/OZBZN/nePZr8yFOVTc?= =?utf-8?q?FkpjpQH1aa+wt8JTOCD3RecxRDZdL3Us5ANaxqcr4KHi4T2wyG/ugI/VKDHKHC/Ki?= =?utf-8?q?sf78leDp34Eo4qnVIcKIv/NBL/JyDDybIsAKckdv6o+PMcPKFXWkzMxvgn+AZYS8i?= =?utf-8?q?9EqmBc6Dd46YQquiy9k5MLe/QzPLUqGN9qAU3o8zi2ZzFwbzBcFr0Pw6+BnNcH2A6?= =?utf-8?q?ASODvrVb6+f2oiytcI0/Ka6oDVMpC8C6Zbz72yiZICbtKwivt5oE2vqmJEJpnUUa5?= =?utf-8?q?e91vRdhs1ae3hPFrG6VPwKfRr+FvdB48sRnrxHLpZfGc0gut7t9DY6MUiTPfmr8nY?= =?utf-8?q?xmkmMJTlK3xdrR5oezMDTuA52k90bDI/wb/kJ+q/L2c6p+2qHAJxeUT84tim2Khd4?= =?utf-8?q?ev95eDBt9TGI7fpqY854UOiiFFnQmelhjhPndTj/hChCWlzYD9Fzptjm6A+wGj9Na?= =?utf-8?q?Ms+73u/trQoRekVJJLgZZlSfh/ZjZKLTHqRyBF6i7kq1Rq1lNo1+x+tEzz/zmopxY?= =?utf-8?q?Q9mblypHZIx3aydz?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78756b84-2275-4793-5384-08d976b6c076 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 13:02:33.8389 (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: x5pQ0+nq/kzbK0eMMWT+/pbmWp6JNYGKuyXLgRjdufmyqm8n424IpQdN+71Dqbw5HFSxHGLvpB10IzKHHJ/oFg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4860 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
staging/wfx: usual maintenance
|
expand
|
diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c index 4b9fdf99981b..0a9d02d1af2f 100644 --- a/drivers/staging/wfx/main.c +++ b/drivers/staging/wfx/main.c @@ -440,6 +440,9 @@ int wfx_probe(struct wfx_dev *wdev) wdev->hw->wiphy->n_addresses = ARRAY_SIZE(wdev->addresses); wdev->hw->wiphy->addresses = wdev->addresses; + if (!wfx_api_older_than(wdev, 3, 8)) + wdev->hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS; + err = ieee80211_register_hw(wdev->hw); if (err) goto err1;