Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp505972rwb; Wed, 7 Dec 2022 01:08:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf469VsrvHs0DMOj+rek35yana5Bc0Oze0Tkii8FlhJURMnfwKVOVW0luyW1J0aczAwpvr+w X-Received: by 2002:a05:6402:ea8:b0:462:67bf:c64e with SMTP id h40-20020a0564020ea800b0046267bfc64emr3825171eda.20.1670404110401; Wed, 07 Dec 2022 01:08:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670404110; cv=none; d=google.com; s=arc-20160816; b=wmJUvvfIEqGrUs7iWEBzMEfSi9ih2JzCNWC5/mP9ffV9MUWwR5znR/e8mHC9MZBZZT sHmotHeuVUEAIUVFuGz6ExX4hJbhxiqtmCXbu8ItClbzUEzG7XQml0YIbHL/sWJ+3Eum wn2wC/45/65TNKstfhfc/cErOKGiEpQ4W2lnow65onEtQUUY/BZ07ZdCp39ZZ0RqGw38 gBVFUaVNAiEFvPqrFyJhgHbfzrGprFLLD6hkAGYckpHac/A296zUjh7OeMfnWPM1iCwY aC5LfYaE+wbwjWY+0Ps9TV3K+PzYRP2Ep6s5eU4qtWtgiPt7Ifc+n6BpHaC3KtIyutTa Nd/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=aFUuCOOiYpWargj2Hxx4wMeTG9+2i0xp4Xulr1tAh5I=; b=kS+UW35p4yxqVzDF+FLcRSjLW4dfmnMhxllauqwepoCJL8jZXE/MxJVo9FGCPjoR60 TspUTIPdGWGQFw0DSAlIHvmE4y+f/1bHvC6cowGSdUbeuSzNyN7IfkyaIyaQKZl3HchF LcHhEuPC/9UFxb9t9CdtsOdXA7Zkv39y9l80bu2h/gOogtnH0BG5gj6OHvWNZ0Qxi8ju ZXLdxVNBbIqmFaBYZpciLpPESRNc7Uf53Yv67362Y0fN/rsZ84osdego5xMp4JuJStVl V4U2zznDLdw0AFKLEMdIURTubpeU6Mqv8O0tHCDtKn8wE1SGb0EuKPrmXwwd5wwKFkVh C0Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w+PrcUPZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xf5-20020a17090731c500b0078db1343eedsi4542137ejb.774.2022.12.07.01.08.10; Wed, 07 Dec 2022 01:08:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w+PrcUPZ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbiLGI5Y (ORCPT + 66 others); Wed, 7 Dec 2022 03:57:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbiLGI5W (ORCPT ); Wed, 7 Dec 2022 03:57:22 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DB8F6B for ; Wed, 7 Dec 2022 00:57:19 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id d14so18991331edj.11 for ; Wed, 07 Dec 2022 00:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=aFUuCOOiYpWargj2Hxx4wMeTG9+2i0xp4Xulr1tAh5I=; b=w+PrcUPZV5sQabnMiIjAHQDYVNHUfAPdie62LtsU7xJVmWCqBHqmOGKPerEgg+vvNz mLFwsVRbBZ5gwsYkcq2TYQU7k2mNOdwJ9DkxT1Cs3DSlF4s9xTENQ9r4S5qFlPHChMjZ 0WIHZpgVFkK16I1RvSRdIbPYeef37f6IoXnvz20e8wYuojNZBXNApPZMHf0Ap912GY4L 0umkAAwOSC9Pr3VEBXC4COkjJNDxSYs9qtWbKFuPdf48Ow52XVLbdD+o++GqUz0DZRMv xTH24BUAzw7D7biqvLbG7ffVAN5QCKfYrtFaDWY52vPor4OVlbud/TgfSOgRAqaY1S4x TiwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=aFUuCOOiYpWargj2Hxx4wMeTG9+2i0xp4Xulr1tAh5I=; b=UliRFLwRQM1QLendp71HM/S35IkZ/KXSzVVCnA4lnCrAK18Paf6EP2+VC2y9VgwWjk 2vSFhkEH1yG264P1XSINjN51jheUMRNwaOQt6WEIweCNCA/G85B92XWnT0zS7K4KO3Hi DQamkwpaCwR5vlZcaRFRkQENBOl5FSQBxFDNVcdEdWsfLxpdyOaRm/pPF4r1Kbh3HdcF 2cAdVxuIbKjXDnPh43jLfy61XiC6TE3lkW8kv5bxg9MdM5SAEIj5w+uTYrLmO2qtAiDr CK1uRI0fcJUnJI5s+Y0G7V0ZFYVZrtnKKD/mWb5GvdS65k88EGlwWQQblbEh+HPBwk7/ TiCA== X-Gm-Message-State: ANoB5pkSUlBpnl889AeuOMi8O+oPWUBrKV+K8dUQ4mY+U7xWVAwb54MO hwLl92OtNZqH8DpzMoUL6Jcrag== X-Received: by 2002:a05:6402:e9c:b0:458:d064:a8c2 with SMTP id h28-20020a0564020e9c00b00458d064a8c2mr8428952eda.346.1670403437959; Wed, 07 Dec 2022 00:57:17 -0800 (PST) Received: from [192.168.31.208] ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id 2-20020a170906218200b007be886f0db5sm8175707eju.209.2022.12.07.00.57.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Dec 2022 00:57:17 -0800 (PST) Message-ID: <0a340c21-7794-dd50-0e5c-90abb37423f2@linaro.org> Date: Wed, 7 Dec 2022 09:57:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2] brcmfmac: Add support for BCM43596 PCIe Wi-Fi To: Linus Walleij , Arend van Spriel , Arend Van Spriel Cc: Kalle Valo , =?UTF-8?Q?Alvin_=c5=a0ipraga?= , Hector Martin , "martin.botka@somainline.org" , "angelogioacchino.delregno@somainline.org" , "marijn.suijten@somainline.org" , "jamipkettunen@somainline.org" , Franky Lin , Hante Meuleman , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marek Vasut , "Zhao, Jiaqing" , "Russell King (Oracle)" , "linux-wireless@vger.kernel.org" , "brcm80211-dev-list.pdl@broadcom.com" , "SHA-cyfmac-dev-list@infineon.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Krzysztof Kozlowski , Rob Herring , phone-devel@vger.kernel.org References: <20220921001630.56765-1-konrad.dybcio@somainline.org> <7fd077c5-83f8-02e2-03c1-900a47f05dc1@somainline.org> <20220922133056.eo26da4npkg6bpf2@bang-olufsen.dk> <87sfke32pc.fsf@kernel.org> <4592f87a-bb61-1c28-13f0-d041a6e7d3bf@linaro.org> <87fse76yig.fsf@kernel.org> <87bkov6x1q.fsf@kernel.org> <28991d2d-d917-af47-4f5f-4e8183569bb1@linaro.org> <6e4f1795-08b5-7644-d1fa-102d6d6b47fb@linaro.org> <62566987-6bd2-eed3-7c2f-ec13c5d34d1b@gmail.com> <21fc5c0e-f880-7a14-7007-2d28d5e66c7d@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 07/12/2022 00:37, Linus Walleij wrote: > On Tue, Dec 6, 2022 at 10:59 AM Konrad Dybcio wrote: > >> Yes, it does seem to work just fine! The kernel now looks for >> brcm/brcmfmac4359c-pcie.sony,kagura-row.bin as we would expect. > > So the Sony kagura needs a special brcmfmac firmware like so many > other mobile phones. There are a few Samsungs with custom firmware > as well. FWIW, Sony did a great job and agreed to license calibration files under CC0-1.0 [1] and the firmwares itself [2] have a Broadcom license attached to it. Konrad [1] https://github.com/sonyxperiadev/device-sony-kagura/commit/1f633325a3890864503b5e19f581d1b6a538996c [2] https://github.com/sonyxperiadev/vendor-broadcom-wlan/tree/master/bcmdhd/firmware > > Arend: what is the legal situation with these custom firmwares? > > I was under the impression that Broadcom actually made these, > so they could in theory be given permission for redistribution in > linux-firmware? > > Some that I have are newer versions than what is in Linux-firmware, > e.g this from linux-firmware: > > brcm/brcmfmac4330-sdio.bin > 4330b2-roml/sdio-ag-pool-ccx-btamp-p2p-idsup-idauth-proptxstatus-pno-aoe-toe-pktfilter-keepalive > Version: 5.90.125.104 CRC: 2570e6a3 Date: Tue 2011-10-25 19:34:26 PDT > > There is this found in Samsung Codina GT-I8160: > 4330b2-roml/sdio-g-p2p-aoe-pktfilter-keepalive-pno-ccx-wepso Version: > 5.99.10.0 CRC: 4f7fccf Date: Wed 2012-12-05 01:02:50 PST FWID > 01-52653ba9 > > Or: > brcmfmac4334-sdio.bin > 4334b1min-roml/sdio-ag-pno-p2p-ccx-extsup-proptxstatus-dmatxrc-rxov-pktfilter-keepalive-aoe-vsdb-wapi-wl11d > Version: 6.10.0.0 CRC: 31410dd4 Date: Tue 2012-06-26 11:33:07 PDT FWID > 01-8ee3be86 > > There is this found in Samsung Golden GT-I8190N: > 4334b1-roml/sdio-ag-p2p-extsup-aoe-pktfilter-keepalive-pno-dmatxrc-rxov-proptxstatus-vsdb-mchan-okc-rcc-fmc-wepso-txpwr-autoabn-sr > Version: 6.10.58.99 CRC: 828f9174 Date: Mon 2013-08-26 02:13:44 PDT > FWID 01-e39d4d77 > > So in some cases more than a year newer firmware versions > compared to linux-firmware, I guess also customized for the > phones, but I can't really tell because we don't have anything > of similar date in linux-firmware. > > Yours, > Linus Walleij