linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: "Rafał Miłecki" <zajec5@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"brcm80211 development" <brcm80211-dev-list@broadcom.com>
Subject: Re: brcmfmac: _brcmf_set_mac_address: Setting cur_etheraddr failed, -52
Date: Thu, 9 Jul 2015 20:08:23 +0200	[thread overview]
Message-ID: <559EB897.1020509@broadcom.com> (raw)
In-Reply-To: <CACna6rzfb5-eGD8EgEHM05nJ5FWPnkEkW_fTxNg-3-=PCknv-Q@mail.gmail.com>

On 07/09/2015 09:07 AM, Rafał Miłecki wrote:
> Hey guys, I'm afraid I hit another brcmfmac bug.
>
> First of all, I implemented a trivial workaround for the previous bug
> reported in the:
> brcmfmac: one faulty "iw interface add" command breaks in-firmware BSS state
> See my workaround in OpenWrt git:
> http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=0e6c9bd9556eea98b476ad371d64d8d16e3a9f9c
>
> So now OpenWrt's user space calls using "iw" tool don't trigger
> brcmfmac BSSes bug anymore. I can successfully use one AP interface
> per device.
>
> The problem appears when trying to use more than 1 interface. It gets
> created correctly, but setting its MAC fails. It results in wlan0-1
> having the same MAC as wlan0 and finally having two networks (SSIDs)
> using the same MAC. That obviously doesn't work.

Can we please take one step back. I am not understanding how you guys 
use the multiple interfaces. The multiple AP interfaces in brcmfmac are 
only intended for Multiple-BSS feature as described in hostapd.conf 
which changes wlan0 from STA to AP and creates additional AP interfaces, 
but you seem to be creating an AP interface with iw next to a STA interface.

I actually have patches pending that correct the announced interface 
combinations. I am currently on vacation as my family expanded with a 
baby girl.

Regards,
Arend

> The error I see is:
> brcmfmac: _brcmf_set_mac_address: Setting cur_etheraddr failed, -52
> with -52 meaning BCME_IE_NOTFOUND.
>


  parent reply	other threads:[~2015-07-09 18:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09  7:07 brcmfmac: _brcmf_set_mac_address: Setting cur_etheraddr failed, -52 Rafał Miłecki
2015-07-09 10:38 ` Rafał Miłecki
2015-07-09 12:08   ` Rafał Miłecki
2015-07-09 18:08 ` Arend van Spriel [this message]
2015-07-09 19:10   ` Rafał Miłecki

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=559EB897.1020509@broadcom.com \
    --to=arend@broadcom.com \
    --cc=brcm80211-dev-list@broadcom.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=zajec5@gmail.com \
    /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).