From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpcmd03116.aruba.it (smtpcmd03116.aruba.it [62.149.158.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3511F3B47EB for ; Thu, 1 Oct 2026 17:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.149.158.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790874775; cv=none; b=KUrx8qbAtOqgELkIuSm4KlEKrMU1o7x80kfbB1q3EBrr4ulapEwRfJxr2L9XuHCLDqLp+IKAZ5xuDNDTRH+ZO8ek0q3uC3hT01w+cBQc3mY9Rq8EG3sIwOuy8TIhLWdqtAqi3hwbkZwXvLi3nUbxHZUGFxE0IXZ27lUlLva4Yfc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790874775; c=relaxed/simple; bh=1EIllXH8ZPZt1z/PvduSpDeCQmmfKDl/WSQqL0I3+/0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KhM6BySlCVn9djjRAToiG0qBJk2upucE/7UiKwJE/ssrSE0IOzhztciw5SLv0N1GwHgl2iuKX8VZ3wHd5zF54Vtif8SUrpPLG5MACTstDOBpCcdBsmnuMzi57oeZPZOyLYwLRgkKwR8AB5gw5xK60+5P/F5dkx+XHE5jyezM2fk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mythread.it; spf=pass smtp.mailfrom=mythread.it; dkim=pass (2048-bit key) header.d=mythread.it header.i=@mythread.it header.b=cGBf7OFt; arc=none smtp.client-ip=62.149.158.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mythread.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mythread.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mythread.it header.i=@mythread.it header.b="cGBf7OFt" Received: from localhost ([79.19.61.120]) by Aruba SMTP with ESMTPSA id CKKixBNw3BqLeCKKixxYFv; Thu, 01 Oct 2026 19:12:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mythread.it; s=a1; t=1790874757; bh=1EIllXH8ZPZt1z/PvduSpDeCQmmfKDl/WSQqL0I3+/0=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=cGBf7OFtfXQ/CZ7zPww7Op42kz9g9jmepwu2AiAzUxMn9dt2ehZU2BG3Ra2aqlLQG 6fnyDlZ6kiczFf5PhvGIcSmbX87kJJKY0ifBXfpmHvnOxJw60B5ouvXmyXbNXQKFly cIfmkUd7gwXqNKy6XcPs8KKPnIQKa3O0Z+U/GCrpv9/L2hehvBjEQS1qJjJXqRza6a o+uCuxaABKMtF9ihZ0gCR13sJygFcRydg3ICslSmSPD87q9CfozVtXD12cmIk9s0iq UhF0J01B/vhrcc6pZNOqtYY/9wZEPS8jf3vhKa8UHucWMn5ILXHVC+/4fMprzyGsZa nBq2xaesXWKPw== Date: Thu, 1 Oct 2026 19:12:34 +0200 From: Alessio Ferri To: "andreas.wendleder" Cc: "b43-dev@lists.infradead.org" , "linux-wireless@vger.kernel.org" Subject: Re: BCM4360 AC-PHY support for b43 =?utf-8?Q?=E2=80=94?= reverse-engineered, seeking guidance on a clean path upstream Message-ID: <20261001191234.00001cf5@mythread.it> In-Reply-To: References: <20260929105859.364ea71b@DELL-MOBILE03.ad.smart.it> <20260929113109.2c561844@DELL-MOBILE03.ad.smart.it> <20260929221321.000023a7@mythread.it> <20261001080225.000011d9@mythread.it> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfCCgSFsVbt1DApD0f4FTXJ7rnuyr/1Kx6OlMGKy8MGVyd4V2XUxjIRTJnwaA7JqMgCjZNKpIEwKRRasC3TtaLSV2U7wE4twGTn+Zws3eE4qBfUWCVgBD RrFkNcH9RxwrKK1R0LX9FOuTwmEFb7fNQexF3pkA9i9K/OBV9xIv6OpYaHbQAKocLNpvaPgVZK6J8UU/tNMNd5Z6qKMiz1RQD4QL/0OU2HhhpU+Wx83MXT0w pO3XAnTpCAB5d87DyHy5i7K7eRpnK3sCU6m5CaQ0XpKfP1Tj/gamE9hGlOWE0O1K Il giorno Thu, 01 Oct 2026 12:06:05 +0000 "andreas.wendleder" ha scritto: > Hi Alessio, >=20 > Thanks for the 2.4 GHz trace work. Short status, then the questions. >=20 > Status: b43 now runs as the daily connection on my MacBookAir6,1 > (BCM4360, core rev 42, radio 2069 rev 4). The 2.4 GHz station works > with legacy rates and a TX status fix. Upload is about 18 Mbit/s and > download about 10. >=20 > The open problem: only about 21% of fresh inits can transmit. The > state is fixed at init. In a bad init the PHY holds CRS|TXF and every > TX ends in a PHY transmission error, so auth frames are never ACKed. > A reload wrapper retries until an init connects, which takes 2-5 > tries. I've ruled out temperature, DMA, ASPM, PLL lock, clocks, TX > core mask, TX power control, the CRS threshold and the MAC setup > order. Your phy initialization is still the verbatim copy taken from a run of wl or you reconstructed the phy ops? Also, are you reading the srom correctly as rev11? I have the bcma code to read it properly in my repo. >=20 > I've updated the clean-room spec (=A710 covers this) and can send it if > it's useful. >=20 > Questions: >=20 > Do you have a bus-level trace (wl-mmio-trap) of a 2.4 GHz cold init > and first transmit on a BCM4360 (agcombo or TG789vac), including the > calibration phase? I'd diff it against mine at register level. Can > your harness score our driver's register-write sequence against your > captures? That would show where we diverge without hardware tests. > Does stock wl ever give you a "bad init" on any of your boards (the > PHY cannot transmit until the next reset)? That would tell us whether > the cause is in our init or in the chip. Only 5ghz for the 4360 with agcombo, one of the trace is configured with wep auth, note that the 5Ghz only 4360 is a 3x3. >=20 > If your 2.4 GHz support lands, I'll test it on this laptop right away. Thank you, i am trying to reconstruct the phy init for 2.4Ghz from your trace >=20 > Thanks, > Andreas From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 84258CA5FD2 for ; Thu, 1 Oct 2026 17:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RpdGRtYX/nSXv13VN9+0GfVHkPjGnINemgOtm76reuI=; b=BQ4uCRz0xBiqCi St6C4iYpE0GjJWRQpaOq2KHsRjffTTOAnsFya/sOd7tZg++k+LGBy1YxoNif9WtjxncWpMadV6irq qeKXp8Le2HS6EOwsWp7nxjeO9x1HnEa0R7gb3aUaCx24Z3nv46Bril0oOJ7XjMZjukYMBwuUObflz 63IAlpBU/I12sDOI+T/evmtXDpiLAv23Iq9sksq5y66wOobB2OwvqqSbrsdBnaSue6nk1DvSC1QRM g5N1eqAMMuAOiVpoVlSOcxi3L08W684+I2+/Obfd9sdluXEfio6bdVis4qOmhxxBoVF0p2C8ciNPt G7uLO0nh966FVPX8+Uww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xCKKu-00000009pYU-0Ihw; Thu, 01 Oct 2026 17:12:48 +0000 Received: from smtpcmd03116.aruba.it ([62.149.158.116]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xCKKn-00000009pWK-0yxf for b43-dev@lists.infradead.org; Thu, 01 Oct 2026 17:12:46 +0000 Received: from localhost ([79.19.61.120]) by Aruba SMTP with ESMTPSA id CKKixBNw3BqLeCKKixxYFv; Thu, 01 Oct 2026 19:12:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mythread.it; s=a1; t=1790874757; bh=1EIllXH8ZPZt1z/PvduSpDeCQmmfKDl/WSQqL0I3+/0=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=cGBf7OFtfXQ/CZ7zPww7Op42kz9g9jmepwu2AiAzUxMn9dt2ehZU2BG3Ra2aqlLQG 6fnyDlZ6kiczFf5PhvGIcSmbX87kJJKY0ifBXfpmHvnOxJw60B5ouvXmyXbNXQKFly cIfmkUd7gwXqNKy6XcPs8KKPnIQKa3O0Z+U/GCrpv9/L2hehvBjEQS1qJjJXqRza6a o+uCuxaABKMtF9ihZ0gCR13sJygFcRydg3ICslSmSPD87q9CfozVtXD12cmIk9s0iq UhF0J01B/vhrcc6pZNOqtYY/9wZEPS8jf3vhKa8UHucWMn5ILXHVC+/4fMprzyGsZa nBq2xaesXWKPw== Date: Thu, 1 Oct 2026 19:12:34 +0200 From: Alessio Ferri To: "andreas.wendleder" Cc: "b43-dev@lists.infradead.org" , "linux-wireless@vger.kernel.org" Subject: Re: BCM4360 AC-PHY support for b43 =?utf-8?Q?=E2=80=94?= reverse-engineered, seeking guidance on a clean path upstream Message-ID: <20261001191234.00001cf5@mythread.it> In-Reply-To: References: <20260929105859.364ea71b@DELL-MOBILE03.ad.smart.it> <20260929113109.2c561844@DELL-MOBILE03.ad.smart.it> <20260929221321.000023a7@mythread.it> <20261001080225.000011d9@mythread.it> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 X-CMAE-Envelope: MS4xfCCgSFsVbt1DApD0f4FTXJ7rnuyr/1Kx6OlMGKy8MGVyd4V2XUxjIRTJnwaA7JqMgCjZNKpIEwKRRasC3TtaLSV2U7wE4twGTn+Zws3eE4qBfUWCVgBD RrFkNcH9RxwrKK1R0LX9FOuTwmEFb7fNQexF3pkA9i9K/OBV9xIv6OpYaHbQAKocLNpvaPgVZK6J8UU/tNMNd5Z6qKMiz1RQD4QL/0OU2HhhpU+Wx83MXT0w pO3XAnTpCAB5d87DyHy5i7K7eRpnK3sCU6m5CaQ0XpKfP1Tj/gamE9hGlOWE0O1K X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261001_101243_895655_E299D1A1 X-CRM114-Status: GOOD ( 16.45 ) X-BeenThere: b43-dev@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: b43/b43legacy Linux driver discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "b43-dev" Errors-To: b43-dev-bounces+b43-dev=archiver.kernel.org@lists.infradead.org Il giorno Thu, 01 Oct 2026 12:06:05 +0000 "andreas.wendleder" ha scritto: > Hi Alessio, > = > Thanks for the 2.4 GHz trace work. Short status, then the questions. > = > Status: b43 now runs as the daily connection on my MacBookAir6,1 > (BCM4360, core rev 42, radio 2069 rev 4). The 2.4 GHz station works > with legacy rates and a TX status fix. Upload is about 18 Mbit/s and > download about 10. > = > The open problem: only about 21% of fresh inits can transmit. The > state is fixed at init. In a bad init the PHY holds CRS|TXF and every > TX ends in a PHY transmission error, so auth frames are never ACKed. > A reload wrapper retries until an init connects, which takes 2-5 > tries. I've ruled out temperature, DMA, ASPM, PLL lock, clocks, TX > core mask, TX power control, the CRS threshold and the MAC setup > order. Your phy initialization is still the verbatim copy taken from a run of wl or you reconstructed the phy ops? Also, are you reading the srom correctly as rev11? I have the bcma code to read it properly in my repo. > = > I've updated the clean-room spec (=A710 covers this) and can send it if > it's useful. > = > Questions: > = > Do you have a bus-level trace (wl-mmio-trap) of a 2.4 GHz cold init > and first transmit on a BCM4360 (agcombo or TG789vac), including the > calibration phase? I'd diff it against mine at register level. Can > your harness score our driver's register-write sequence against your > captures? That would show where we diverge without hardware tests. > Does stock wl ever give you a "bad init" on any of your boards (the > PHY cannot transmit until the next reset)? That would tell us whether > the cause is in our init or in the chip. Only 5ghz for the 4360 with agcombo, one of the trace is configured with wep auth, note that the 5Ghz only 4360 is a 3x3. > = > If your 2.4 GHz support lands, I'll test it on this laptop right away. Thank you, i am trying to reconstruct the phy init for 2.4Ghz from your trace > = > Thanks, > Andreas _______________________________________________ b43-dev mailing list b43-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/b43-dev