Received: by 10.213.65.68 with SMTP id h4csp769595imn; Fri, 23 Mar 2018 16:02:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELtTUg4TrMgnMUbd1OaLBXE9zHSH0U/N/6AZ3OL7A3I9PYHKEOx7QDNa5jjfAZl37FKkrH4c X-Received: by 2002:a17:902:566:: with SMTP id 93-v6mr30224082plf.327.1521846139369; Fri, 23 Mar 2018 16:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521846139; cv=none; d=google.com; s=arc-20160816; b=Ydy47H2N3F26ZtjB1KjnGgLyXz0F9aOUtxXKppzx2XRS1OUhcHFrfkPdDzVaws/JFf 8NcFQRr79u7yXQbwCu5cYgP7qBvu6zqImUbhqZIBaAavSXdZo9vR5Fm9dWJOUGxq+0Mb xNggXuT0rCLpUTd+0zvmu4phuEOs5xq8X/rEe9YGd/ucAePirKP5AbEyRcgJib2OxEN5 WG1jqJd14m7UEHB+ydGyMwAOQ9ysQOpbJR5XsYgBgf8kMVAjUH1Vg58h6koE9ZyaNigb 0kE5fS3skN3YL0QiXT11B+hEluV2U7qxiG8zvKc9psfZh5xMDk/H88yuSHwxKn396aYr URjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=aaeMhAgzrujrDAWqmU2HUVCb2dGZ0IOdEnL5/EBXhxI=; b=Idat1u1yCpgd5RwM9riosX0xaWw2ChtFbtp0Q0ur5qfYglUE/DJ+Y+orvTokYB4ABx vFBlXNTk1Bn3TrTsXXB3zs7/DGlAKi/KrRPV6BllIxHq9XXDZIqkmomlZ+ciSqkuw4U7 fvU/hQjKjVasPMO4E0OXV0TrXzlGP6Xvcjod6OUVWvIcCAwZ+3j8cy9pnl1XdRkDTTcU yPBFg2kd2yL8zdBHel4sTzpu1+UAWjv9eNcuX2u5Au7Ypv5LR5p0YNEgWB7WnXOh4J2L T54DftArow1SmZvGLJFWRwwqforyKJRgJJafWuLYqQFxxm+30C5z70ioh3X9333a4tin idvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WoywuBHT; 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 b6-v6si2567921plx.263.2018.03.23.16.02.04; Fri, 23 Mar 2018 16:02:19 -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=WoywuBHT; 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 S1752213AbeCWXBJ (ORCPT + 99 others); Fri, 23 Mar 2018 19:01:09 -0400 Received: from mail-ot0-f196.google.com ([74.125.82.196]:38034 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbeCWXBH (ORCPT ); Fri, 23 Mar 2018 19:01:07 -0400 Received: by mail-ot0-f196.google.com with SMTP id 95-v6so14971367ote.5; Fri, 23 Mar 2018 16:01:07 -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:content-transfer-encoding; bh=aaeMhAgzrujrDAWqmU2HUVCb2dGZ0IOdEnL5/EBXhxI=; b=WoywuBHTvhp5EDBDb4a7KSZj8BIG7+geR64OEB7gYk5mM2K/YuMZ94Da4bSshAHQdC MzkFTKQZEMi0ToRtmHDKCq02HBmmLz1Cw+X9mu6glHwVwdBGAWjPosWUjvoKprnwSojV DnCh0Az5NRaYbb1/rvy+O6qgovZpXI6laI7wh/dBacQ0B4mRrqvxDRLJ4ruPGFMttQac 3izTQ6cCUZf9+sJpmp2TIsWXp12U1KgoEhebJni/MgUvqE776JD9h1o6e1Tt8pb3lGKD JLNrNkJuELdrK2EUlKtGSAYKLyHmam6ExIwHcnxgGNc7vV67I04DUwPqHD3jt+wHXPX0 sA9Q== 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:content-transfer-encoding; bh=aaeMhAgzrujrDAWqmU2HUVCb2dGZ0IOdEnL5/EBXhxI=; b=ncnK8ANgz9Gvii9ZZ3N4LTWKRV+Yl5s1V8Wt08RlG0vehWEhLpU/Q23cXkFA86pANl uclzB1QhZADUBI2r/0EMd8j0x7HkTgchn7oH/KylWZ3q+16ObX0f5QIUYIzbyr7JRGSY 7/DRpKjHs1JmtAWlM5ye3IPqhrFSjg3lG3lpiYQCXtcLCKt//tW7AfT2m6LzZsVcwOY1 N82ZNkyCBcK0JVfwkL0Pgsu6CX3ClPQS0RQRetFu0hj7L5BnzfkUcqaOzCRaE7xLbfC/ CmgcNgPe5S2eQn3szAI4OIMSUQfVqmOj59Xh2IA/BPL9qsHnGV1jm+WwntQAu0njY1Ac 8YZg== X-Gm-Message-State: AElRT7Hg2c6b39OnuOMq3Ex3fg+0qIc4jPBTJ3amJadLpUMDdLi7q1PH y1YQoTKrLbSMW7AzEoqaF9meBfRkGFFWDqtl3UE= X-Received: by 2002:a9d:350a:: with SMTP id o10-v6mr961819otc.283.1521846066497; Fri, 23 Mar 2018 16:01:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.56.134 with HTTP; Fri, 23 Mar 2018 16:01:05 -0700 (PDT) In-Reply-To: <20180323140919.GB5942@localhost.localdomain> References: <20180323094740.GA5942@localhost.localdomain> <20180323140919.GB5942@localhost.localdomain> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Sat, 24 Mar 2018 00:01:05 +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" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23 March 2018 at 15:09, Juri Lelli wrote: > On 23/03/18 14:43, Rafa=C5=82 Mi=C5=82ecki wrote: >> 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 S= TA >> > 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 0x2= A, class 0x0) >> > bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, c= lass 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 fall= back 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 000000000000= 0000 >> >> This isn't really useful without a full backtrace. > > Sure. I cut it here because I didn't expect people to debug what is > already known to be broken (but still it seemed to carry useful > information about the hw). :) Please paste the remaining part if you still got it. >> > 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. > > I see. Just wondering why even if Broadcom's STA solution seems to work > fine, it is not mainline. Maybe a maintenance problem? But Fedora ships > with very recent kernels, so I'd expect the driver to work with mainline > (I tried compiling that against mainline, but I got errors that I didn't > spend time figuring out how to fix). > > Do you know what's the deal w.r.t. the STA driver? Driver being closed source and company not willing to open source it is usually a big problem getting it mainline... --=20 Rafa=C5=82