Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp215985ybl; Tue, 28 Jan 2020 01:48:06 -0800 (PST) X-Google-Smtp-Source: APXvYqwoSDY3TXuoBo8iywT7zdSEAEzKSWm7UGSYk3Cd+z6s6HjAePTx+hhJ/SXdhWmIlUmB4bGf X-Received: by 2002:a05:6830:12d5:: with SMTP id a21mr9092133otq.296.1580204885798; Tue, 28 Jan 2020 01:48:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580204885; cv=none; d=google.com; s=arc-20160816; b=xZk5yzAYjRE+18rn8yancQT7R2xfqnBRAQWpnFAT9FrcA5bvutrVKR7nDi2oTejmT8 hKNBpX+4lWoMjSn1yb7LDxR2YERXuNef0w+W0o9lINaFqzPHwXJ/sxoicE0f10WFOp0T Qu4iLtiCyslwadboWoZpmJWBnCfmDg7IK9ZN7gyQ+SCK8ZveL0qIvNRl0K+MQkST0uMI N3EiUF37dHl3n8IJJG6ZJhLAMQsQJWN1Um3dzQ6qlY689Mt13WgqsPo8Jf5RtsYvPtyt ABc2rh1xl4zNZqaHbHbwp2x9FQLTNuKi1tI1YggZo03DG3UyP/qLSGD2zft7S07x79up iiUQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=qGo8vat57oZKbX952ZOsgs3M79WlJfUSUaH5Jb0b7Lg=; b=0ND/YhNiQ4KPo8pJVqkBQ3gojWk1Wyq0wEMpig4xAz8gR7LYfR/RWKsJ1S3QGQnZu2 R3PM+Itv9lajn+NVF/Mpa4Ledt7fo8i6O5HEeTivX3kO7Rp/Sbl8zbZbO0P3vPWM8641 XQBrR0JKPsspUWIOuGpackZeuLgdd2wETcYDHYjamlSvsVLwR1lGiqwK3JXIyEfJJNM8 tOatcBqCPLyIgXakY9/DLHV3uY0wu4UIl3Vh8RmUlm5+Ne18YhUsRzge8E8psMWwmo3Z sN7y326mWXi7xwV+d445RMkvqdmlGv0q3+39G0egMlI6+hn9McIAEe+1zw7GlACjV14Q NCiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=R5ajh80s; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y126si4713332oiy.235.2020.01.28.01.47.48; Tue, 28 Jan 2020 01:48:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@broadcom.com header.s=google header.b=R5ajh80s; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725912AbgA1Jrn (ORCPT + 99 others); Tue, 28 Jan 2020 04:47:43 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51464 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbgA1Jrn (ORCPT ); Tue, 28 Jan 2020 04:47:43 -0500 Received: by mail-wm1-f65.google.com with SMTP id t23so1763629wmi.1 for ; Tue, 28 Jan 2020 01:47:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=qGo8vat57oZKbX952ZOsgs3M79WlJfUSUaH5Jb0b7Lg=; b=R5ajh80sNA0KcS9gJCaGIaPV6Nq/OTsd33b2r/Brsp75k9Bzenkas6TmhsYjfWnKAC ojhTrSg9JY0OkpKgPrS4H7QMnQc7ATWcNYv4UGG23WHjCngU9uZatZdTiQ8aaoT2x8oM B78sKfgyftREzVZdXSraE2rIWjmlNeYge6aLQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qGo8vat57oZKbX952ZOsgs3M79WlJfUSUaH5Jb0b7Lg=; b=F9QZVHDox6tj98u9cDYMXr1eePXrXhOKZftGjCTq61UuBy1nzmEwAcnT1r9HCoF5QB FQBITuprcyEq/PiVYV99u4cLY+ILRUisxPXCrWHkvNEMbWZ8gLmMLOCRRXjkWlNB4KBh xEDVAMxxMN9OHx8AsEoXcFHjJL5a4hlAo3hojZsdriJqNZNUU5+c6CYaJ/c4qCI2IQxM CNL68BM9DEsi3Lrkoq9bkORfHUCzBiSj1HgEfoDDslOtvoisWcOUyvoefzVRZfsfn5vg imyqJjHQislkf8/XSPPg+SxB2v/tS3eHNaw3lxkgXUs2H08yJrrSm4ILMwvWdPxm+EJy IpBw== X-Gm-Message-State: APjAAAW4GHP9pVVPwRaBvoP9rsVKj72I+60YchfbHg7w2Ep40ngtVZ3n RW/H5vhXoY4f1M167624IO16XA== X-Received: by 2002:a1c:2ed5:: with SMTP id u204mr4110373wmu.170.1580204860561; Tue, 28 Jan 2020 01:47:40 -0800 (PST) Received: from [10.176.68.244] ([192.19.248.250]) by smtp.gmail.com with ESMTPSA id w5sm816444wrs.34.2020.01.28.01.47.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Jan 2020 01:47:39 -0800 (PST) Subject: Re: [PATCH v2] brcmfmac: add the BRCM 4364 found in MacBook Pro 15,2 To: "brian m. carlson" Cc: linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng References: <20200126155108.7DDD7C433CB@smtp.codeaurora.org> <20200126193339.167346-1-sandals@crustytoothpaste.net> <16fe3b278d0.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <20200126230029.GI4113372@camp.crustytoothpaste.net> From: Arend Van Spriel Message-ID: <71763ca9-ed7a-2403-b85a-d7dc624cd050@broadcom.com> Date: Tue, 28 Jan 2020 10:47:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200126230029.GI4113372@camp.crustytoothpaste.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 1/27/2020 12:00 AM, brian m. carlson wrote: > On 2020-01-26 at 21:12:02, Arend Van Spriel wrote: >> On January 26, 2020 8:34:18 PM "brian m. carlson" >> wrote: >> >>> The 2018 13" MacBook Pro (MacBookPro15,2) has a Broadcom chip, the 4364. >>> This chip appears to be specific to Apple and is not found in other >>> hardware. >>> >>> Add this chip to the brcmfmac driver so that it can be recognized >>> automatically. Note that the PCI device id is 4464 even though the chip >>> is referred to as the 4364. >> >> So what is the plan regarding firmware. In the previous patch you mentioned >> it can be copied from macos, but I am not sure if that is acceptable from >> legal perspective. At least Linux distributions will have problem with that >> for sure. > > I don't have a way to solve that problem. The firmware copyright > presumably belongs to Broadcom and they would be able to grant that > permission or ship firmware through the normal channels. > > As far as I know, this chip only comes with Apple systems, so users will > acquire the system with macOS. I'm not aware of any legal reason that a > user cannot copy the firmware from one location on their hard disk to > another, so users will probably be able to legally use the firmware, > even if it's not shipped with distros. I think you are right provided they use it on the same system they acquired. > There is also precedent for users acquiring firmware themselves via the > b43 and b43legacy drivers, where users have to use a script to extract > the firmware from other drivers. > > I wish I had a better answer to this, but I don't work for Broadcom or > anyone associated with it and am just trying to get the Mac I was given > for $DAYJOB to work with Linux. Perhaps since you do you'd be willing > to ask them to release the firmware. > > The alternative is that the chip doesn't work at all (and can't be added > via the new_id sysfs entry because of the rambase setting) and users > have to compile a custom patched kernel to make their wireless card work > at all. I'd really prefer to avoid that if possible, since it's > a strictly worse experience in every way. How about putting this device under some Kconfig flag. If distro kernel start probing the device and fail, most users will probably turn to their distro for help. Having a Kconfig with a good description could avoid that. It would mean an extra step of building the driver though. Regards, Arend