Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3613999rwb; Sat, 3 Dec 2022 07:42:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7dwOcWTCAG6ZDDhIZcdIPvWwijWuRoawOmmZrRKlQwIToh6MSulWbbYD0se9JvXPvglPP5 X-Received: by 2002:a05:6402:24a0:b0:458:ad54:20d5 with SMTP id q32-20020a05640224a000b00458ad5420d5mr66046117eda.86.1670082154742; Sat, 03 Dec 2022 07:42:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670082154; cv=none; d=google.com; s=arc-20160816; b=OWg093BMUKYpms891aIa78KeRWmQP6T83+ywsCiSoCC1ZceD+NmXdXHO8eAxdIywJO ghpWFG9/+CNLi7gz/BG4CQRIT5hErw8JrcYDz9TW/qdkyTxFoi5NLKC9bnPn8d45hvuT UJ46s6/Pqw2WAPJ+1JZNOlHtM0dnUgoTU1dOzBD+M+FbyCyn1smIMDUOBwnrR5caTQ9g dx/1SEYgeK2QZq/uehITRaW06he+K5GVZ3OyjA+aTdSPR0olnjtoo0eswg9zhZsjjAxg nwW1FfDsd7dm2SqENf2ZaZCcSeYNMX4Xcd//xscVJ7gNZGF/czB1L0ZlrUXoTUTNIs7y s37g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent:message-id :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature:dkim-signature; bh=Cxby3Wxpef6PbW5TfKh3VwJVzHeL11r3xJcU/ZRDVLo=; b=GUaJX0UcmAc15Z1kLGcluZyttRqOglGMf0krxQa5Teo2IajvYWpWWOm2qoGT6JwGtQ ko5IYUG4q+FEUBlR9Kqfjh3HITNHNoUak6BAFJyFJOhHB6nr468W4jRc02mN7UrTa73v y71OC2DrFuU59Kq7E59bE0lFAYW0huMvHmCrOQoGVOBkKkIvYXMwz47BLpm6vOa9Dc5D PumMnIKI5KcAptL9bgtc22VMQHztXuHYAL1EYkX2PuuEgHa0vgvqHFZmlrmPaHgBYAUk mnfRLm6K0Mr9/gwvhAqzRTNzApohpIHF2wuh1Dve6WHKntLd+7V2zM2tQt7tVzFnTlPn tBhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@akkea.ca header.s=mail header.b=nUCUW+Lg; dkim=pass header.i=@akkea.ca header.s=mail header.b="Iff/axI4"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020aa7d843000000b0046af37a9a54si7574508eds.163.2022.12.03.07.42.16; Sat, 03 Dec 2022 07:42:34 -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=@akkea.ca header.s=mail header.b=nUCUW+Lg; dkim=pass header.i=@akkea.ca header.s=mail header.b="Iff/axI4"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbiLCPh0 (ORCPT + 66 others); Sat, 3 Dec 2022 10:37:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbiLCPhY (ORCPT ); Sat, 3 Dec 2022 10:37:24 -0500 Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD021201A3 for ; Sat, 3 Dec 2022 07:37:18 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 8A93D4E2006; Sat, 3 Dec 2022 15:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1670081838; bh=Cxby3Wxpef6PbW5TfKh3VwJVzHeL11r3xJcU/ZRDVLo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=nUCUW+LgMe/l8am13tdID1pE3RJslG4VKG3kYyMG3arzLVNcUbR98IejMI30Fmx1k OqCSJbEjffIW354rqvj4r8rWeb3oDEMfF9NuGCXr8LSkhWRRhiXDLfoINQdph0t0KH v0/lPeWnBI2/5R2nimEtgYo5z2dlHE23ZDUqoyPo= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i7R-mh0nxaB8; Sat, 3 Dec 2022 15:37:17 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id D4ACB4E2003; Sat, 3 Dec 2022 15:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1670081837; bh=Cxby3Wxpef6PbW5TfKh3VwJVzHeL11r3xJcU/ZRDVLo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Iff/axI4kRUjCU4tUSRavhdKrc/arynCw96c1D+j+o12PrtIFhGQWaK3Ky3/E/M7r l/l/nf6w6bDn9ZnLNp4FjnU/w51hSdO77d+bV+p4uW+LtfRCp9eZdzti5k+Sb9Li5V iAwv8ihI6rgshhtgql0HG6TiKQ61asa+lHjt3i+M= MIME-Version: 1.0 Date: Sat, 03 Dec 2022 07:37:17 -0800 From: Angus Ainslie To: Arend Van Spriel Cc: Andy Green , Shengyu Qu , franky.lin@broadcom.com, linux-wireless@vger.kernel.org Subject: Re: AP6275 / bcm43752 pcie on mainline brcmf In-Reply-To: <184d89525a0.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> References: <08416710-655a-c87c-a599-3fe2563f7de4@warmcat.com> <18470a1e910.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <184720fc920.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <625f1d5d-e137-7ad7-96b9-92035e87df8b@broadcom.com> <638afa8e-a393-410c-3182-0d8e9b6da17d@warmcat.com> <7bf5884906b1abc30adebd3c915a3259@akkea.ca> <18486ca8490.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <3163e341-bcfc-a2c3-f0e1-5b62c9da2f43@broadcom.com> <852dcabac6bd70a7d55b5ea3f6b0df20@akkea.ca> <184d89525a0.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> Message-ID: X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.17 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 2022-12-03 07:22, Arend Van Spriel wrote: > On December 3, 2022 2:56:39 PM Angus Ainslie wrote: > >> On 2022-11-29 11:48, Arend van Spriel wrote: >>> On 11/17/2022 7:36 PM, Angus Ainslie wrote: >>>> On 2022-11-17 10:12, Arend Van Spriel wrote: >>>>> On November 17, 2022 5:06:25 PM Angus Ainslie >>>>> wrote: >>>>> >>>>>> On 2022-11-17 04:01, Andy Green wrote: >>>>>>> On 11/17/22 09:23, Arend van Spriel wrote: >>>>>>>> On 11/16/2022 1:25 PM, Shengyu Qu wrote: >>>>>>>>> Got a new version of downstream driver and firmware here: >>>>>>>>> https://gitlab.com/rk3588_linux/linux/external/rkwifibt/-/tree/linux-5.10-gen-rkr3.4 >>>>>>>> >>>>>>>> Thanks for that. The firmware indeed seems to originate from >>>>>>>> Synaptics >>>>>>>> and this module can be found on wifi-alliance product finder: >>>>>>>> >>>>>>>> https://www.wi-fi.org/product-finder-results?sort_by=certified&sort_order=desc&keywords=ap6275 >>>>>>>> >>>>>>>> We have no known contacts there and they do not seem to have >>>>>>>> much >>>>>>>> interest in open-source. In that gitlab repo I see they are >>>>>>>> providing >>>>>>>> bcmdhd driver and I assume they consider that sufficient. >>>>>>>> >>>>>>>> Will see what I can do. First have to think on how to approach >>>>>>>> this >>>>>>>> failure to get most out of a debug effort. I do not have the >>>>>>>> module >>>>>>>> over here so we would need to go back and forth. The fact that >>>>>>>> the >>>>>>>> issue is seen on both SDIO and PCIe is somewhat encouraging. >>>>>>> >>>>>>> Yes it seems that at some point with some firmware, SDIO has >>>>>>> worked >>>>>>> for, eg, Angus. And, it should work well with bchdhd (but that >>>>>>> does >>>>>>> not seem to work for scan for me on v6.1-rc5 uplevel with the >>>>>>> firmware >>>>>>> load changed to use kernel apis; but the firmware has no timeout >>>>>>> on >>>>>>> bcmdhd). So it doesn't feel a million miles away. >>>>>> >>>>>> This is the firmware we have been using for SDIO. It was sent to >>>>>> us >>>>>> directly by SparkLAN so not sure how it compares to other >>>>>> variants. >>>>>> >>>>>> https://source.puri.sm/Librem5/firmware-brcm43752-nonfree/-/tree/master/firmware/brcm >>>>> >>>>> It is a tad bit older: >>>>> >>>>> $ strings brcmfmac43752-sdio.bin | grep FW-TAG >>>>> 4362a2-roml/config_sdio_ampak_release_he >>>>> Version=18.35.387.23.7 (b328500@shgit) (wlan=r880297) >>>>> Date=2020-07-13T10:34:00Z FWID=01-f50fdff0 >>>> >>>> Currently it's broken for hotspot mode but I haven't had the chance >>>> to >>>> see if that is FW or something further up the stack. >>> >>> Hi Angus, >>> >>> When you added support for this device in brcmfmac you marked it as a >>> Cypress device. Are you sure about that? AFAICT this device is coming >>> from Synaptics. >> >> Hi Arend, >> >> I assumed Cypress based on the fact that it most closely resembled the >> 4373 from the driver side. > > Right. Both are based on the same chip architecture that they brought > from Broadcom so the similarities are not surprising. > >> How would I figure out whether it's Cypress or Synaptics ? >> >> When I search the web for it I only find SparkLAN or "AMPAK >> technology" >> references. > > Earlier my colleague Franky found this link to WFA certificate: > > https://api.cert.wi-fi.org/api/certificate/download/public?variantId=103641 > > WFA and FCC are usually good sources of info. Also the product pages > of the vendors are worth checking. I have them bookmarked out of > professional interest ;-) > I did find FCC references but those seemed ambiguous as well. Thanks for the wi-fi.org link. Should I send a patch renaming SDIO_DEVICE_ID_BROADCOM_CYPRESS_43752 -> SDIO_DEVICE_ID_BROADCOM_43752 ? Thanks Angus > Regards, > Arend