From nobody Thu Jun 9 05:48:26 2022 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0F87B832132 for ; Thu, 9 Jun 2022 05:48:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJY6f5Jjjz3pg5 for ; Thu, 9 Jun 2022 05:48:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 93D4E1E44F for ; Thu, 9 Jun 2022 05:48:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2595mQrT086646 for ; Thu, 9 Jun 2022 05:48:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2595mQYV086645 for wireless@FreeBSD.org; Thu, 9 Jun 2022 05:48:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 264238] WiFi stops working after upgrade from 13.0 to 13.1, AR9285 (wpa_supplicant) Date: Thu, 09 Jun 2022 05:48:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: releng@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654753706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5DLon2nSXfSdT7shxy9s/Ssj7sizTiqO6JsfHNnhXzU=; b=hGRvGy6SoPfMNv2h/fKkIhVgmYEh7VrYIEIHMApPo2HnJn8m8Frf+VjRjn/QB+Ag6pzBre T3Y/TVzesUOMixKxFfolFNKtC7+T7hWs3qPLcn37cVO2pUrhTbQvQqqHyZoDS6Dvod/nGS A5Z6fTThbzfvsu9tkO3rqMzL5VyIj3WMLRh2L8YEl26evjE/IGt43mwMHh6awob1dpOnIW Fv/CZ8i7UQMo5ErNnkJxZJXFBjHDFxVpVSoQHdYg5yV02/QBzZ6xKp6ig1SdaELBJy0dNE UYs/1NeWG9XUuv6znD4xmx+PagsLj50G1fWy2SRG7UX6nYJ8kC4OC1SQgohQPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654753706; a=rsa-sha256; cv=none; b=bXMkqS8hHo8PpTxX99PiDrdiXKlLRj6qLZZ0b+ulrJtuj0U5PLlKJjXbLyxkUIc4u1JEbv nNT5P62ybPkX+KawZrdK2+6Zah3laWAPR6Q8IxgPurEgh377YicaSGpK8OwPgHIjtyw/EH kHW9a/rghwkewn4TXFrZ3yjklX3o0TVNI3QgY8ODI9imF9rdzOVYYk/gCqsdYlttSZgi6Z zbX+qeFW7deeIwTDX2jENYC4Kxi7UuSEGrh1Z9XMvLEUyMaQgloojb8DzAvsXDQ0dRMhAH jXfcDX2RbtzBZZ/M9fg12xBDctgXGj6oqZIbttq7gsgqfYMj7W4zuURuNRh9Hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264238 Cy Schubert changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|cy@FreeBSD.org |releng@FreeBSD.org --- Comment #45 from Cy Schubert --- (In reply to Jaskie from comment #44) Excellent! Thank you for verifying this. I'll ask re@ (by assigning the PR to re@) if they can merge the two patches from stable/13 into releng/13.1, and publish an errata. This patch didn't q= uite make it into releng/13.1. The two patches fix a multitude of problems in wpa_supplicant and hostapd because a legitimate zero bytes returned can be confused with an error resulting in zero bytes returned. pcap_next_ex() solves this for us by returning the return code separately from the bytes returned whereas pcap_next() results in a confusing result. The other alternative would be to use the security/wpa_supplicant port. It includes the patch. BTW, you should only need to do a git apply against the patch. Then cd /usr/src/usr.sbin/wpa. Then make obj; make depend; make includes; make; make install. re@, would it be possible to publish an errata for this? --=20 You are receiving this mail because: You are on the CC list for the bug.=