Received: by 10.213.65.68 with SMTP id h4csp382606imn; Fri, 23 Mar 2018 06:44:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELshZK2JA2uRKV6RLdcojSMhZo2a0mxcFV+WsVfzPFjytYxatB7O/jwSs2Zg42QyRXTD7s0t X-Received: by 2002:a17:902:5a5:: with SMTP id f34-v6mr29717416plf.288.1521812681780; Fri, 23 Mar 2018 06:44:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521812681; cv=none; d=google.com; s=arc-20160816; b=NQm/FCgIvzZ8JMqOKCyF6BM0unKNvMPTcfg1txgnFJq15NP9yylB1flclUvJ4AWQjc 8UZs2wAIFNSQJNfXsHs1otAnpsC17uzAJYeG0Xr8jaQ+cCheoD/NTF8xuQNHeD8HfEy1 om0os1QMShmMA1vTXTu1WCuNFD0Mv7+dJmJVdLEizx1L8LLg9Fc4Y2r/ybOdT/nu8NR8 hjyg+Uoxs7caQ02zK2nj5CPoegIfWdPvKJQlzgF060DYEl+eN5SWvMJ489YmSJ3n5umS /nWQNcBrKmGCpfMy9SiTpo70T6e1Amf/fj3Kt/OKsSxv2kKJofneOTN1luzihjwq96xb PEvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=FtED3MSg07vGAMaNxZZpj5DheJ9WFHecVI99CgJo/Bc=; b=bxRE6z2wHI11fmt/LaTyEQ+kUoMzzauajeHUrTusBCSIJOjS+g+bSzBrnUdf9oBYvS Foa53RwvLLH6ZqZj4wqRJdrRA/inobGLn5naeerhHlt7kcrxf2PMv3Z7M02HOSjPEx95 aR29AeCr7u8VKIpk/zosb79Ypds7XXsXLaR9SY4V8xUvciJhqLL+IeaowLdmM7riKr6w cIPWvii20FfAr/dC5uvRnlKgwayqYDK8dClCiLGPhyIu80b+cFILmVK8HgcfQTCd79st /f6IRadu5gbUZLEt2/iv15VUgZzj00veKPqeZPe+deFlmokBb6aXvGZXu36sTHLT2j8u Rhwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kSUDk6iS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k17si6160103pgf.534.2018.03.23.06.44.26; Fri, 23 Mar 2018 06:44:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kSUDk6iS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752608AbeCWNnc (ORCPT + 99 others); Fri, 23 Mar 2018 09:43:32 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:35490 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbeCWNna (ORCPT ); Fri, 23 Mar 2018 09:43:30 -0400 Received: by mail-oi0-f47.google.com with SMTP id x20-v6so10083460oie.2; Fri, 23 Mar 2018 06:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FtED3MSg07vGAMaNxZZpj5DheJ9WFHecVI99CgJo/Bc=; b=kSUDk6iSQ+j4Ktmxv0c6hyyWTBUQ3WM/0AYb2Wbd500xK0g1m5pRpwof9J3nBmVVN0 2edaMdPOpZrP6XrOqEjr38C1MauQYRH46gnYkMnwqI/5lEIE1wE7iL7b09a1OpDqQ199 7JRF8L9Rxm4oxxlQqcRNCzNxLB/GrZn53wly6Mh6+vU5txYK36sbsRf6XIxsx/AqXig8 7MaOfcgfnFMCHqmib4sSjrdyTwy0ful8GsPoU9G1xex+XLAmTP6GV+eOueJyyThN2az3 /A7oPzijIinb3X9uSKHXwCLP4i4hT7gDNtyvV0AQ0wc1iKVSeYbehoL0vCannCQU4+6F xkow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FtED3MSg07vGAMaNxZZpj5DheJ9WFHecVI99CgJo/Bc=; b=qDgDiZ/D67nqotOvNR0OYiDR5TJFN8eCH1QwemZzrTsJkeTgJxBhQXznGnksMysLlm rJJeNiu+VPIFEF9RSzDqGnAIzIYqd2W+FGqJqvpNRPuS6IUnf7dPSh3X5BvUBcvBAIpV bWOWKb1uYddktlOr4LlEu2UgK6/B+le/+J0HJSsceeGJghF3ybgkCPyWUJ1XDncOvxu6 lIOLq69WenR+zKfpu1KzF94VUo4il3/IoeAVhkWxCsUMxyyAkQq8fUTKgiosreLQg7Fa 3cVNKhQ7Nyzm/adu7Sid4PCp0Kx9wshVu9H6VwCNPzYPwbcvNSXBD6Sqy16jJWAxpc84 8Amw== X-Gm-Message-State: AElRT7GwoUzy0KaPLjmv9a/FET25YZPlKQFeDTQeTMK89mkbhN+n/zpL gporz8DjX7mxk5XPNJOpwdokZvLLpr8cu8IAsRE= X-Received: by 10.202.253.205 with SMTP id b196mr5291754oii.16.1521812609080; Fri, 23 Mar 2018 06:43:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.56.134 with HTTP; Fri, 23 Mar 2018 06:43:28 -0700 (PDT) In-Reply-To: <20180323094740.GA5942@localhost.localdomain> References: <20180323094740.GA5942@localhost.localdomain> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Fri, 23 Mar 2018 14:43:28 +0100 Message-ID: Subject: Re: [QUESTION] Mainline support for B43_PHY_AC wifi cards To: Juri Lelli Cc: b43-dev , Network Development , "linux-wireless@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 23 March 2018 at 10:47, Juri Lelli wrote: > I've got a Dell XPS 13 9343/0TM99H (BIOS A15 01/23/2018) mounting a > BCM4352 802.11ac (rev 03) wireless card and so far I've been using it on > Fedora with broadcom-wl package (which I believe installs Broadcom's STA > driver?). It works good apart from occasional hiccups after suspend. > > I'd like to get rid of that dependency (you can understand that it's > particularly annoying when testing mainline kernels), but I found out > that support for my card is BROKEN in mainline [1]. Just to see what > happens, I forcibly enabled it witnessing that it indeed crashes like > below as Kconfig warns. :) > > bcma: bus0: Found chip with id 0x4352, rev 0x03 and package 0x00 > bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2B, class 0x0) > bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2A, class 0x0) > bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, class 0x0) > bcma: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x01, class 0x0) > bcma: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x11, class 0x0) > bcma: Unsupported SPROM revision: 11 > bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM > bcma: bus0: Using fallback SPROM failed (err -2) > bcma: bus0: No SPROM available > bcma: bus0: Bus registered > b43-phy0: Broadcom 4352 WLAN found (core revision 42) > b43-phy0: Found PHY: Analog 12, Type 11 (AC), Revision 1 > b43-phy0: Found Radio: Manuf 0x17F, ID 0x2069, Revision 4, Version 0 > BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 This isn't really useful without a full backtrace. > So, question: is replacing my card the only way I can get rid of this > downstream dependency? :( It's definitely the cheapest way. Getting AC PHY into anything usable (proper setup that will allow Tx & Rx anything) would probably take weeks or months of development. I'm not even going to estimate cost of adding support for 802.11n and 802.11ac features. I was the last person actively working on b43, right now I spend my free time on other hobby projects. Few people were planning to help but it seems it never worked out for them.