Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3131801rwb; Mon, 7 Aug 2023 08:41:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNMVrVgpWOoiiO88wX4OoaGBlW2wHE8InRXS26NE6YEbQLyHl27Tr83KPON1h61fOA5kem X-Received: by 2002:a17:906:54:b0:999:26d3:b815 with SMTP id 20-20020a170906005400b0099926d3b815mr10357875ejg.64.1691422910915; Mon, 07 Aug 2023 08:41:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691422910; cv=pass; d=google.com; s=arc-20160816; b=Ka4dS7F897N0bm5xPkbbEOxhlP1d8WLw74fAeQ9uf9D1ucdf7DJpG9YuIAXjSYN7H2 p7TtzFm+FYmY7NWXKnNHnx7xjshrx2zszXybBY5BLUv9xeIuwWuLMbYpcCympkBIc8Ia TwGamuRyl/PIAWrnfkUVG3uiJ28aV2LnFsXlJSBv64Cs1ebwln9HD7lIkghXuhkZ7sWz Km4h7RqAQe6MVR/goIxp6dJFIg489T4i/OV+eRnEe4tqr1nAusUL0JMhMcx4iArBeR8Y rsuO9gbCYWG6SAvCGa6vbGl5tsWLnU9LAEhbnyrXIArxzDzj/8ff4DBtIjq7N8ZL/dBI X27g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UTH5wIR+R1oRA1WM5IDcLdUhxe6B0hWxMJqCmFDulfc=; fh=JxyQ9cOxFJCXit3b6bV33e45OVX7DLo5Wt+gwsJ5HK0=; b=xFIq7MkM/0QpX9oumavtAlonW/XihuYTH9cZj9A1OtcvqZbY/jyShWFGFphcpHy/hO X+DbCeDXzKCMpzhqjQyVAhM74Yti7tbmGTCUlAzStN/KRLSmXl0m/ATMKb1bzbwgXPrA GtPWYoUF83ngetFPRB1yucOpg+Z7dugrTCyhJPtI+7YKdD+xYIKIjW2tCdYfAcVqEjNS ULMFPJY4Vx3qafpQU5FfsNYKcnJPimsSeRkECBQb+XH0H+Xta04HTsQMKaPppnEO4rUH WaoccbemE4DK9BlLLcxwKeWQJB8a8vxKGf9Q0zBtumyBhq2YcJfd2xoBePDFJVQV5fMf 2hUg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@silabs.onmicrosoft.com header.s=selector2-silabs-onmicrosoft-com header.b=jX0fJWMg; 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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=silabs.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g3-20020a170906868300b0098e1bbc3dadsi5746918ejx.656.2023.08.07.08.41.36; Mon, 07 Aug 2023 08:41:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=jX0fJWMg; 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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S230074AbjHGPGT (ORCPT + 57 others); Mon, 7 Aug 2023 11:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjHGPGN (ORCPT ); Mon, 7 Aug 2023 11:06:13 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2041.outbound.protection.outlook.com [40.107.223.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD67510DE; Mon, 7 Aug 2023 08:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l6Pxi1NoX/sePte0ctlIr6F6J8VZ+pp8U9YdoBNDP37aSSmkW4tq/wiVuC3tOLF0218Sx+FvULhTHiGrFvMY5BSEcYzL2M89NzHtA3WEiNX5DZrzJWWLcE7rqZ5G8fHV+vxSQ6KpUqbssJV+SGeEWii03gz/TrEorZ87LgP0WJM1GFNfHk67aGdwjFxwEEFaYUHE//j+tLMaNxAUr1QpouJP84oB9nMKulod/vw3D6/gEvt0H3ygI5CBz5y+HtVk4QsoTKpHfashtGp0gk1UkNkcVyHiwY+HJALRAayGf1UYAlvvmoqgVJ71x8xFuz72dmLwTMoLvNh1ZHPaJiC6SQ== 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=UTH5wIR+R1oRA1WM5IDcLdUhxe6B0hWxMJqCmFDulfc=; b=JThJTvZgxnn7W9tWPwkZNd1GWWd30ST11nD41jfcY/CeFKa73igw5LTzRLzk5lQzK3W/HHBXtDIGFYaKlo3/3LA+FiNAWJpyufaFBNw5Uhgnyj2ZTupnZHTzJlRomgrg+oZpr+UGTMLrSVKTDFrawGLqg9Qfqk0MEOLCaVVOO28khj1bc/IlCJgyD5DFf5+1V17u7D3hRc1etvupHp6ByK2SXRmpnimDGIVsKQ9XxO2k96WCbBzv7EK0MO7dFKnqJuc0h7y2nUan7KISWqWtFkgLErQgE2Ih6bkHRXkhPYerT0NvyVsU8MMNVad9aCDasndBzknGq3yBYwP8vNUqvA== 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=UTH5wIR+R1oRA1WM5IDcLdUhxe6B0hWxMJqCmFDulfc=; b=jX0fJWMgPDgLhlUhN4yG1yTrjgCSgAPSBljFWeWo+KhxAZoqgLu3UViGs6L90Hq10hiuQZRBKWGULi1fgyrsU7mhCcMLvwXr6LF/f2NunOTE1FqJN9AuLt9iLG711hmpJEcbGytftHt0pQZORM3Bkv0/lm+h2NA/oZ1GOxJEYhc= 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:09 +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:09 +0000 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= To: Kalle Valo Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= Subject: [PATCH 6/9] wifi: wfx: implement wfx_remain_on_channel() Date: Mon, 7 Aug 2023 17:05:39 +0200 Message-Id: <20230807150542.247801-7-jerome.pouiller@silabs.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230807150542.247801-1-jerome.pouiller@silabs.com> References: <20230807150542.247801-1-jerome.pouiller@silabs.com> 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: f833c409-4e72-4aa9-c87d-08db9757d49f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cJ++EnFr0GQiQQmkZ4dW4f6L9trGBrNT2YJ8dHyiAP7RIlU5Z2+GHzQAFeDgMDc5CKVPhcazuXaPmzzW5MsHsKFiNyW8BMoLlEBogsqpXWC8dkPR9Q6yTSbwUgcVsDimAHsQhrTU93ADs0HJFjlwxzXDvfyfalw4KzEyHD0DgMhM7xa7Jght+NfaFaf1//rAKb6moXk+y6BlV8TCaXil/HVWISdPWyjEGvaFDDsBkNvERgfE4CNBIanOE0jC/hUQP9nna0eCmH0MhWRrIjGOe3HfxIVKCKM+Y+9+8XT++r6qGAS38PDOMo0wpNZZ5PKvl74W9CNWyUs30og/SK5iVd/kD2/BAMdeeNq+ik8gL0sOeMf2EC7tbHTSGFXFHJy1KbBXtBLgmZ/3CU3AqxWhsB6C97jihQ9DZw/c41sk4gKuBz4/WVSetThSwR8DO4XdtQXum3xViBAUCXF/y46knV5/uah6LNOiLYomJngKO/2ASIaaj7uhMK9jGOzXUk3ZgMfViKSnFZrbIh0vD0iRpkVM6TkbhvNYDUdMyvdhTZAT6uGI5LBk/v5KcIidds9zoyWoewPeMDmnIwPN84e/xQRsV+edodR9MTiUwous5b7zwFRK63jaTSLPKYMcG2dE 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?B?azRaeEtqZS9xa3lGemtHT3RUMEZCWWxKdWtWT0orMGdEM2duL3E1d2Flc0pW?= =?utf-8?B?NEdxSzR3MVdzVTVmNVFKczhoT1U5WG5QVkdTRGtNMUdlK3dZc0RRWndrR21M?= =?utf-8?B?aE91dFBrcFprZW1RWjd3MEVFN1JPMXFvTjRxdUhwUWRZaUNVWG1JQkY5UEN5?= =?utf-8?B?UXdYL1N2Y2hacU0rNmx3c2s3cXM0b0thOVB2bkd1eENQNGtaUXZSTjV2Mi8y?= =?utf-8?B?VFhTZE9tbnNsNWtXK05COWFEOHMwQ3lYQUdQY1QwbDdnYkNHZ1NEeFVCbWtU?= =?utf-8?B?bzdpVnRNUjlkVlVIMk5ycjVQRENTWjZESmp0QjFRNVF5U0F2Z2NZQ0lFVlB3?= =?utf-8?B?NmRuTnBFZlhMUFdwSndpYno5WGNCRDBsTG0wVUdNNjVRQmV0ekt6SG9vYVoz?= =?utf-8?B?YURpbXpDRG9JSDRuVDdQU0Q0UnhvdkpNelNHcWg4d2d1Y0xkd1NCWGVMeE1G?= =?utf-8?B?Rk9vUnVlTWNqeEFJbW54UGlkWi9zaVBqbjdmMXNNdDBzM1JVSkNNRW0yMH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5ay9kM0V2NjAvaTBIZ3h5RUk0WFZp?= =?utf-8?B?ZU5SVFlDRWE0ZUZiTXNraXMvTEdocE5MaklKaTJWV1I4SlBrNFhmc2JXOEtC?= =?utf-8?B?eG1GR1d6bStTcW43cnZDaHJ0bHlibXJReWhaQ3JvR0FqTFlRa0owcEVUNFph?= =?utf-8?B?Vi9QOGJNTXhCRno0eW45WTVBVW9TMjE2dFBscFc3aENXN0ZKcTcrYjh4SmJo?= =?utf-8?B?R2lxUXhBWEhYeStXUXkxSkFySHFTRTlhTms4dXRQNjVub2xCcUF6WHM5T3Jx?= =?utf-8?B?SlJHdW52aVdPeVZkeVdIVFAxL0RUODZSdVdlTEVPRHpLQmsrMW1GRW5NTWNY?= =?utf-8?B?STIrS2dYNGRqYWhndzQxVFB5dTh2UUI1WHVYMDFZdzJLZ20zYURKMXZZVVRj?= =?utf-8?B?UDVPNldFMVprNTBXR2lxcVFqOFNmQzNQS1dzKzhuRG83Q2lDbkNEbEhxS0Ez?= =?utf-8?B?bkhidlIwK2xZbE1iWGQ5YkVORmRWNi9HNXFCV0dJYTEzKzJRdThKeDU4TW8v?= =?utf-8?B?YThTdVFBOURONkJlcExrWHF6NDh6cGhFcVdxS0dOQm1QM3BPOVdxb3ZNT1Fo?= =?utf-8?B?ckJtT2hXeUFDRnlPZ1pDTUkyMkY5WHlIenViQUpSRXFncm9kMzhIeUJia3gv?= =?utf-8?B?Y3FCSklOdWUxRUZ5Uk9NV3NXT0IrV2VxY1pucDYvbTVNY0h4QjNXbVNLNWZ1?= =?utf-8?Q?YkEpQE2V0zOJOKWN6mVs/8Kom?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: f833c409-4e72-4aa9-c87d-08db9757d49f 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:08.9535 (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: Cx8GKo0PGKLvApt3+Uqn8W7pWGQSOOqkik/92zeZod1Pbm/mt3mCOa7f41ILD8RCoR5b257B5HSGbzAHBYoWBA== 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: X-Mailing-List: linux-wireless@vger.kernel.org SW4gc29tZSBjb25kaXRpb25zLCB0aGUgZGV2aWNlIGlzIGFibGUgdG8gc2VuZC9yZWNlaXZlIGZy YW1lcyBkdXJpbmcgc2NhbgpvcGVyYXRpb24uIFNvLCBpdCBpcyBwb3NzaWJsZSB0byB1c2UgaXQg aW1wbGVtZW50IHRoZSAicmVtYWluIG9uIGNoYW5uZWwiCmZlYXR1cmU6IHdlIGp1c3QgYXNrIGZv ciBhIHBhc3NpdmUgc2NhbiAod2l0aG91dCBzZW5kaW5nIGFueSBwcm9iZSByZXF1ZXN0KQpvbiBv bmUgY2hhbm5lbC4KClRoaXMgYXJjaGl0ZWN0dXJlIGFsbG93cyB0byBsZXZlcmFnZSBzb21lIGlu dGVyZXN0aW5nIGZlYXR1cmVzOgogIC0gaWYgdGhlIGRldmljZSBpcyBBUCwgdGhlIGRldmljZSBz d2l0Y2hlcyBjaGFubmVsIGp1c3QgYWZ0ZXIgdGhlIG5leHQKICAgIGJlYWNvbiBhbmQgdGhlIGJl YWNvbnMgYXJlIHN0b3BwZWQgZHVya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