From nobody Thu Feb 06 20:51:22 2025 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 4Ypq5R1bmGz5n2ZS for ; Thu, 06 Feb 2025 20:51:23 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ypq5Q4P5Qz3b76 for ; Thu, 06 Feb 2025 20:51:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738875082; 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=t+WHMMnjjQvjfzTys8an1GUOU8sfZu/tKnDs7zXUCUw=; b=vyVX89nIWoEIqv+7XcxzCud74lNTnsYiF3u+JvWIo9tIFGjWTwaDpAZ69YIfEHnfDay2SI GwkQ9RrRvnmLWS/qTkiWURUswGSlXok6DjKlx94Q0CRJf43r0lEJeyJNBVkJU1J8wdleuN K7NfMcUl/vB37iP9Cp7d9omR6kDGNSLdloUHRNa2y3vP2WvcAbpHfAWKCo5CMuYKYyjns5 nLKBDt1uHbWifEw2dPfKjJxSiaVSf+8s/ZN0Vo3TWWfNZvPI+BynD6IrJG9YnuQtAwn46B LY860f4ZzJwhV4PwbI85eAFeKctOxTr2ob62wNHtetg3RrUuDA0rGy7ht1K1iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738875082; 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=t+WHMMnjjQvjfzTys8an1GUOU8sfZu/tKnDs7zXUCUw=; b=hTt6GFvmqKvBCOmPL2j2C7krmW5ToXAtWHgpdqz6P2MGNIIc+7TNUjPTWA77CHepYouJ1e Gvbgd1L053hGNoPmQ4LTCCFST5rDVw3PKgc4zuELW6lBtKOzGmsB7sL7NfZnquOPqcBXUR dvZA/5C+v6RogOsxvXE64j1N6kfIBJhUKzB7qf/bodo8F4Rkg2tTFat/Fm0jCTT4epAJ8m zuJKmjLyjPZqgeD8IXdKezTXRo+vzbbQ5SQUn9UXJpKm+8XlkHDnTDjZKiniZMCgWuOj3j oCNNp7OojkqkG2I9/D7Z9V3OrAIeoUj1IbR3Jn7qE4Icv9zPZW74dr9hfcZOCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738875082; a=rsa-sha256; cv=none; b=BAS0WE0gYZ4RJzgjd+qfHcmI4qyXWrY5+tSagnq5ouM4QU06WPyrZ0ipHRTiZ2gtVBmfUv f806YVNCac8xMCg1PjAyfYU0gZ6QU+/36OyTpn3IrDmWUoxmFnxqwkG3ZM0oH5E8NBC2wV fbE25XRAg0uoDMcNSEkyekIFUaJmkZiZ79MQc94jK1hQ3ee403BLzP2obnxheMh9WPPWzw +ERAwnxPwLpobz8HbKVaYMRt/AUQkT9XIR9UU/Rpzmt2DQv4VQs+uyYPpXP/B/gav1pUyq rp6GNYkJCCGcZOZ3AG57168cXnvvmlTNwObWB4vOFEtCU4Nk3VT9bQAskdGffQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Ypq5Q3d4mzttr for ; Thu, 06 Feb 2025 20:51:22 +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 516KpMHh026265 for ; Thu, 6 Feb 2025 20:51:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 516KpMpH026264 for wireless@FreeBSD.org; Thu, 6 Feb 2025 20:51:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 283142] rtw88: does not connect to network [was: Error when connecting to WiFi | Invalid argument in wpa_supplicant] Date: Thu, 06 Feb 2025 20:51:22 +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: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: mfc-stable14? mfc-stable13? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-wireless@freebsd.org Sender: owner-freebsd-wireless@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283142 --- Comment #25 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfe6e275dc6f7527961ceaf7ce2912a29c= dbb00b3 commit fe6e275dc6f7527961ceaf7ce2912a29cdbb00b3 Author: Bjoern A. Zeeb AuthorDate: 2024-12-20 14:23:50 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-02-06 20:49:51 +0000 LinuxKPI 802.11 / rtw88: make packets flow again In 886653492945f we added checks for packets to only go out if the station is known to the firmware (amongst others) as there are implications in drivers. Unfortunately rtw88 does not support the mac80211 (*sta_state)() KPI but only the fallback (*sta_add/remove)() in which case the station is only added to firmware when going from AUTH to ASSOC. That means we had no chance to get authenticated anymore. PR: 283142, 274382 Fixes: 886653492945f (make sure we can send DISASSOC or DEAUTH frames) Tested by: imb protected-networks.net, oleg.nauman gmail.com Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48161 (cherry picked from commit 2372f8cc640c2f4ab82831e6ac0e27ab6c18321a) sys/compat/linuxkpi/common/src/linux_80211.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=