Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4812331rwb; Tue, 20 Sep 2022 21:41:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM45bRMK43Oy1dSjmwc3CkrL03OwlPg0yXL2xZm7m0AfVpH8CmYS4ZjywXxz2NXlsDW/JamE X-Received: by 2002:a17:902:dad1:b0:178:1d6b:cf91 with SMTP id q17-20020a170902dad100b001781d6bcf91mr2972646plx.70.1663735311530; Tue, 20 Sep 2022 21:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663735311; cv=none; d=google.com; s=arc-20160816; b=X+Ntn1bmJ5wxSj4gGWAIFqjckKjF1TbxADDjnFsSeXTgnInJ2Dh+zzHRVYstFw9sPq DBnb8Tg7Dlnp2q5SD8Yw23GqwXAM8CkxhJxAAo3GzyVOMBNldgIsO3VzatTtpCBMiK+4 w5+BKjy+75f6F2bOpzNESESq/8nsN8wCKUzM5MlUSiQCmPEveuz9lvQ9RA72+yrM3TeT ZPaDHt4WqB0QgY+qnOFDFa6h9/zHrCgGBeZC29z2Kj8P0qZH0jfhwxocfeU1gjVEKJXh u8vEDr70TiIVw/AZHJNU21NmR8CcjDSs40uS+Bw1RydbdldGtGKcY4MrGis4ZrREfvxk 6ulA== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=BSrpJ+Kq+uJBClGMrE4Ml4SYeD749pY4Q0GYge3LNHM=; b=cExNUBNV182ka1TgA5h3ji09MS2HV2lL4m2bYbDJXGD0EIGFIwgCwVR8VNf8/Ke6kF hCpqfmTGpkeTEL3u4MI8oDeixxoZFXzNMJ6xIW54QjTfJwAcoHHOG5LVzQ1aavKlXBpn xTNvX1LyAaxVhSU0c4/gsnAGsoitDneyUf8XCTof9BFaQKy8/gw7MNtp7hfF6erDE45g oMOkXjc8sQM7DVbfErhEO7r6RqBzrdnBcML/25Hp8cF5p76BztGcwlFk7yAdwHInVy/j /qxtjUsy0B9onhErXKgudfJm/BJazzf5M0vzAspZ8WjnKL5cAQuGeGelyBKkfz3zyt+L tyRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=esOYtEqy; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u19-20020a63d353000000b004391c09ba03si1583943pgi.370.2022.09.20.21.41.38; Tue, 20 Sep 2022 21:41:51 -0700 (PDT) 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=@marcan.st header.s=default header.b=esOYtEqy; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231246AbiIUEh5 (ORCPT + 63 others); Wed, 21 Sep 2022 00:37:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231158AbiIUEhz (ORCPT ); Wed, 21 Sep 2022 00:37:55 -0400 Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5F007C761; Tue, 20 Sep 2022 21:37:53 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id CA8AD4206F; Wed, 21 Sep 2022 04:37:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1663735071; bh=odQVd1tz7cJZ7KRyVvcKpxukOPb4ofRNobcy12I03uI=; h=Date:To:Cc:References:From:Subject:In-Reply-To; b=esOYtEqyc0O5Qs2GCHG1rYcUTA+PvDAuhfTrdmr2th5ghJiV0jH+q/Gb82b7hEUSa +scLzSx4OdD11b55lm4ud4emBQzwskuuF4a/yptW/hdvnqQ8jTuIxdtYVPk5x1YbJ4 3fb1uVe1TRDpnyX/f+cyCs0TA/bpZ3wEIgv9xdjwS7rze6n9J1qVtum8Pt+qeyRwDT 5AyWkz0Xrg8Nf5d6EFn2k4t8hV6yMfpFUgPfYpX8jHIa8ylJ4VYs8n7PNH1LqXWUt4 9nahI8vUmSHqK9B4PcK+g84qGUM5tMJGE4JIDO9MYJRrRG4WBSBsbyVS3nimOG4ogr UT0ZDHUwVstqQ== Message-ID: <83b90478-3974-28e6-cf13-35fc4f62e0db@marcan.st> Date: Wed, 21 Sep 2022 13:37:42 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: es-ES To: Konrad Dybcio , ~postmarketos/upstreaming@lists.sr.ht Cc: martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, jamipkettunen@somainline.org, Arend van Spriel , Franky Lin , Hante Meuleman , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Linus Walleij , =?UTF-8?Q?Alvin_=c5=a0ipraga?= , Marek Vasut , "Zhao, Jiaqing" , "Russell King (Oracle)" , Soontak Lee , 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 References: <20220921001630.56765-1-konrad.dybcio@somainline.org> From: Hector Martin Subject: Re: [PATCH v2] brcmfmac: Add support for BCM43596 PCIe Wi-Fi In-Reply-To: <20220921001630.56765-1-konrad.dybcio@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 21/09/2022 09.16, Konrad Dybcio wrote: > Add support for BCM43596 dual-band AC chip, found in > SONY Xperia X Performance, XZ and XZs smartphones (and > *possibly* other devices from other manufacturers). > The chip doesn't require any special handling and seems to work > just fine OOTB. > > PCIe IDs taken from: https://github.com/sonyxperiadev/kernel/commit/9e43fefbac8e43c3d7792e73ca52a052dd86d7e3.patch > > Signed-off-by: Konrad Dybcio > --- > Changes since v1: > - rebased the patch against -next > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c | 2 ++ > drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 4 ++++ > drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 4 ++++ > 3 files changed, 10 insertions(+) > [...] > diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c > index f98641bb1528..2e7fc66adf31 100644 > --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c > +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c > @@ -81,6 +81,7 @@ static const struct brcmf_firmware_mapping brcmf_pcie_fwnames[] = { > BRCMF_FW_ENTRY(BRCM_CC_43570_CHIP_ID, 0xFFFFFFFF, 43570), > BRCMF_FW_ENTRY(BRCM_CC_4358_CHIP_ID, 0xFFFFFFFF, 4358), > BRCMF_FW_ENTRY(BRCM_CC_4359_CHIP_ID, 0xFFFFFFFF, 4359), > + BRCMF_FW_ENTRY(BRCM_CC_43596_CHIP_ID, 0xFFFFFFFF, 4359), So this works with the same firmware as 4359? That sounds a bit off. Is that really the case? brcmfmac4359-pcie isn't in linux-firmware, but presumably there is *some* semi-canonical firmware you can find for that chip that other people are already using. If that works on 43596 *and* you plan on using that firmware or some other firmware marked 4359, then this is fine. If you are using separate firmware that shipped with a 43596 device and isn't itself marked 4359, please make it a separate firmware entry. We can always symlink the firmwares if it later turns out there is no reason to have different ones for each chip. - Hector