Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp940405rdb; Fri, 1 Dec 2023 02:50:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEU6+Jk2HzOobIa8IjlPRiVfWE0kCEW31/FGAMr6qaZyJGQn/7e0PmwC0N3pVTmHn+hPga X-Received: by 2002:a05:622a:3ca:b0:423:6fb3:9bbf with SMTP id k10-20020a05622a03ca00b004236fb39bbfmr25291916qtx.24.1701427819209; Fri, 01 Dec 2023 02:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701427819; cv=none; d=google.com; s=arc-20160816; b=asg90dfSmSdJIRCd/Q3cQWui0N1ihgvL5aMQW0j3xGCF1JU52tToZ4+ugQatb0rhrx aq/yIOI7bhpz1t/WdOIyTtHXdHNOPgpJ+6oUpOVLrs7+Pw+znljF2Zn9xrJALpw8Y8Xc ZAGOnx3Tqzx6yhLuoEB5cpdYWDKw7YeT0oMTALh2EPV3+E4yOuNiuKi7kPq92DSUY429 vNEbGAiFuSDxliUVbzPlXOqMDqvqX01FEMFweeN71S3AFzOoUadluZil6HegMryRkIlo 81W/kknvTjaVSWXmI5fWHBcauAmxJwlDZ3PSqJJC9N0ILGtfsrguegS+0zyvJICs1azn g/Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=pbT5nVlbtaNJWk3OFp9TIwvQcdjuEvfIwGplFvit318=; fh=zyMz5ffET9Q5e9uE3l6iFXueVSeFXlgMCIM12CB4la4=; b=BTPgH++mWXyFOysCrssI/su2lew2rVrBnmhwdPCq2+rq5K3jiooSrK+CTy64SbuAtc MMT8FIsWYIQCBs8xJgym6P69uYoUpGSai+if21g6P9M6FhiW17sFUgUcwrXDOHl+wiAV Fft/anAq4Cvv+t0XEwpZKcAasEsXbSb404fwa+oth0hGMDVym/tib+cFsGi4tIfh+2vP RiLjL+UWz+QBdycGgUYzaNpCW6pTKC0q1xrBw4Ep7J1PE5DujnzcS2nBj0jG2gR7RZmf gQo9ATvePrha/MIkNW1PA3H+QbHWkF2eYTarhMj6zVGpYzBBje3to2YzzclhyFITrz/5 8NYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=pMAoUiWr; spf=pass (google.com: domain of linux-wireless+bounces-286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w6-20020ac84d06000000b0042393f0e127si2821276qtv.536.2023.12.01.02.50.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 02:50:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=pMAoUiWr; spf=pass (google.com: domain of linux-wireless+bounces-286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EEE4F1C20FB7 for ; Fri, 1 Dec 2023 10:50:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC97B208A9; Fri, 1 Dec 2023 10:50:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="pMAoUiWr" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1AD310F9; Fri, 1 Dec 2023 02:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=pbT5nVlbtaNJWk3OFp9TIwvQcdjuEvfIwGplFvit318=; t=1701427796; x=1702637396; b=pMAoUiWruuvQdziTHxdO+1Z1872yiUxSW0pv7sgaO1OQZJk dPiTL1R8XhXUWxtbIncaqjTlhrggCJEu9EtS/lwocvpzGenfMDAlXAV1lJSzxz868RV/5ITk78khG Ax3/u87LIzaF1bmN7yty6fsaKUnVdrFPN5vfAHSWuEro7wjJGp2JxsiGKUtJvCXzLyQc9IMNCQoUD ucyVxgs2ucyYh9JzzcloH02nx8d9kEPfhrqtVEHePz+2b2yg8+vF/Y88/UvLNeSvfZvZCX47XWMAG NeMfhQRVQSxsNA1oE62MmB7JKhfk4MBI8tR1Ex3gy5okdxuhWz0pzaS6v8KVAMXA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1r915m-0000000BBjV-2QKF; Fri, 01 Dec 2023 11:49:54 +0100 From: Johannes Berg To: linux-wireless@vger.kernel.org Cc: hostap@lists.infradead.org, netdev@vger.kernel.org Subject: [PATCH wpa_supplicant 0/2] wpa_supplicant: wait for carrier race Date: Fri, 1 Dec 2023 11:49:07 +0100 Message-ID: <20231201104952.26254-4-johannes@sipsolutions.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <346b21d87c69f817ea3c37caceb34f1f56255884.camel@sipsolutions.net> References: <346b21d87c69f817ea3c37caceb34f1f56255884.camel@sipsolutions.net> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This is the userspace part, waiting for the carrier up count to reach the value indicated in an event before processing it, so that after the event processing we can be sure that everything is A-OK for TX. johannes