From: Samuel Ortiz <sameo@linux.intel.com>
To: Arend van Spriel <arend@broadcom.com>
Cc: Bernd Wagener <Bernd.Wagener@Uni-Oldenburg.DE>,
Linux Wireless <linux-wireless@vger.kernel.org>,
brcm80211-dev-list <brcm80211-dev-list@broadcom.com>
Subject: Re: brcmfmac NVRAM files
Date: Wed, 5 Mar 2014 11:24:08 +0100 [thread overview]
Message-ID: <20140305102408.GB14401@zurbaran> (raw)
In-Reply-To: <5316E88D.7010605@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 2582 bytes --]
Hi Arend,
Thanks for your answers.
On Wed, Mar 05, 2014 at 10:04:13AM +0100, Arend van Spriel wrote:
> > So I finally found this NVRAM file, hidden somewhere in an EFI variable
> > (Thanks for the hint).
>
> That is actually the first occurrence of EFI I have come across in the
> wild, but I mentioned it as I caught up that this was considered for
> Win8(.1).
Yes, this device came with Win8 installed.
> > I have 2 questions for you:
> >
> > - How can I tell if the target properly loaded this NVRAM file ? Is
> > checking for wlan0's MAC to match the NVRAM MAC a good way to verify
> > that ?
>
> Actually, the MAC address in NVRAM should be a backup value. The device
> should have a MAC address programmed in OTP on the device itself. The
> driver itself reads back the NVRAM to assure it is properly loaded.
I'm asking this because when fetching the NVRAM file from UEFI, I
eventually noticed the 4 first bytes were garbage. I'm not sure how the
target will react to that, so I was looking for a way to verify that the
NVRAM was parsed and processed properly on the target side.
> > - I'm running this on an Asus T100 (x86 tablet). This is a BCM94324A1
> > over SDIO and I run wireless-next there (With your very latest
> > brcmfmac changes). I see the driver is quite unreliable, for example
> > scan times out most of the time as the driver puts the target to sleep
> > while it's in the middle of receiving partial scan results. I had to
> > increase BRCMF_WD_POLL_MS to 100ms to actually get scan results. Then
> > the driver seems to be having a hard time joining the couple of WPA
> > APs that I tested it against.
> > Am I missing something or are those instabilities to be expected with
> > the latest brcmfmac code ? Please let me know if you need debug logs,
> > I'll happily provide them.
>
> Great. Please send me a log with module parameter 'debug=0x31416' of the
> driver probe sequence.
I'm attaching the log corresponding to a modprobe brcmfmac debug=0x31416
&& ifconfig wlan0 up sequence.
I have modified this in the driver, to make it less aggressive about
SDIO sleeps:
sdio_host.h:
#define BRCMF_WD_POLL_MS 200
dhd_sdio.c:
#define BRCMF_IDLE_INTERVAL 20
> I also have 2 question for you ;-)
Sorry if I sounded a bit rude, I didn't mean it :-/
> - what mmc host controller is used?
So this is sdhci-acpi.
> - do you have CONFIG_RUNTIME_PM enabled?
CONFIG_PM_RUNTIME is enabled, yes. Do you want me to test with it
disabled ?
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
[-- Attachment #2: brcmfmac-0x31416.gz --]
[-- Type: application/octet-stream, Size: 26275 bytes --]
next prev parent reply other threads:[~2014-03-05 10:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 15:06 brcmfmac NVRAM files Samuel Ortiz
2014-02-17 16:33 ` Samuel Ortiz
2014-02-17 16:52 ` Bernd Wagener
2014-02-17 17:37 ` Arend van Spriel
2014-02-17 17:38 ` Arend van Spriel
2014-02-17 18:00 ` Samuel Ortiz
2014-02-17 18:27 ` Bernd Wagener
2014-02-18 9:58 ` Arend van Spriel
2014-03-05 2:31 ` Samuel Ortiz
2014-03-05 9:04 ` Arend van Spriel
2014-03-05 10:24 ` Samuel Ortiz [this message]
2014-03-05 16:15 ` Arend van Spriel
2014-03-05 16:50 ` Samuel Ortiz
2014-03-07 8:26 ` 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=20140305102408.GB14401@zurbaran \
--to=sameo@linux.intel.com \
--cc=Bernd.Wagener@Uni-Oldenburg.DE \
--cc=arend@broadcom.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).