All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Ben Adler <ben@phoenix-aerial.com>
Cc: brcm80211 development <brcm80211-dev-list@broadcom.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: BCM4330 linux support
Date: Fri, 6 Feb 2015 17:00:09 +0100	[thread overview]
Message-ID: <54D4E509.3090308@broadcom.com> (raw)
In-Reply-To: <54D4D37C.2060007@phoenix-aerial.com>

On 02/06/15 15:45, Ben Adler wrote:
> Arend, thanks for your prompt reply!
>
> On 06.02.2015 09:10, Arend van Spriel wrote:
>>> Arend, is it possible to make this chip work? Just STA, or also AP? If
>>> so, which firmware and NVRAM files will I need?
>>
>> Well, I have this chip running on regular x86 laptop using special
>> adapter boards and it also runs on i.MX6 board. The windows firmware and
>> nvram should work.
>
> Did you compare the md5 hash to your firmware? Are there different
> versions with different feature sets?

The dmesg.txt contains the version info:

version 5.97.39.4 FWID 01-c7b9d775

The FWID should tell me what specific build this was and what feature 
set it contains. Unfortunately I can not access our database.

> Does AP also work for you?

Yes, but not sure if your firmware supports it.

>  > Can you send a kernel log preferably with
>  > driver module loaded with 'debug=0xd416'.
>
> Ok, added the module options and powercycled:
>
> # cat /sys/module/brcmfmac/parameters/debug
> 54294
>
> Please find attached:
>
> 1) output of iw_list
>
> 2) dmesg.txt: simple bootup, nothing done to wlan0.
>
> 3) dmesg_sta.txt: I added wlan0 client configuration in ubuntu's
> /etc/network/interfaces, so it has launched wpa_supplicant, which
> probably is repsonsible for the errors at the end.

The errors are direct result of wpa_supplicant request, but it is not 
root cause. I suspend the sdhci-acpi controller driver to use 
runtime-pm. Could you try disabling that through sysfs? If I am not 
mistaken the bcm4330 is in mmc1.

mmc1: SDHCI controller on ACPI [INT33BB:00] using ADMA

So following should do the trick (as root):

# echo on > /sys/bus/acpi/INT33BB:00/power/control

Regards,
Arend

> 4) dmesg_hostapd.txt: dmesg output, hostapd config and output
>
> When I start neither wpa_supplicant nor hostapd, iwconfig says:
>
> wlan0 IEEE 802.11abgn ESSID:off/any
> Mode:Managed Access Point: Not-Associated
> Retry short limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:on
>
> When I configure wlan0 as STA, I get
>
> wlan0 IEEE 802.11abgn ESSID:off/any
> Mode:Managed Access Point: Not-Associated Tx-Power=1496 dBm
> Retry short limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:on
>
> (Note the txpower :)
>
> It seems like the debug options haven't really added much detail to
> dmesg. Do you need to see anything else? It's just a test install right
> now; I don't mind sharing SSH access.
>
> Thanks!
> Ben


  reply	other threads:[~2015-02-06 16:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54D3FF89.502@phoenix-aerial.com>
2015-02-06  9:10 ` BCM4330 linux support Arend van Spriel
2015-02-06 14:45   ` Ben Adler
2015-02-06 16:00     ` Arend van Spriel [this message]
2015-02-07  1:53       ` Benjamin Adler
2015-02-07 18:12         ` Arend van Spriel
2015-02-07 19:14           ` Benjamin Adler
2015-02-07 19:37             ` Arend van Spriel
2015-02-07 22:20               ` Benjamin Adler
2015-02-06 16:06     ` 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=54D4E509.3090308@broadcom.com \
    --to=arend@broadcom.com \
    --cc=ben@phoenix-aerial.com \
    --cc=brcm80211-dev-list@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.