Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3131932rwb; Mon, 7 Aug 2023 08:42:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJ0TshUb9doIvxlC7UF30q7gAKBbr9OdS2hwK6KeOtXhMZDh07afBfy35hQPNfMoMYOb9E X-Received: by 2002:aa7:d690:0:b0:522:4f6d:c443 with SMTP id d16-20020aa7d690000000b005224f6dc443mr9295030edr.23.1691422920184; Mon, 07 Aug 2023 08:42:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691422920; cv=pass; d=google.com; s=arc-20160816; b=rOZsEjGpJ/avZfhmVSUfk4RIeg45b0oVT8P9x8pnKSrRpV/eMZi15AaQ10oBT98ohO OX65UixAMhiqsI3Lmbc6AWhwGkavVmZOiX2sya056Ksoa7Yf1xZi/bKnIYE3MyLDoC5W W/R5bcTY5Tesl8us0KxH+tbCwV+lTyiAxbAY1L4jc8lFKRTkS0+5+cugQe+ohtOKLjq+ yxmzTn/B7faOAwD7VO07V7FRNmgVV8V1AAwNgeX4jHFUbCITkK4MLUy8kTDnPg7GXSGW hBpaiAMFhPxUET/XWtQi6Jg9jXezqxhTT6ZaO7SQYOxnhpLlSDP/LERxPr0qmBaPEpSV J0Gg== 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=MDrcTDCa+jCrYxb+wZAdupVXskszFZLV1jIGUVLLGJ0=; fh=JxyQ9cOxFJCXit3b6bV33e45OVX7DLo5Wt+gwsJ5HK0=; b=Jgj2mXIeZk7szEV0JRMedtxppGO/7dxRHZAWDiEH5qsCLVftx/TwpCJWMCliMsQM9a gFIcOiML0mCY5h5AfsxmUVtqj5XqBJCD6oCkGUZPw4x8T/9YCve3+TTFqmtPCQvBywAm DQaTpUj1bJPQKVPmV2qwTp7Nmc4HdM35ZuuZAtGYjKlNKEdZn+UkWOlusYcACMPkrPX6 lCY3+qqs93vUyZU/okgr/KGlv6/MjVzA51IYD0syfxYnyYurEwh4z62uXFvKr1eov+EY DBjoyXnwzZc8e1jK2UBpIFOujmZkq9eFk1XoVLtnchT/iejEcGTv2C1wUfiRCwgsgq2F alSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@silabs.onmicrosoft.com header.s=selector2-silabs-onmicrosoft-com header.b="Ph0maI/e"; 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 d24-20020a056402079800b005222007595fsi4644777edy.87.2023.08.07.08.41.46; Mon, 07 Aug 2023 08:42:00 -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="Ph0maI/e"; 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 S230214AbjHGPGW (ORCPT + 57 others); Mon, 7 Aug 2023 11:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbjHGPGP (ORCPT ); Mon, 7 Aug 2023 11:06:15 -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 B37A510FC; Mon, 7 Aug 2023 08:06:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eKBNjga4HVA4tynnwwL9JnOpAZEvz/dzHZ+DeN0GcUZhuyr5fklGVJAyL1oG0Jw1MNW6sGlEd0L6b4pMRxKUjKLzM7A1PRRU3VIEq2QEmJcdavfRdpW64dLyv40gCD2Z3C0OIGMBoXaOWogseug+MXJgW9SoN0KkImaJtXDViDuu6Ot/jyFWl7OFsIr3/5+cQmqHk077W71m0fn7NOoHPNYjMyFsbd2MLokcukwuDrxXlYAz0plDQYlmhKUajhf9w6cpMGcNoltBK3YhlAdCkDyqbsPo+2QF2imvaFBwg4n6SypKs3oZM+5RSRX1tSaBoB+9F/Fa7c1yn4BBX+XkWg== 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=MDrcTDCa+jCrYxb+wZAdupVXskszFZLV1jIGUVLLGJ0=; b=jSWM5HDrhUTVulRmFkuWFj+zQ1rC5RzuFXTZbV51CbmvTnahd/Gk9HIZ837U+iG1Gq7YLufDksqdPPA5GBmCK+R+bjJfSwX/glD6TMYgMolRukab3OwzBLrxmDTVvBKxEfDs5ZDQjDYzkBUU0N8IcuY6yKFav0dmUOisadPBYrUIdn1OyktbuvCLODmlJgQ9gjHKp2LUA4ehMQS+9oG5lSUYtVqGbMfXZGUl564R7NjQDMd8/WskCbhu0ArB/cHSHrUL7wSzY9abIDFnCSVrJGGjo8DUKcEwy8IRFZ/W0S6Yo0p0KMqpZGeUwmpDlTW/pqjcgk+aLGWTEpk0CpuRdQ== 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=MDrcTDCa+jCrYxb+wZAdupVXskszFZLV1jIGUVLLGJ0=; b=Ph0maI/en1X6MB1k4nX0Ba0PqhdmEIeTNPoA5VmjB7qzo6MGVvUxhfn8KIFtVLJgFD4NcwedcaX5T8r9pBkb0zEx+mFMTlXy66ggB8hVlIkpqUgKiLqTz+8FcCzVYp84lyRMwS+T0nwbjlnkqsQs2RhgC5Qf2yRWJENy28ge/Lg= 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:10 +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:10 +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 8/9] wifi: wfx: scan_lock is global to the device Date: Mon, 7 Aug 2023 17:05:41 +0200 Message-Id: <20230807150542.247801-9-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: 02b9e598-f85f-4b36-9cf4-08db9757d5af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PpLRvLpvUTQyX9kyV1yT0jtOAeIgXZXTkOvLVNbx4/xw++OpS4GbyAvEOCJ3nOKjF8eKD5RoRdx+jJvMCBYd+UUSF5iVfvxCyqcp0bSp/tepQ27sjZ+P3jQDqdw7/BtxQKHMrfJFc0oDdISlcevcHWTbQPivXp60/IIgVsaPg/GQ0MSmAYP5Il+x5mPPL7RtJ5vJVF9R3qPKGEzfAKe+OdS1fH7peW9QUTEfdztRaapJk0TB7eWbbl9360KVs+LhjMJIzNTK8nE2e7Ch2LERteE3q1Um1IePNWs1uDB9A5sn7asYV+DWGmX4zw30iidePPzowud6goHAlPI5Y1Letk4Il4Rla1CxRu4GAdbY4nbdJYnsthBR0o0RYrMZeitH/CforgrAaawyNH2jCacOrjgiNklAyaIgMMawrs1x5oWD71mlUd026h8lO8DwQljpjPJ68KkyIkwIjF1CKx5CZVuQkl1zOHUKPUua4O2zMZmZFqqtpBsjDBJW7D/f+v/MHNb/8y8cDdWB+ZqNWEb6BV4dsvdW0UmBeCdCTIkjbgFC7+pky2P6QkZntWeFq881vprvJRdgadVO0EA484FuNo1nCfl3sg99j4V+El/gEeTtHyUrmjZqmJipIb9U4nIf 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?R1d3Z2RMaTFLa25Hdys0TFljSXQvZThjQlZFQWpWVUdYTEZqbzdvOVpkeUUz?= =?utf-8?B?ZDNOTkU1eWhEVVNkT0V5UFFMMFA5bVRnVVpzVjljVnh0cWttUjNSbVljdENw?= =?utf-8?B?UExtRWluWEs1WjNZR1h1SmpEYlJibGVoZjJIUWFMbU5iWXdHRzYrVEZwN0Q5?= =?utf-8?B?QTcrV2M0SHRzTTUwYTNheEl1eUVFK29FczRWWG85WURxT2RuVUQzZ0gxMmNx?= =?utf-8?B?Nml5YVJjRlZOM284c3dQUzVDNGp3NHc2N2Vjb1JDeURJT3VTTUowdzdqSity?= =?utf-8?B?Mld4SFBDdzVZS0JqMTYxV05iMFROYnpIRkdVT2dmMmx3K0dmNHNSNUxoM3Fh?= =?utf-8?B?U1FoQ2orLy9lWE5nTmZ1YWpaRGFqRXhWOWtqOStjbmRsSjBubWxLWHNGMFhV?= =?utf-8?B?SzIwakY5NE1EMDVTakxibEM1bVlWK09FaXgrWjlaUUxVVU13SkJYUVdHSWw3?= =?utf-8?B?QnJvQmtUVEwxK3kwT1dlN1RmdHpuTmF5RWxLYmY3QyswTU5palJlbHA1eFhQ?= =?utf-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Wll2dHZNTG40?= =?utf-8?B?SDIxd3RXQ1l6YWdKSTBONWxXMHd5NzlDRmVZbDJCekJTVWxlOEV6bDZzVHVt?= =?utf-8?B?UWwxeTByV1VFUWROVDJUZHpjVFJSMzlxbUpta0d4SytZc2NKWCsxeEZQeWpp?= =?utf-8?B?ZW1ySy9nRkY5YUNiSFpMNEpPZjdxQWpPK2FSeUYzMWllaXJmZk1JWWFLSVJM?= =?utf-8?B?UGt5RklMVUdmcmh0eldLMDZpcVRoSVZkWkF2bk1OMDMzMDF4VDA5MENZR3hy?= =?utf-8?B?N0dJVnZpc0UycE50b1dZRnlESm9rME14cWZNaEduS1pnTmh0MkpCTHBwbmZZ?= =?utf-8?B?SlRRNUhzcjRVRjJWQXVYZkVmNHQybGM1NmN3MGVVaVJNYjB1aG9FUFIrN3pu?= =?utf-8?B?NDdjbEtseVpaaW9FUldoQi9rRndEa2ZZbWZlbXIxMXVvUkhDK0JqSHRzb1Bm?= =?utf-8?B?QnBaRXMrUlZ4TU5jbUtCd0RYUUVZV1k4bFJ1KzBlczBVSkJCNnM5ZVZiTXBC?= =?utf-8?B?SThKa05jdGdEY3NsK2t1K1lVYXUyZ0lCaWJCaVZkWVE1dWNWMmZEZHNpdUQ1?= =?utf-8?B?T2hEVWQ1YVh1NlYvck0zUjd3THp4UDlGSUlBWmM2R3JkZWl6cnQ4UGdkeUpB?= =?utf-8?B?aXVhL3BTSHdUVWlvc1k2TEd5TDAyNWpUbGNyeTRTbHVTQVJiSlZzRWJmTXdF?= =?utf-8?Q?BKMyA69/sGelpM+tbVEIUYpNc?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02b9e598-f85f-4b36-9cf4-08db9757d5af 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:10.7015 (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: 8TwZ7M5F94by+UT3w0bAJ799s0+I+trPM8AZLkYJDaVLGk3NgPDH8npv7+W4Rg5BzNqACKxN3QFu3A5IQZZKcg== 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 Q3VycmVudGx5LCBvbmUgc2Nhbl9sb2NrIGlzIGFzc29jaWF0ZWQgdG8gZWFjaCB2aWYuIEhvd2V2 ZXIsIGNvbmN1cnJlbnQKc2NhbiBvbiB2aWZzIGlzIGV4cGxpY2l0bHkgcHJvaGliaXRlZCBieSB0 aGUgZGV2aWNlLiBDdXJyZW50bHksIHNjYW5fbG9jawppcyBhc3NvY2lhdGVkIHdpdGggY29uZl9t dXRleCB0aGF0IGVuc3VyZSB0aGF0IGNvbmN1cnJlbnQgc2NhbiBvbiB2aWZzCmNhbm5vdCBoYXBw ZW4uCgpJbiB0aGUgb25seSBjYXNlIHdoZXJlIGNvbmZfbXV0ZXggaXMgbm90IGFzc29jaWF0ZWQg dG8gc2Nhbl9sb2NrLCB0aGUKc2Nhbl9sb2NrIGlzIHRlc3RlZCBvbiBhbGwgaW50ZXJmYWNlcy4K ClNob3J0LCB0aGlzIHBhdGNoIHJlbG9jYXRlcyBzY2FuX2xvY2sgdG8gdGhlIGRldmljZSBhbmQg c2ltcGxpZnkgdGhlIGNvZGUuCgpTa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