Message ID | 1534329160-131774-3-git-send-email-chi-hsien.lin@cypress.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a858376cdbb3edfef7dc6ca5ec1c70ff94bdbef2 |
Delegated to: | Kalle Valo |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88369139A for <patchwork-linux-wireless@patchwork.kernel.org>; Wed, 15 Aug 2018 10:33:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76E8229E44 for <patchwork-linux-wireless@patchwork.kernel.org>; Wed, 15 Aug 2018 10:33:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A44C29E46; Wed, 15 Aug 2018 10:33:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0805D29E44 for <patchwork-linux-wireless@patchwork.kernel.org>; Wed, 15 Aug 2018 10:33:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbeHONZ0 (ORCPT <rfc822;patchwork-linux-wireless@patchwork.kernel.org>); Wed, 15 Aug 2018 09:25:26 -0400 Received: from mail-eopbgr720123.outbound.protection.outlook.com ([40.107.72.123]:16697 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726142AbeHONZ0 (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Wed, 15 Aug 2018 09:25:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cycorp.onmicrosoft.com; s=selector1-cypress-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=45MTcFrAsqACMv+F7fsFuYqyEz9vug6UZFVXS5afioM=; b=WHkXm+vuatLyda6T5R5DJPJpUR3BTWoMbpKmOJf/76p9tw6q900XYuDwYotwMNrtezRHNVK1s7Tc0PySaLHOQIcoWvJUIImp+e1nvkn2I5VirOPFR7PZGpFLdM9d+OgiIY3Pye+WKd7KGjLwRwdcw2RlCKsVgQl1i7Z2wujjb54= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Chi-Hsien.Lin@cypress.com; Received: from aremote07.aus.cypress.com (12.110.209.245) by BY1PR0601MB1436.namprd06.prod.outlook.com (2a01:111:e400:522c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.25; Wed, 15 Aug 2018 10:33:04 +0000 From: Chi-Hsien Lin <chi-hsien.lin@cypress.com> To: linux-wireless@vger.kernel.org Cc: brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, Arend van Spriel <arend.vanspriel@broadcom.com>, Franky Lin <franky.lin@broadcom.com>, Hante Meuleman <hante.meuleman@broadcom.com>, Wright Feng <wright.feng@cypress.com>, Kalle Valo <kvalo@codeaurora.org>, Chung-Hsien Hsu <stanley.hsu@cypress.com>, Chi-Hsien Lin <chi-hsien.lin@cypress.com> Subject: [PATCH 2/2] brcmfmac: add 4-way handshake offload detection for FT-802.1X Date: Wed, 15 Aug 2018 05:32:40 -0500 Message-Id: <1534329160-131774-3-git-send-email-chi-hsien.lin@cypress.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1534329160-131774-1-git-send-email-chi-hsien.lin@cypress.com> References: <1534329160-131774-1-git-send-email-chi-hsien.lin@cypress.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [12.110.209.245] X-ClientProxiedBy: BYAPR07CA0062.namprd07.prod.outlook.com (2603:10b6:a03:60::39) To BY1PR0601MB1436.namprd06.prod.outlook.com (2a01:111:e400:522c::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: deba0dc7-2931-4636-8d04-08d6029a7c21 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:BY1PR0601MB1436; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0601MB1436;3:IslquepHAZrP3ACksvv8fgQMMXjCiOQ5NoA+BuaNRmZjtKXAAlejEJnGZ0nX1qWGUpG0sUWbOwRZQPn0mwONTQCRxcqYmWgZYxq9AbfMG5PzeCv5dvZbJnvHEdvLh1pS3IDMqZgyaqgthil4pVUHq9euN1UtyTfXZ7ff4LsdI8rVitV0GSB1wO8Zzz5+L8auXHLhLjWxHUSm8ERAn3GFdCoRwOj0hHrgJv1BkALUQQ36r5vuMdH1S2tLJUoiWcg8;25:0r2FpJegV4tq/Q9Mc+EO4PvTZJMJkSE2s05LvFyyvf/clJlsJFu1C4nfJ5HURdsAcSpjEjtZQLfZdSm6ehDVDZgZQwY+wmD25lQCZLwWUJRBls8LqonBTKrKd5ZP4fYiPz3qlH1jtU4MfeYCehaT/+IEkBwGAO9U+FBekEfDyWiw81WPALfW1UuzF7zhZiEEKKM2OA88rrU5pSPruLAFGKyI2Tza040NC8M3rJ4IOBCC0WwaGkT/qBQf4UYRWmlK2IWSANiQwy9CpKd6lkvGf1bgSkVYYGjbXBkghR/KIrHRSI4qNd3nyngGwucWWAVSokBDi8ZgLvvEkQZgV6g+SQta+pw30QmxcOGiSx4M+m8=;31:0d68ei4+W8vVN/uBtWYg2PPuvHEp0P91dy2Raz3b/Ws7dZwDK1L2EOo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jyReQjY6dWnvF X-Microsoft-Antispam-PRVS: <BY1PR0601MB143624CDFE682569C34C69A0BB3F0@BY1PR0601MB1436.namprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(258095267146985); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301033)(10201501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:BY1PR0601MB1436;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0601MB1436; X-Forefront-PRVS: 07658B8EA3 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(136003)(39860400002)(346002)(396003)(366004)(376002)(199004)(189003)(50226002)(86362001)(53936002)(68736007)(2361001)(305945005)(7736002)(72206003)(97736004)(105586002)(106356001)(2906002)(478600001)(2351001)(36756003)(5660300001)(186003)(16526019)(54906003)(26005)(11346002)(316002)(8676002)(2616005)(956004)(6916009)(25786009)(446003)(16586007)(4326008)(81166006)(81156014)(486006)(6486002)(52116002)(476003)(107886003)(6666003)(48376002)(7696005)(66066001)(51416003)(47776003)(50466002)(3846002)(76176011)(8936002)(386003)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY1PR0601MB1436;H:aremote07.aus.cypress.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: cypress.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;BY1PR0601MB1436;23:lARnthPxXlIy2eIOtsXtr9if2Vt2Wi82g89hGr3OdAvOj8Ul7mXeVUHGAaBc7MVwHCGDUnWtwB1roMtna0zuyaHYryqejbnPZrD1IXUHZVAvnrx1hA8cKRwUFdYz5os9tzAhJiCuxPLTbkPQv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pMY3IIrH2ZCWWU3MT16UguO+k=;7:dXy/NQv45mMHkUL4vYPF9e8r9fDEnqmh2UjrPw0m9+T3Lhg8OBwUWNj2nbHGWFiVCA0KDqEH7mvdRnka907F5XY713BmpZqaXWA5SiGCByMf+hv4pUIt7RYzwV/zwftoEjgVnEosjc6kYNiLVtrd2/dbseFsmcI+DiJBwcYjtH46XX7/QBVe52yy3Mb4F2bvROjJRmofrxlcqTrNvm1DVLa674gHOMiJ/XSVvlEKiTi18PbGXakg2nlRmkv/sIjT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cypress.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2018 10:33:04.4671 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: deba0dc7-2931-4636-8d04-08d6029a7c21 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 011addfc-2c09-450d-8938-e0bbc2dd2376 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0601MB1436 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
brcmfmac: add FT support
|
expand
|
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index f56d76de0812..8bc031eed4fd 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -1651,6 +1651,8 @@ brcmf_set_key_mgmt(struct net_device *ndev, struct cfg80211_connect_params *sme) break; case WLAN_AKM_SUITE_FT_8021X: val = WPA2_AUTH_UNSPECIFIED | WPA2_AUTH_FT; + if (sme->want_1x) + profile->use_fwsup = BRCMF_PROFILE_FWSUP_1X; break; case WLAN_AKM_SUITE_FT_PSK: val = WPA2_AUTH_PSK | WPA2_AUTH_FT;