From nobody Sun Sep 01 09:48:29 2024 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 4WxRsV2m0Yz5TvbC for ; Sun, 01 Sep 2024 09:48:30 +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 4WxRsV1klWz401b for ; Sun, 1 Sep 2024 09:48:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725184110; a=rsa-sha256; cv=none; b=vdiLteC1T4kYRDIA7InvJBUalsOV1Hh/6zSySBxfjRhFNmIkHLqdQddb+ZItzX0T0KximD SZAbXozefDMGsJwq9N5pQIRABHHHRMFY4NSh5vqOdrFTwryleql3woYltH+Sep/4f7hTX/ 95HnsjEp/Z3eAZsL5dcO4f5PIUlfW6bDgzbgnQBtYdoHkWQ7Pg1iawr0bKYWp03qWFDbvW nELDYMcxAJjk0EdtCmjh8MoCbX378Vd7s33DGv8Jf9kn3cQgIIcf+s/fzWjK1E3j5gxa7e rQSMZIdbtIYvdjLDsgueRNXi+5xSClI5L8E4keA1qaETyiTndu7Cpps1U8z0pQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725184110; 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=O7SDTGbDOcq6v/9qehRc554UZ9XRc5RtMLlspAAnLeA=; b=gjBRTlW7oMmQP5Vm80z6Eg/scq2sSBQvyaEYyJXdytAzguR03Ya/JMgPPi7g5OEyU1BKj9 OeTy/YYEgyqTtlmnfes1G+Khq2V7jLqEzRpX9+zWYvo1671PiPUODDi3rQ6BjfDyZ6d3rn XCdugXt5qdA6co66rq2+9W8KHmuuDveU/Y6zehlAGBRN210r33091A0a6DfWSlhbIon0DZ +QyjL2151mNZSCsMF/YWvJc1SPzd1u5fy5l37K/Xx6w70rP7KuhOFtR5G4gseKP6jeVGRe huFmWPLrmAJ4RBbH9CplcZvjQaVgV4hczlk5fhBHVTy3/rSrtRf1Dp4YP2x4ng== 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 4WxRsV1M6QzNLv for ; Sun, 1 Sep 2024 09:48:30 +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 4819mUjP092681 for ; Sun, 1 Sep 2024 09:48:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4819mUOm092678 for wireless@FreeBSD.org; Sun, 1 Sep 2024 09:48:30 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 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP Date: Sun, 01 Sep 2024 09:48:29 +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: peterj@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-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: 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 #49 from Peter Jeremy --- Thanks for the prompt update cy@ Unfortunately, the patch in attachment 253233 doesn't apply cleanly. The attachment comprises 3 "emails" and the first (Subject: [PATCH] rtwn: Fix RTL8188EU cannot associate in STA mode) and third (Subject: [PATCH 2/2] rtw= n: Fix RTL8188EU cannot associate in STA mode) affect the same files but inclu= de different (incompatible) patches to sys/dev/rtwn/rtl8188e/usb/r88eu_init.c I'm uncertain whether the correct version is the one with all the RTWN_LOCK()/UNLOCK() pairs or the other version. In addition the following hunk doesn't look right in either because the "return ETIMEDOUT" has moved outside the "if" statement: @@ -112,7 +120,10 @@ r88eu_power_on(struct rtwn_softc *sc) break; rtwn_delay(sc, 10); } - if (ntries =3D=3D 5000) + if (ntries =3D=3D 5000) { + if (uc !=3D NULL) + uc->uc_write_delay =3D 0; + } return (ETIMEDOUT); sys/dev/rtwn/rtl8188e/usb/r88eu_init.c --=20 You are receiving this mail because: You are on the CC list for the bug.=