Message ID | 20230927163257.568496-1-jerome.pouiller@silabs.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2883337vqu; Wed, 27 Sep 2023 13:28:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHngdRskvA4BGGZQv1ZkC47rbbV7jH4xnlKlrZuQe/1bEEE3UPDbhbSCabPvR4NhoHozP1X X-Received: by 2002:a17:902:e84a:b0:1bc:5924:2da2 with SMTP id t10-20020a170902e84a00b001bc59242da2mr3548325plg.56.1695846483503; Wed, 27 Sep 2023 13:28:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695846483; cv=pass; d=google.com; s=arc-20160816; b=QYMIOE1hsRoncrQC3EKmOi89pexyLDxAPx/A+2B8fDrcfSXmNYU5KKaDpU8Wwi+UvY hynhZPtZDQGXyOLtgT8Uu3F8+8fdJyUf2MjDVp4GcTaqwFxdN4wgUDc3FvNJu2M3M4OF tfC/5pglS5kavlBtBT6uBGOTLqdOViox/zv+zsImJDq8vMcT4UH9Eioqh1alURP9g0Ri TdX+4wYWfEWOWFviscNRUW//zZVRxGGvvoidUMFUOgqh4Zr6vs4esdPmf4z+7UnSixAb AEqwRM7JgPLk18z+FLgW1rW3fisLf5/OiziNP7nIbCgWaJ4iRevR9pP3Lfi8uPRtEI4b N8nQ== 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=0O3aoUMpC3fOxfGnIjg/XtUawwJH9IjE/KCIA9Tmdgg=; fh=l0GbbulFVEGIByrdVk2PDAYC0467jisoj0AJEvNmoTE=; b=v2drS8/TJ4NBS2VmKxNAsye9HpZZ8bciAvWyVo4IDGduthvazJZNKCVH35V6U9tX4h M9n3Rb8X5BMX4KksGqExKjlzF/a7wqpJv3pAv92xAhhnSrydGuyK4akQ+llxRGMGMpiG 3QcotH0QwU4OuqUbVaDTG9DDU+vFjjY7KZXZ0FWdyZW39yqmsBF3u8qDxKNW8ao5F9Rc 4N6/AOyr4bHOpH0KhW63fj8VTeNMTzmnYwlFfl08AZYWFBoqbOY1miiIjWZ9D7nsPMkq RBC0yd6K2QhkB8DBADtTP8S4/odHbm0mJKxHFQ8T8n4LfzhjTdmUu1vBOoXGxhP30p4q Rl2g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@silabs.onmicrosoft.com header.s=selector2-silabs-onmicrosoft-com header.b="nGkrL/uh"; 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 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id km3-20020a17090327c300b001c35864fdbbsi14983135plb.406.2023.09.27.13.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 13:28:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@silabs.onmicrosoft.com header.s=selector2-silabs-onmicrosoft-com header.b="nGkrL/uh"; 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 23.128.96.34 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B9A6680612B7; Wed, 27 Sep 2023 09:33:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231809AbjI0Qd0 (ORCPT <rfc822;ruipengqi7@gmail.com> + 19 others); Wed, 27 Sep 2023 12:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjI0QdY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 27 Sep 2023 12:33:24 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2088.outbound.protection.outlook.com [40.107.237.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E1FD9C; Wed, 27 Sep 2023 09:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kuWI9NtsmbxqFHgeVukhslNPhb3sLH/ohnIpvt/efjDGRMZbHhLoBjj/BVd5ExfWYRKp3fF92vW+BNd/Z4OcHKT5GGdLFxAAOR7yYBhPIfzYdLhG69p+n43cLDYF4vEk/055F5sdgqETgXXK9NYNYoS0+XkU63Kye7pYjgJqishya4wqe0+boYGhn7va7q6k6wRaffJm+6hN1XjJ88Mf0LvAVgVQ8QUGhfztKhB7X1c7oAjndbW3wHKbtr9ATz+uKnKd0LIc3ZREn8EX0jist5EgCicnVb8+IjUmyzc9mEdesm9IN0KbcEtMn7Zc6m0VxEERqoaSKOiz2zzFLCoSQg== 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=0O3aoUMpC3fOxfGnIjg/XtUawwJH9IjE/KCIA9Tmdgg=; b=ZG1ubZJFRoPUe/V8vlAxqw/q7ael5l6pv7R14nlULQOKefYu7VerZPScmcyZpPdykx5C74hlv0OTJBU8516WtWUjQFW5wTZiXVbk7lHto6Lv+k7dbXg+xtG6CBb9cJdgjYYOiqZ82fopsanf3vCRaTBww7mle9cQ/b1YDJIRVrWxegWav0gNCJxPoq1EcsI7i7r9loFmQVOfKOXbdZqo7eI5vz8kwmGl9nJTESWvgYd4UEdGC3L3tJhiV3ryTyd6kQAFzAUlYfMIEZXuKAsb35JTKyB51Qo/hZ5AOesYSkw+/spufFcxFoTP8PLrueutIYYXdY79VuTsO78lmx+ohw== 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=0O3aoUMpC3fOxfGnIjg/XtUawwJH9IjE/KCIA9Tmdgg=; b=nGkrL/uhTnrsW2nz3j123konoOG2XbE4TeLvZEY00xuttHAZGoy/GYrB4vpyAA81V6DVAD0XjTqRM1yrPqLLFe2hAcNJ56DsKOu1Cbm71vGzo0m8JoIZdi/HqPiRBKolvVUVq6N/Ymb53K31pg6pZ/y7fj+O6KvPuJZ0PMQxXuY= 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 CO1PR11MB5041.namprd11.prod.outlook.com (2603:10b6:303:90::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Wed, 27 Sep 2023 16:33:17 +0000 Received: from IA1PR11MB7773.namprd11.prod.outlook.com ([fe80::d6c8:4cb6:2594:d8f3]) by IA1PR11MB7773.namprd11.prod.outlook.com ([fe80::d6c8:4cb6:2594:d8f3%4]) with mapi id 15.20.6813.027; Wed, 27 Sep 2023 16:33:16 +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 v2 0/9] wfx: implement Remain On Channel Date: Wed, 27 Sep 2023 18:32:48 +0200 Message-Id: <20230927163257.568496-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: DS7PR06CA0052.namprd06.prod.outlook.com (2603:10b6:8:54::30) To IA1PR11MB7773.namprd11.prod.outlook.com (2603:10b6:208:3f0::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR11MB7773:EE_|CO1PR11MB5041:EE_ X-MS-Office365-Filtering-Correlation-Id: 28ff285d-47b7-4092-cfcd-08dbbf7773a6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nesa2XcywEmG0IbEbtIdOn1gHvotVo29+ec/jXvUQPnCdmbcEn47qQTHtocRQzEHawyv2bXKIQOdAitD56RSfx+rxGndtiU5WlfSM8qUNcz1SVXf4EokFMWRcvve25ijEv9Fue1uDL4+Vpt5h04kQD5RQuqfRNvuFJdA3qXK1nlAbCehNpW+LWzcDE+Ib+UHOuWZ7LNngIktgfvVj5Ulsoroj2NUAH1lk8VxBwCCVPbjHCyHACufDp6yS/K5it2splQYWOaBLQQ18BIGeDxKrDAUc80+2DVXv60maN72bWKr5dH7pfhDiyAAgW1ulZTXkwJhhEDxJUtXU3AyVFKJtKCqX0JO2bL8NSv8Xg/vqWzafFqqbatxMklwZT2fhy3PVnevZcpDfcBfeYb2iH7DGaPu/NZQRGDJKTRzp7ATPQM2prerLqMvnLv4LEzCECNdOU5l/8xG43y8Gdi0sTFg4L2NzkFT6QIvui49OrctQBW82Dry2w8l1i5oBrCLDD+UknQxqwVAO2IY5F43MPwVn0X/Fknv2cpfLlX5nzFeuzmYefTQjxH49LIVCw1X6uD6 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:(13230031)(376002)(136003)(346002)(39850400004)(396003)(366004)(230922051799003)(1800799009)(186009)(451199024)(6506007)(107886003)(66574015)(66556008)(66476007)(6666004)(1076003)(86362001)(6486002)(52116002)(6512007)(478600001)(38100700002)(2906002)(83380400001)(5660300002)(316002)(6916009)(36756003)(8936002)(8676002)(2616005)(66946007)(4326008)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?POFgVzZ44ZlYTns9xtxNru6ozJA6?= =?utf-8?q?Tp2EPz9dkANItUMQS9UEpCmpMAc8cW+S4+UzZEMHC2SD6GDJM1J9vXyvLC8MOpoT1?= =?utf-8?q?jw3aYWHlZJGoWexhtGEeBddD224PSet3SeCYzMqxsgjW3IZ57igE2rrfl9KeYp7jF?= =?utf-8?q?O7eC+Jbd0Bv4MWzYmOGN9IlrU7MfjHxZVIlyk/e1tyTvcWFL9NZAhTlTSTLD5pLjc?= =?utf-8?q?qbPLFQ6m1OiJoX5PqwLdKf9zB7EnCnPMd3jWV2MRCB4otqbkNBzUc+GKgljv2zRPb?= =?utf-8?q?VHU1lsHroSYf2SSKfLBe7qzJkuJ7rpUr4574VJ7Qir/U+j2rY8XgpWM4LaRPmyxqr?= =?utf-8?q?gSAWJ/8Ud8X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1v5zW0Pfb87bX846vMgrNK2qYtmaYYD26cnhkW8XU9uaE1ltEBLu62pVG5Ptv?= =?utf-8?q?6LH97X2eMBdRjdHNflnfN9FKjPTUbDTc6/JA7h1fg6/ghh2xGgslnHdsqDB6C0zYt?= =?utf-8?q?Th4Za4ZnjTQW/fhyZ0oVo1u9pgacWbW018/UAPC44kmMVWqTATTDjXuEsAAQ3hFpV?= =?utf-8?q?mLtW8Mlu3qVbDMdvhh31cZNVsEP+MKtkdiQgev2u3RVOj19Zou1Avh6PXOuyCsMz/?= =?utf-8?q?HObNR0NDOpfyp5vhsvpek8myMyPEyqlMpqhEetupRRKcXl/BFrJvSghBW3CBYrbCY?= =?utf-8?q?VYubN3AXjx9mGpDykx7izprJkSCPZyKRTMYd0o2wESfajOFHqrgVO8nDIu9Ts/9jY?= =?utf-8?q?S9whOw1CHMG?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28ff285d-47b7-4092-cfcd-08dbbf7773a6 X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB7773.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2023 16:33:16.7880 (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: 9ofdI3Tshx5pYf7N7sqG1s8zjB9Fj+RYZPuWmerlg7VARIJL1pBL7b5hvezq37PaTfPZTJAPm81JLJus1s3ZWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5041 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 09:33:34 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778223922549423684 X-GMAIL-MSGID: 1778223922549423684 |
Series |
wfx: implement Remain On Channel
|
|
Message
Jérôme Pouiller
Sept. 27, 2023, 4:32 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. v2: - Rebase on last stable tree 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(-)