linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: Arend van Spriel <arend@broadcom.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	brcm80211-dev-list <brcm80211-dev-list@broadcom.com>
Subject: Re: brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred
Date: Mon, 08 Jun 2015 15:48:09 +0200	[thread overview]
Message-ID: <1433771289.28058.24.camel@embedded.rocks> (raw)
In-Reply-To: <55758D7E.3000603@broadcom.com>

Hi Arend,

On Mo, 2015-06-08 at 14:41 +0200, Arend van Spriel wrote:
> On 06/08/15 14:35, Jörg Krause wrote:
> > Hi,
> > 
> > I've trouble creating the p2p interface on a BCM43362 wifi device
> > running Linux kernel 4.0.4:
> > 
> >      # dmesg | grep brcmfmac
> >      [    7.010870] brcmfmac: brcmf_c_preinit_dcmds: Firmware 
> > version =
> >      wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01
> > -b30a427d
> >      [    7.158905] brcmfmac: brcmf_cfg80211_reg_notifier: not a 
> > ISO3166
> >      code
> >      [   11.007164] brcmfmac: brcmf_p2p_create_p2pdev: timeout 
> > occurred
> > 
> > Trying to add the p2p interface manually:
> > 
> >      # iw phy0 interface add p2p0 type __p2pdev
> >      [  372.042704] brcmfmac: brcmf_link_down: WLC_DISASSOC failed 
> > (-52)
> >      [  373.637263] brcmfmac: brcmf_p2p_create_p2pdev: timeout 
> > occurred
> >      [  373.679377] brcmfmac: brcmf_cfg80211_del_key: invalid key 
> > index (4)
> >      [  373.685733] brcmfmac: brcmf_cfg80211_del_key: invalid key 
> > index (5)
> > 
> > Any idea?
> 
> Wondering whether it is similar to what Rafal reported. Can you do a 
> hexdump, ie. hexdump -C brcmfmac43362-sdio.bin | tail -30

I managed to set up the p2p interface by recompiling the kernel with
CONFIG_BRCMDBG and loading the brcmfmac module with p2pon=1.

I had a discussion some month ago with Hante Meulemann about setting up
the p2p interface. This is one of his replies:

    "For what I can see from the log is that we don’t get the event from
    the FW indicating that the p2p interface was created. This probably
    means that there is a bug in this FW for this device. I need to discuss
    this to see how much priority we can give this. The best option for you
    for the moment is to use the legacy method with the 'p2pon=1' command."

Best regards
Jörg Krause

  parent reply	other threads:[~2015-06-08 13:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 12:35 brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred Jörg Krause
2015-06-08 12:41 ` Arend van Spriel
2015-06-08 12:56   ` Jörg Krause
2015-06-08 13:48   ` Jörg Krause [this message]
2015-06-08 16:46     ` Arend van Spriel
2015-06-08 20:17       ` Jörg Krause
2015-06-08 21:14         ` Arend van Spriel
2015-06-08 21:19           ` Jörg Krause
2015-06-16  9:59           ` brcmfmac: Failed to create interface p2p-dev-p2p0: -28 (No space left on device) Jörg Krause
2015-06-16 14:26             ` Arend van Spriel
2015-06-18  6:13               ` Jörg Krause
2015-06-18  8:27                 ` Arend van Spriel
2015-06-18 20:07                   ` Jörg Krause
2015-06-21 21:18                     ` Arend van Spriel
2015-06-23 11:31                       ` Jörg Krause
2015-06-23 12:08                         ` Arend van Spriel
2015-07-07  7:47                           ` Jörg Krause
2015-07-23 11:05                             ` Jörg Krause

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=1433771289.28058.24.camel@embedded.rocks \
    --to=joerg.krause@embedded.rocks \
    --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).