From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 17 Oct 2025 10:23:43 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v9fkV-008ksI-1S for lore@lore.pengutronix.de; Fri, 17 Oct 2025 10:23:43 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1v9fkU-0000kI-TM; Fri, 17 Oct 2025 10:23:42 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1v9fhX-0004XP-SG; Fri, 17 Oct 2025 10:20:39 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v9fhX-0041ln-1k; Fri, 17 Oct 2025 10:20:39 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1v9fhX-0000000D3UI-23pz; Fri, 17 Oct 2025 10:20:39 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 17 Oct 2025 10:20:39 +0200 Message-ID: <20251017082039.3111663-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251010095934.1500534-2-s.pueschel@pengutronix.de> References: <20251010095934.1500534-2-s.pueschel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] wpa_supplicant: version bump 2.10 -> 2.11 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Sven=20P=C3=BCschel?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as a00eb6fe56999cad8560b0f0bf016559d922b773. Michael [sent from post-receive hook] On Fri, 17 Oct 2025 10:20:39 +0200, Sven Püschel wrote: > Added a revert patch to fix potential WiFi problems on Rasberry PIs and > other devices using the hardware. > > Signed-off-by: Sven Püschel > Message-Id: <20251010095934.1500534-2-s.pueschel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/patches/wpa_supplicant-2.11/0001-Revert-Mark-authorization-completed-on-driver-indica.patch b/patches/wpa_supplicant-2.11/0001-Revert-Mark-authorization-completed-on-driver-indica.patch > new file mode 100644 > index 000000000000..3c0fa4e52270 > --- /dev/null > +++ b/patches/wpa_supplicant-2.11/0001-Revert-Mark-authorization-completed-on-driver-indica.patch > @@ -0,0 +1,56 @@ > +From: =?UTF-8?q?Sven=20P=C3=BCschel?= > +Date: Thu, 5 Dec 2024 17:19:25 +0100 > +Subject: [PATCH] Revert "Mark authorization completed on driver indication > + during 4-way HS offload" > +MIME-Version: 1.0 > +Content-Type: text/plain; charset=UTF-8 > +Content-Transfer-Encoding: 8bit > + > +This patch causes WiFi problems in combination with the upstream brcmfmac > +driver. Prominently this affects the WiFi on Raspberry PIs. See also [1]. > + > +[1] https://lists.infradead.org/pipermail/hostap/2024-August/042936.html > + > +This reverts commit 41638606054a09867fe3f9a2b5523aa4678cbfa5. > + > +Signed-off-by: Sven Püschel > +--- > + wpa_supplicant/events.c | 25 ++++++++----------------- > + 1 file changed, 8 insertions(+), 17 deletions(-) > + > +diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c > +index 49917f7aaf72..bbb3a3edae7d 100644 > +--- a/wpa_supplicant/events.c > ++++ b/wpa_supplicant/events.c > +@@ -4327,23 +4327,14 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s, > + eapol_sm_notify_eap_success(wpa_s->eapol, true); > + } else if ((wpa_s->drv_flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_PSK) && > + wpa_key_mgmt_wpa_psk(wpa_s->key_mgmt)) { > +- if (already_authorized) { > +- /* > +- * We are done; the driver will take care of RSN 4-way > +- * handshake. > +- */ > +- wpa_supplicant_cancel_auth_timeout(wpa_s); > +- wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); > +- eapol_sm_notify_portValid(wpa_s->eapol, true); > +- eapol_sm_notify_eap_success(wpa_s->eapol, true); > +- } else { > +- /* Update port, WPA_COMPLETED state from the > +- * EVENT_PORT_AUTHORIZED handler when the driver is done > +- * with the 4-way handshake. > +- */ > +- wpa_msg(wpa_s, MSG_DEBUG, > +- "ASSOC INFO: wait for driver port authorized indication"); > +- } > ++ /* > ++ * We are done; the driver will take care of RSN 4-way > ++ * handshake. > ++ */ > ++ wpa_supplicant_cancel_auth_timeout(wpa_s); > ++ wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); > ++ eapol_sm_notify_portValid(wpa_s->eapol, true); > ++ eapol_sm_notify_eap_success(wpa_s->eapol, true); > + } else if ((wpa_s->drv_flags & WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X) && > + wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) { > + /* > diff --git a/patches/wpa_supplicant-2.11/series b/patches/wpa_supplicant-2.11/series > new file mode 100644 > index 000000000000..f91fcbdd4e29 > --- /dev/null > +++ b/patches/wpa_supplicant-2.11/series > @@ -0,0 +1,4 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-Revert-Mark-authorization-completed-on-driver-indica.patch > +# a0d07b52ada50d5a9ee5d62918484ad8 - git-ptx-patches magic > diff --git a/rules/wpa_supplicant.make b/rules/wpa_supplicant.make > index 644df4fcb7f7..87ec53605c70 100644 > --- a/rules/wpa_supplicant.make > +++ b/rules/wpa_supplicant.make > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_WPA_SUPPLICANT) += wpa_supplicant > # Paths and names > # > WPA_SUPPLICANT_NAME := wpa_supplicant > -WPA_SUPPLICANT_VERSION := 2.10 > -WPA_SUPPLICANT_MD5 := d26797fcb002898d4ee989179346e1cc > +WPA_SUPPLICANT_VERSION := 2.11 > +WPA_SUPPLICANT_MD5 := 72a4a00eddb7a499a58113c3361ab094 > WPA_SUPPLICANT := $(WPA_SUPPLICANT_NAME)-$(WPA_SUPPLICANT_VERSION) > WPA_SUPPLICANT_SUFFIX := tar.gz > WPA_SUPPLICANT_URL := https://w1.fi/releases/$(WPA_SUPPLICANT).$(WPA_SUPPLICANT_SUFFIX)