Message ID | 20230807150542.247801-1-jerome.pouiller@silabs.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1629865vqr; Mon, 7 Aug 2023 11:22:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGVWTALDZx1lPhpgK1ivvvfEtyuZSmA+uLcd0o1wh6KGQxuqceqsR1x6bMWeJGz/TjCECKR X-Received: by 2002:a17:902:d511:b0:1bb:55be:e198 with SMTP id b17-20020a170902d51100b001bb55bee198mr9141004plg.0.1691432528395; Mon, 07 Aug 2023 11:22:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691432528; cv=pass; d=google.com; s=arc-20160816; b=bc7B0UUl50wq+SGierprhdYYpZxWmjTUGR0Xrq+8P6Jl4TyZgqxwfwNupTS1YKa1x2 Om1gxLgdsX3mrEGodH20MZniXy6vJ6Chorxq2F75k2ArFHlNpx433JJk+LhSpoi5TmIi KUU6y9Hc5YIQnAE4uU6pFFgM5n2lfN45M1TrCTE0EVmNIKyDNmd5N4DIVPMVDSOa7aHc G7mCwr58CpgfuHX78dvHzFq+54ylTR/S6L12oPIHrjDioXXx40Ky2uAXB/G0lKfKheX4 jJISD+pba3vhMV6Zlgi+RCxUsM64I+noP1qfHbq391PZbBzMdf33vjKwAswE7iWaeJ6b +2qA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=NNW368FJ5011+JKUDzVVojthKAEb404dVl3QoIUvwsY=; fh=JxyQ9cOxFJCXit3b6bV33e45OVX7DLo5Wt+gwsJ5HK0=; b=ho+VvfMS2qFJhU0IgyFpp29DZNnmC1Ow/8cd86ljDW9LwRqvh5i/OeqSKNkcs0Gp9W XpNKcUS7nkoKy3afa74VXjgeCCuULolRV4lSHbGVeDOkE4mJhOwoTxyHcNJJtVkpBfBH 2kjVF6UxIkXb+XW08W9n9VF3gEGOmH5jh+4ZN78sdH5cCZ59CXZxEXDmyJe49P4pNWO2 hxyeL1n+wMWP17QVvJDq4TAkBZ3HMf6d6qH1SITbEsMVQ2ME+AF+pMRovZ0Y6PCHt0B0 Yc619hOGPdjH/i7rlZPQ46x2IygEa3SzEdvyOrD04zuN2ZZ/RDJ/tIeJEJ1LrtW2l3EH BADQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@silabs.onmicrosoft.com header.s=selector2-silabs-onmicrosoft-com header.b="LUiRv/cA"; arc=pass (i=1 spf=pass spfdomain=silabs.com dkim=pass dkdomain=silabs.com dmarc=pass fromdomain=silabs.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=silabs.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lo8-20020a170903434800b001b6788a54f4si5940864plb.191.2023.08.07.11.21.54; Mon, 07 Aug 2023 11:22:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@silabs.onmicrosoft.com header.s=selector2-silabs-onmicrosoft-com header.b="LUiRv/cA"; arc=pass (i=1 spf=pass spfdomain=silabs.com dkim=pass dkdomain=silabs.com dmarc=pass fromdomain=silabs.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=silabs.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229754AbjHGPGM (ORCPT <rfc822;aaronkmseo@gmail.com> + 99 others); Mon, 7 Aug 2023 11:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjHGPGK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Aug 2023 11:06:10 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2081.outbound.protection.outlook.com [40.107.223.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DB4610DE; Mon, 7 Aug 2023 08:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fdnouJEJns/MVAEQ5nfNHDovci46JCOHkfmaZBYHFf+kSuqHRhtVJ8CjUs7D1jIfP0A6h5RdlKxer6wxejkFxzVdmj/U7qnWhgWjU0GpnsZ79fkog0zBp67+FJSbh+h5yT65W3LYlGquflPZyFgK2hE1HDT0PZiPrp43X88rs+ZS4zyjxUos+EPHhC0V6L7YhtvPmJDXAEOehw+55/RDIabkdstmRHoWJuMFpzWFj+byZ8baOfhWYs5Ymmr13Fx+tDeukptnatIGjTyc3vgm+gJLbc/EaiKtMGMFWpTHTNfY2cB0WJvJp1HDadrI0rtlWlvK/hsnBNQjHvXoE3UHKw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NNW368FJ5011+JKUDzVVojthKAEb404dVl3QoIUvwsY=; b=RmeT/u9qdUc9S7dDyoI8x/fAPYQRmBFDvFM296z2bzhMUrlS6fgceE88PQWsgeIROqaQ0la67BWoQa7s+620wIxXBPKRcc/xNrlIdTJvToPSlVC5Wirt5QPkYk5Re6WfZlcShEHT3cFMDenzwKyaXovOmwjhWb2Rtw3aDBiFsgnjfOZvpBbg6B+AwUsjGayn8TsvVFJD9lp4fOGXtzMrtS4qgPPNiaB9yMJSDdRcZMNEGdKNPIgebzn12t5LCOK0UcwG3cepi/XQDZzfOAoO8f5HripHENP8CdV1t/egO663T9WqFXsDtgk+tpJaa4RgTMpqriJvJqMiMZkXuJKTpA== 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=NNW368FJ5011+JKUDzVVojthKAEb404dVl3QoIUvwsY=; b=LUiRv/cAbNN3zWf3OKlQBAinUlra8CAPr0PJ08Zp1onfIVWgBzFsqGosZ0Z0ziWd1riejLILjXX84MogR5q6KI8YcCdkL1799AHkD/yJlmQAn+/AwuKmaWwp/+MaUYUjVcuuPtSwHk5S+EyfbAug/9xEaifFDpBiv4OOZjsP3LI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from IA1PR11MB7773.namprd11.prod.outlook.com (2603:10b6:208:3f0::21) by SN7PR11MB7590.namprd11.prod.outlook.com (2603:10b6:806:348::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.27; Mon, 7 Aug 2023 15:06:03 +0000 Received: from IA1PR11MB7773.namprd11.prod.outlook.com ([fe80::14b1:be6e:19a3:2eca]) by IA1PR11MB7773.namprd11.prod.outlook.com ([fe80::14b1:be6e:19a3:2eca%6]) with mapi id 15.20.6652.026; Mon, 7 Aug 2023 15:06:03 +0000 From: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> To: Kalle Valo <kvalo@kernel.org> Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 0/9] wfx: implement Remain On Channel Date: Mon, 7 Aug 2023 17:05:33 +0200 Message-Id: <20230807150542.247801-1-jerome.pouiller@silabs.com> X-Mailer: git-send-email 2.39.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PR0P264CA0252.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100::24) To IA1PR11MB7773.namprd11.prod.outlook.com (2603:10b6:208:3f0::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB7773:EE_|SN7PR11MB7590:EE_ X-MS-Office365-Filtering-Correlation-Id: 2cb7fffe-e928-42f7-c160-08db9757d166 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h9wPSP77EhVzFKE9XjpqKPEcao2cGtJ0bj62NCksc3Fd3GFeff4g+NaCUkHk0UBQ5Sy4cigJtYGA+VV8Npxcp6GvNAvpPs0d1DYq8vfIfdD0pQIzn7sBGUA0bGmGaLlsW5leQNL6487UAWPzSMF6ir8G6V3GClK0DQVTjbaa3cLcbnuWdeiPETR3ILTeako1w6tYWq3R8b1cCxLCKvQWQPlOffR3FnB4Br7yIqc1zymXHLwOCloDLAhjoTBZTd5tKd6S/hJKYBU2tcHZae7mr6X0UL27c6rAIZM9R/MQfmATUU7hLzWTlxmebEQ9VL03b7W5YfctwbXe/Ou4BjnNKLHe18vnI6Y0I0SQH/ig/FwmE4fWjATs5+THOE3NPmX8EjeehqA1JAwN1d1DmS9fjaZHXUi6ZaPWix1EB+9c1q5/7TadM7WIz8w7cGtzoW5BeUKUsbf+9gtwT9gtf/mgYoDztwuv3XK2+kFh8Teo+SLvo9URuAfJzN6e0+A6BIu3YyJZPYWjt65DcAO+ci9kLxFXcl2tt3pnVGVcQkA533I/dOdSol//aLtbXNBIGXIUc+W/Oz+J/ydBwu2u1NHTpg1QRH/TwA/vrtYyq/OPeEkLJVi3C5yVM/nXtNM3FqAF X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB7773.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(39850400004)(376002)(346002)(396003)(366004)(451199021)(1800799003)(186006)(2906002)(4326008)(6916009)(66556008)(66476007)(66946007)(6486002)(52116002)(6666004)(66574015)(83380400001)(5660300002)(41300700001)(8936002)(316002)(8676002)(38350700002)(38100700002)(2616005)(478600001)(36756003)(107886003)(26005)(6506007)(1076003)(86362001)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TAs7zboBaEadVBZh7Py35wSuFRSH?= =?utf-8?q?b7UMjESmuCjK0RD1yDfogO6Vcfho2RmxGd4+qnU38pVk44GCcUl9IGBmugXRVeyKe?= =?utf-8?q?4kwl9K9V9bwBNS/qE9g7fc9ZB0lEPIdP/YcTKBepoqJTSxGWFb5Rol+r951kQEX30?= =?utf-8?q?s6fOE+P3S52uDLpK/2HvGybLVhlz/yFEck6ABurqLowZ9zWxMIqm21U9fKzmF0yKE?= =?utf-8?q?JONRWNSNPtmkvpmsZtvrUvXF7sXAFzO573qSFnNSZmL+LbDQYwgKtP1XHY6bAFoWw?= =?utf-8?q?gxxsZLhLgOm2/mWh1n/fl6vgac9n+OCe43tQ4/+YSjWBCJtHiI2QCxmegheou2Sfe?= =?utf-8?q?0Z5Oa/na/zQLi1vjjLXX+MnGrtqsXHdp3x6zA1dSqtrnymECWggFELSnYeYzW/LGq?= =?utf-8?q?SMlZe3M+89I2AB7dzIa/W0UENxNv6s3P3WyeTlqtFklazXQ0NZrE0C5zkv1QU+lX/?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xSPAwK6?= =?utf-8?q?GHzW9Hrdm7aPO35OLm7ybE07uryOsOWw19Xy0UIY3yuS6psqrS4JXgMgVgFzfDQoV?= =?utf-8?q?pM82QG963CYKPztDOr3qFKC+TVE26geCoAKPsUZDZAQY/XzajtK6ll3Z1wK5VCndh?= =?utf-8?q?JtCghlgsuewEqEy90uWSN95GCKc+HHePeS8MUySN7wRlF7ru+J8T4RDPx7NeZvTBq?= =?utf-8?q?ZMBmA0O7uxSF?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2cb7fffe-e928-42f7-c160-08db9757d166 X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB7773.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2023 15:06:03.5712 (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: 9XDlF6jS9unOmyJKN1Dj8AstkAIy8CSc2VsCiPQPHxPCImzNRxdCird/Us7dnS5zKC8HquOVMeJ8Bh2tY3UJ0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7590 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773595554441782032 X-GMAIL-MSGID: 1773595554441782032 |
Series |
wfx: implement Remain On Channel
|
|
Message
Jérôme Pouiller
Aug. 7, 2023, 3:05 p.m. UTC
Hello, Apart from the 3 first patch, this series implements Remain On Channel for WF200 chips. The implementation is a bit twisted (I hijack the scan feature to implements ROC). However, it has been extensively tested with DPP/EasyConnect and I have not noticed any issue. Jérôme Pouiller (9): wifi: wfx: fix power_save setting when AP is stopped wifi: wfx: relocate wfx_rate_mask_to_hw() wifi: wfx: move wfx_skb_*() out of the header file wifi: wfx: introduce hif_scan_uniq() wifi: wfx: add placeholders for remain_on_channel feature wifi: wfx: implement wfx_remain_on_channel() wifi: wfx: allow to send frames during ROC wifi: wfx: scan_lock is global to the device wifi: wfx: fix possible lock-up between scan and Rx filters drivers/net/wireless/silabs/wfx/data_tx.c | 54 ++++++++++++++++--- drivers/net/wireless/silabs/wfx/data_tx.h | 21 ++------ drivers/net/wireless/silabs/wfx/hif_tx.c | 43 +++++++++++++++ drivers/net/wireless/silabs/wfx/hif_tx.h | 1 + drivers/net/wireless/silabs/wfx/main.c | 5 ++ drivers/net/wireless/silabs/wfx/queue.c | 38 ++++++++++--- drivers/net/wireless/silabs/wfx/queue.h | 1 + drivers/net/wireless/silabs/wfx/scan.c | 66 ++++++++++++++++++++++- drivers/net/wireless/silabs/wfx/scan.h | 6 +++ drivers/net/wireless/silabs/wfx/sta.c | 41 +++++--------- drivers/net/wireless/silabs/wfx/sta.h | 1 - drivers/net/wireless/silabs/wfx/wfx.h | 8 +-- 12 files changed, 218 insertions(+), 67 deletions(-)