From: Hauke Mehrtens <hauke@hauke-m.de>
To: Arend van Spriel <arend@broadcom.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 00/19] brcmsmac: use sprom and PCIe code from bcma
Date: Sat, 02 Jun 2012 16:21:05 +0200 [thread overview]
Message-ID: <4FCA2151.50409@hauke-m.de> (raw)
In-Reply-To: <4FA02998.4000506@hauke-m.de>
On 05/01/2012 08:21 PM, Hauke Mehrtens wrote:
> On 05/01/2012 11:35 AM, Arend van Spriel wrote:
>> On 04/30/2012 12:45 AM, Hauke Mehrtens wrote:
>>> On 04/29/2012 06:45 PM, Arend van Spriel wrote:
>>>> What firmware are you using?
>>>
>>> On b43 I am using firmware version 666.2 from wl 5.100.138, but also
>>> older versions are working. On brcmsmac I am using bcm43xx-0.fw and
>>> bcm43xx_hdr-0.fw from the linux-firmware git repo.
>>>
>>> Does the ucode you provide in bcm43xx-0.fw and bcm43xx_hdr-0.fw support
>>> rev 17 ieee80211 cores? For b43 it is the same file for all n-phy based
>>> cores rev>= 16, so for wl it should be the same, but have you added
>>> some special handling into this firmware for brcmsmac?
>>>
>>> Hauke
>>>
>>
>> Yes, the firmware for brcmsmac is specifically for 43224, 43225, and
>> 4313. I have to check with the firmware guys here what is needed for 4718.
> I tried to load the firmware b43 uses (extracted from wl) in version
> 666.2 and my bcm43224 device is working with that firmware like with the
> firmware supposed for brcmsmac (bcm43xx-0.fw). after loading the b43
> firmware my bcm4718 does not show the "wl1: wlc_coreinit: ucode did not
> self-suspend!" line any more, but still "wlc_coreinit: txfifo mismatch:
> ucode size 111 driver size 28518 index 5" and crashes the device after
> that with a Data bus error.
>
> I am able to connect to a 5GHz AP in client mode with my bcm43224
> connected to the bcm4718 via PCIe with both firmware versions, but I am
> just getting 30.3 Mbits/sec as the maximum speed.
>
> Hauke
Hi Arend,
I added some more stuff for bcm4718 into brcmsmac and now it is working
in client mode with brcmsmac and the firmware from b43. There was some
code removed which is needed for this chip between the initial commit to
staging and now, I searched for it and added it again.
The BCM4718 only works when using the firmware b43 uses and not when
using the firmware brcmsmac is supposed to use, so there is a limitation
in the firmware to some devices not including bcm4718.
For now I am using a hacked code to load the firmware b43 uses, but I
will write a tool converting it to the format brcmsmac uses, or are you
planing to release a new firmware with support for bcm4718 in the next
few weeks?
With the firmware supposed for brcmsmac I get this message:
ieee80211 phy1: wl1: wlc_coreinit: ucode did not self-suspend!
and some more follow up errors.
The wireless speed is quite poor, I just get 12MBit/s in both
directions, less then with b43, but it uses ieee80211n rates, sirq is at
~70% when doing these transfers. I tested the wireless of the bcm4718
with iperf running on the device and on my PC, the access point was
using ath9k.
I will clean up my patches and will send them to the mailing list in the
next days.
The BCM5357 is not yet working and probably needs a updated nphy code.
Hauke
next prev parent reply other threads:[~2012-06-02 14:21 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-29 0:50 [PATCH 00/19] brcmsmac: use sprom and PCIe code from bcma Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 01/19] brcmsmac: use sprom " Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 02/19] brcmsmac: remove brcmsmac own sprom parsing Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 03/19] brcmsmac: get board and chip info from bcma Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 04/19] brcmsmac: remove support for cc rev < 20 Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 05/19] brcmsmac: remove references to PCI Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 06/19] brcmsmac: remove PCIe functions needed for PCIe core rev <= 10 Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 07/19] brcmsmac: remove pcicore_hwup() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 08/19] brcmsmac: remove ai_pci_setup() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 09/19] brcmsmac: remove ai_chipcontrl_epa4331 Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 10/19] brcmsmac: remove ai_gpiocontrol() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 11/19] brcmsmac: remove _ai_clkctl_cc() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 12/19] brcmsmac: remove pcicore_attach() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 13/19] brcmsmac: remove pcicore_find_pci_capability() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 14/19] brcmsmac: remove pcie_extendL1timer() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 15/19] brcmsmac: remove pcicore_fixcfg() Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 16/19] brcmsmac: remove nicpci.c Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 17/19] brcmsmac: do not access host_pci Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 18/19] brcmsmac: read PCI vendor and device id only for PCI devices Hauke Mehrtens
2012-04-29 0:50 ` [PATCH 19/19] brcmsmac: handle non pci in ai_deviceremoved() Hauke Mehrtens
2012-04-29 8:13 ` [PATCH 00/19] brcmsmac: use sprom and PCIe code from bcma Arend van Spriel
2012-04-29 13:21 ` Hauke Mehrtens
2012-04-29 16:45 ` Arend van Spriel
2012-04-29 22:45 ` Hauke Mehrtens
2012-05-01 9:35 ` Arend van Spriel
2012-05-01 18:21 ` Hauke Mehrtens
2012-06-02 14:21 ` Hauke Mehrtens [this message]
2012-05-02 6:06 ` Arend van Spriel
2012-05-02 22:34 ` Hauke Mehrtens
2012-05-03 6:13 ` Arend van Spriel
2012-05-03 6:18 ` Arend van Spriel
2012-05-03 11:46 ` Hauke Mehrtens
2012-05-08 12:39 ` Arend van Spriel
2012-05-09 9:00 ` Hauke Mehrtens
2012-05-09 9:26 ` Arend van Spriel
2012-05-09 22:27 ` Hauke Mehrtens
2012-05-10 12:14 ` Arend van Spriel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FCA2151.50409@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=arend@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.