Message ID | 20210913130203.1903622-11-Jerome.Pouiller@silabs.com |
---|---|
State | New |
Headers | show
Return-Path: <netdev-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=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 747B8C433FE for <netdev@archiver.kernel.org>; Mon, 13 Sep 2021 13:05:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A446610F9 for <netdev@archiver.kernel.org>; Mon, 13 Sep 2021 13:05:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237666AbhIMNGV (ORCPT <rfc822;netdev@archiver.kernel.org>); Mon, 13 Sep 2021 09:06:21 -0400 Received: from mail-bn8nam08on2055.outbound.protection.outlook.com ([40.107.100.55]:54369 "EHLO NAM04-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S239557AbhIMNEH (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 13 Sep 2021 09:04:07 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hB4Rku8ttKmt5cIq2azaMadASayULCA+eZNrnEIfSp/ujbaqivWDu53pH2vJcA4i/n7lNHETMJmkyjrflXrCD26ShD/X6DWdaAX7c1lzp60pjYYnYh+TEBP2Fv+eLOKLASLJ94D8a+wWwbcHWXEQMxLRSeMaHdcByMkjYjFRe3Xy6e19A3g9wkSFdd+ZPqSYKYFXfnsIZwbWTdqoRytobdAniZ/EGlDe+0lAOibp+ygc+JmBrjpncjnZgUqvoeky3cF+VYDOUJpv1E/WO2LNxu+ACceK5kD23Z+DGsFkHwdBmTI+3+6CWO+856HcKA3GoXUkmBmROJy2d+OsH1j01Q== 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=C31iDdiNELeUy/7hAICgB5wTgF2daKvEZIoAcBSDHBI=; b=Yazew4RVeaZHA9jHlPJKZFbz1o8DBmcGe5L1jlHCUVv3UsxwkC9IINohCbsYb0jws1crsY3RB11IxiKAYHs6I5VPJTmkq4X5qfGCzkMKVVceTFlKByv0ev/ymiXDT6Ltbh/AIfYlR36SPGHhJWhcwMr8w14XAIaw2bMveo0pvXlYIDMly/2MMya8Q+1ODag6d9mBxlEXkDXsMOpxmyv4RPG1y7xGWojPXS/qXmZ/5cJLTIoLYEEK4lZm1PjERXjo4YppsIr9GGFY4KaM4A++bCcSLbniGLdXAk0mDZvrE9o2uvSbi8PXkJHBPYo9QR2IlnC0bcN+J6Il5imU36dgdA== 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=C31iDdiNELeUy/7hAICgB5wTgF2daKvEZIoAcBSDHBI=; b=fApnPK9KplgC4ZJ3rQprZgwMo6ReM6op5RRTfM1SCKzCUDjyGTelK13ubw9H0DEixdGM/jCSJ1K9n7EkqTkHOzVPOJcGV9j+K7axu1ys6UmxBSo8LYzduca2O0936SDl/b1W0dvCt4FUgsvtTOhTU63xaGVF4uVaWCFIdBhKQJI= 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:36 +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:36 +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 10/32] staging: wfx: fix support for CSA Date: Mon, 13 Sep 2021 15:01:41 +0200 Message-Id: <20210913130203.1903622-11-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:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fff0c955-08a7-4630-504a-08d976b6c1d4 X-MS-TrafficTypeDiagnostic: SA2PR11MB4860: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <SA2PR11MB4860EAD8D2804F97B20B31F493D99@SA2PR11MB4860.namprd11.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4+hY7j507rbjwH8W0MxCj4LAWT2alfaltCqWIFXv2xXY6oN6csYiwTiUVr+9GtVGYRtkIqe9a3Wqg8Q3XS61KRjB66/3WeLB4CxST9ba34gf56L7K4bXVjpGQHtDbNqIbB51WJGP/QPSoAOfuP/CnEiyhFxtvNQgSfejRIWao2G24P28BNpwXZk1RCMEQUywG036+Fkt/jhqPL10VaWxFU0tBfS7dDT2ArnTHq/HI0sPAc845Tuj4ydFPPxr1mpPWBZeMPnW6x/D3w6XVCmhFZp27eHCmGIcvP750sf9F3hQCQe4GvV4OJSpuGGZVOLghpnTkuttOO9N/6EtaElz3WQzw/RFrELYEk8TvZ9hp6il0owcPHjPdRzmLH0/Mv2V+KVGjRa08mgSBlqvlMBOspb407T/WetZZ/1a0140gC/1mh1TDdS2MzD0ELz/woCYIpKIBKgaHWwBIDToECMAtdxXu1jT3RI89Wh7DhxhQONOjyfQJUVAacLInygpG5sCnt5WT9Sla23i6Y6Rz4JZVWoM/6lb3SF603p4VAhCI1+qrO+03mbyVSP839PF5rn0HYHJJgKs0DkzJm7DE/D6vXyVb5I0AfvuVP0VWFLo+o3jxCPowPAbtiiCeymu44AHhDC0I/zxuTe0aL8zS77Q5yXoJnHCHYIJ7ig4F5p04KxrhnG8rmzgyjal1r5DALgM+cNcL6DEwRU823rsyK9zIQ== 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)(66574015)(6666004)(66946007)(2616005)(26005)(36756003)(38100700002)(38350700002)(316002)(4326008)(107886003)(7696005)(54906003)(5660300002)(52116002)(66556008)(1076003)(66476007)(6486002)(508600001)(8936002)(83380400001)(86362001)(2906002)(8676002)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Csl6bIlqkDB4mK+0G/Nn9xT77?= =?utf-8?q?DL8KrLOG3SEy9ZKSdhdzCC3+6grAj7OXQz2hUP+NkzpIzRHRoV1ZVESW?= =?utf-8?q?6nL0czy9rzn4lBsOK7eXY4YEG1rlwScanX6avp9ARbCiA2lrQSF/Wqtg?= =?utf-8?q?QfLH5EI+HjSXBC/Mg8YQ8LABgRzrRoeOPEt4VoW4USfrRke5V6vlnfJt?= =?utf-8?q?OEfC/Qj2wJDjNNcU6bm8h7jwE/qVCu8JoXLBMVaE9OpJF6tZjfmrKxL0?= =?utf-8?q?WB0pvPk/emhFCq4EKDOG62v3QTZ7ZfQ7K8ewpzOd+6J/vpjbA9aD24W7?= =?utf-8?q?RWSXUvh1ps/UDOvMwezO29qHJqS4KpE90vZH2rP+JU65w1dbyYOhf/yz?= =?utf-8?q?K9ZaTF5fFgxNx4C+lx2KccFsaw5NAyzhO7zd3ro14HF45yBAPQuWVwzj?= =?utf-8?q?pggK6BTqacvGRHVI3wDmyxKlra+tlKvPiFT6BfmtuNAS+VzkY3N/8Lk+?= =?utf-8?q?NyzpW5M3qICIlnvQ5dZKXihtjCDdM3Bw9yCPf7JzvyY5E/4BYJoAE9/Y?= =?utf-8?q?JNqkej7kB9Zk6pDMO+Yl9/FKQ4OrKTtXgVEvGOFLFWtFl+mu4OZ683pM?= =?utf-8?q?xWghl3/BO3GDcA6/1cGsaBH0BjZq1z3xQNWYRkchHBRPCChJ2DB/YX2Z?= =?utf-8?q?ruGI9g/8w6qO1weaGj2CQ2b9mK7tSnB2hgMDHKbQvMkFwbVobI0wIsyK?= =?utf-8?q?D39Xnfawzi9Br+ViPw3J7cOOo/W4n9SLI394SggR38uLoe4KbFgLRoCl?= =?utf-8?q?Ey8L2oa3K4cZIgVKgPcyeeoYNPxzFc+oaJ2DfxNNnpxbzGEx5WhXPUIQ?= =?utf-8?q?e9yAFheqaEUdVPMAnuuzhednp7BUkWBUoe/ZIGCm6FPBpkH1lUL1/003?= =?utf-8?q?MEMX8abnc67xHRRCFSBROc5WOYrfGD46Ssk2OOJj4eXO69s9R7trdvm/?= =?utf-8?q?3JoQaoz2Z3AyaIKrDaP5/+IFQxy2QW5g7jnY21vsD6xnTD6QKMPxHmr4?= =?utf-8?q?E/4gKyL+u9Y0nRzgakePQ2eGL0tVJAP6oLeMDhAO1NWBy6XSgmTg2Iu1?= =?utf-8?q?q2NhtjLW0gHWYPxC9erXPBFAaUfpGftf26QiKbKxFSh4w4mI1Z1P+Ilm?= =?utf-8?q?qaEbG7D9S9abTqMf9IYGi3XOumC6prbc5wz7J1EV/OXzGYwJs3oz2Xii?= =?utf-8?q?3LB8ZAsjQ/UMIe6Ej9S5DhLbNLx008goMQViYVAKy7Y3ktMSRTIT+hhg?= =?utf-8?q?y+VpzMliN98XeNlCgYTciPDkyhCv11tODgnnh2qsas+7izHGKilw9WiM?= =?utf-8?q?NTTutBTAtxeOmSLt0LB3XnEm1tui+i1k1nhPQsW8Luj08kk3ToUjySLU?= =?utf-8?q?X81nzP3UWLBcMf1uAPbnkkHUPwW+xv+?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: fff0c955-08a7-4630-504a-08d976b6c1d4 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:36.0516 (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: kLqsA8AC72ZUod6OB5Yk+9LTeTzcArweroJvKHtaQY/bbrVebC89m4+rpF61Ms4afPACQ+H7uqN2ilkxPZ1JUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4860 Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
staging/wfx: usual maintenance
|
expand
|
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index aff0559653bf..5f2f8900ce99 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -80,13 +80,18 @@ static void wfx_filter_beacon(struct wfx_vif *wvif, bool filter_beacon) .has_changed = 1, .no_longer = 1, .has_appeared = 1, + }, { + .ie_id = WLAN_EID_CHANNEL_SWITCH, + .has_changed = 1, + .no_longer = 1, + .has_appeared = 1, } }; if (!filter_beacon) { hif_beacon_filter_control(wvif, 0, 1); } else { - hif_set_beacon_filter_table(wvif, 3, filter_ies); + hif_set_beacon_filter_table(wvif, ARRAY_SIZE(filter_ies), filter_ies); hif_beacon_filter_control(wvif, HIF_BEACON_FILTER_ENABLE, 0); } }