From nobody Wed Jan 22 21:48:25 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 4Ydd4J09b7z5l6hN for ; Wed, 22 Jan 2025 21:48:32 +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 4Ydd4H6X99z3Slk for ; Wed, 22 Jan 2025 21:48:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737582511; 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=tcJOGkjwtYaBBm/3M6a6XbSO89WqA48kS+DOagmvl0s=; b=LpKWI2TVGQYVzFoQO+jJJJafRJHDPY95ZCiLjsp/G5mJmxdatJW8/58t82UWD/n6ENSY4+ A1hIleZ46SPJuAAXkb77OltVcyYsRaRF2Ddfs2CgQTnHHojUkmrsz+hZHWIqdyPA28sLTe ZTUhBm5UF1jj17eep3sMYioCDgr35zz72dtwuf9U0y0eaLhl8XKwmqS6nmXvX21/dtZH6B qVDUD2+yBv9bs/wMT0rj5JdbAotTQWkPQUggei0EXTdCinREbz4gSJsBNcOtaNxZW3gupp 7UCuA/CSlqFp3My70uT7IGl/Q5/yk30hTpxjhTGpka0MHLyjOfIZhYg5aqouYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737582511; 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=tcJOGkjwtYaBBm/3M6a6XbSO89WqA48kS+DOagmvl0s=; b=c7yN9ZoCdWNRBZdIlsICFW2DU2CgoYfTBOJ9/zWXUaEFfSK1jKRkpJSe9gTRkYA3V5SWre GTOc/xHjVsscLmZ5m9qOrik//ERb4VmedZYudVna/tWd03dKdFvPYx8w56DRfNwGmrwo9/ brYhUfQgOBjqOUYEwpN/xiS17x3L8WP1hbSISXKnjsv5EoRdkgPPYCrrmd0nuvAglmC2ZH T/3RlQJ4ZNOZG/zpmAqqFB8fEn/gxs+laoFHrvFVvwd8dhLlU+UNOajitFgt/AH2Em5yER Hk78CT3e67oKVJ16fCoEpyfT1NAxq1Csrl7T9UVHILzC7z+m6oHqc8Tj4a26Cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737582511; a=rsa-sha256; cv=none; b=ngCJ26OO0RECF0GNtvss0r0MX5cjBhR7F6kjWReoRK3madP01d1PndzvX0mTdFUD+35gUu XSqWQInWlMroW2nuOY09NwMoZsfrB0/P1FvQ4XSgGifUz+8hwBaV76Zm6OT9wl3f+y6TFB E20SGGGN9ZPxuSuh+G7LZoEmWl9uLfSo7EKGFn0b12IF0ucNA0V/2MNNx3Fc5MRcljepeo epwGShDnHhFnw4Ib0rse/m1a+Zof6ulrROjp6bAXMw7eYusAuATb980tNgusbtQERnZkWL R+rrQlywE70Q5UZ2l1aXYPiUsofQxMZEMwwXgdvj0YwoRqLG8qCk2LGnGavHHg== 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 4Ydd4H60vpz18Xh for ; Wed, 22 Jan 2025 21:48:31 +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 50MLmVY7069573 for ; Wed, 22 Jan 2025 21:48:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50MLmV0e069557 for wireless@FreeBSD.org; Wed, 22 Jan 2025 21:48:31 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Wed, 22 Jan 2025 21:48:25 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: 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=3D247528 --- Comment #68 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D043d6a24b29030989fdf2b79c5ff90391= f859225 commit 043d6a24b29030989fdf2b79c5ff90391f859225 Author: Adrian Chadd AuthorDate: 2025-01-19 20:16:55 +0000 Commit: Adrian Chadd CommitDate: 2025-01-22 21:46:57 +0000 rtwn: add workaround sleep in r92e_set_chan() It /looks/ like there's some weirdness in initial frame send after the chip programming / channel change. Linux rtl8xxxu has no sleeps here, instead it just retries the auth frame a few times. My guess is there's some sequencing going on here between finishing the programming, doing a calibration run and then sending the initial frame. Instead of doing sleeps on every write during the RF channel change, this 10ms sleep at the end is enough to reliably associate in my test environment (12-core intel laptop, USB-3 port.) It's not required for an earlier 2-core haswell laptop w/ USB-3. See the PR for more information. PR: kern/247528 Differential Revision: https://reviews.freebsd.org/D48517 sys/dev/rtwn/rtl8192e/r92e_chan.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=