linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@nokia.com>
To: ext Kalle Valo <kalle.valo@iki.fi>
Cc: ext Johannes Berg <johannes@sipsolutions.net>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"Oikarinen Juuso (Nokia-D/Tampere)" <juuso.oikarinen@nokia.com>
Subject: Re: [RFC 1/3] mac80211: WIP - add operating BSSID to device configuration struct
Date: Mon, 26 Oct 2009 11:52:37 +0200	[thread overview]
Message-ID: <4AE57165.5060309@nokia.com> (raw)
In-Reply-To: <87ljiyh5bv.fsf@purkki.valot.fi>

ext Kalle Valo wrote:
> Luciano Coelho <luciano.coelho@nokia.com> writes:
> 
>>>> As we discussed on IRC, it is really needed.  We must always provide a
>>>> BSSID when changing channels in preparation for an association.
>>> I'm not sure about the must part here. Maybe we can workaround it by
>>> using ff:ff:ff:ff:ff bssid during authentication and association and
>>> send a new join command after association. But that's not a clean
>>> solution.
>> During one of our camps with TI, they told us that we must send the
>> correct BSSID, otherwise we are going to have some side-effects.  At
>> least BT coext will be affected.  And we have also seen the firmware
>> send probe_reqs to ff:ff:ff:ff:ff:ff, which was causing problems.
>> The firmware is simply not designed to do this. 
> 
> So wl1271 sends a probe request in every join command?

Not for every join command, but we observed some time ago, that the firmware was 
sending broadcast probe_reqs on its own and we figured out that the issue was 
related to the broadcast join commands.  Again, we don't really know how the 
firmware works, because we don't have access to the source, but according to TI 
  we can experience weird side-effects if we try to do it as you propose (and as 
we were doing earlier).


>> You probably also remember that we have recently removed extra joins
>> from the wl1251 code as well, because they were causing some
>> problems.
> 
> I think in wl1251 we would be able to workaround this with a careful
> placement of join and disconnect commands, but it would be really
> complicated. Having proper support in mac80211 is much better choice.

In wl1251 it *may* work.  But not because the firmware supports it, but simply 
because you may be lucky and not trigger any unexpected side-effect.  In any 
case, it would really be a workaround and I think it would be better to have 
support for this on the stack, so we can do things as specified in the WiLink 
firmware APIs.  We probably have a slight chance of convincing TI to fix this in 
future firmwares, but I'm almost sure it won't happen for the wl1251 and it is 
very unlikely to happen for wl1271.

-- 
Cheers,
Luca.

  reply	other threads:[~2009-10-26  9:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16 12:27 [RFC 0/3] mac80211 operating bssid concept implementation Luciano Coelho
2009-10-16 12:27 ` [RFC 1/3] mac80211: WIP - add operating BSSID to device configuration struct Luciano Coelho
2009-10-22  8:55   ` Johannes Berg
2009-10-24  5:34     ` Luciano Coelho
2009-10-26  8:37       ` Kalle Valo
2009-10-26  9:10         ` Luciano Coelho
2009-10-26  9:28           ` Kalle Valo
2009-10-26  9:52             ` Luciano Coelho [this message]
2009-10-26  8:19   ` Kalle Valo
2009-10-26  9:11     ` Luciano Coelho
2009-10-16 12:27 ` [RFC 2/3] wl1271: WIP - use operating BSSID for joining and disconnecting Luciano Coelho
2009-10-16 12:27 ` [RFC 3/3] wl1271: WIP - remove workaround for disconnection Luciano Coelho

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=4AE57165.5060309@nokia.com \
    --to=luciano.coelho@nokia.com \
    --cc=johannes@sipsolutions.net \
    --cc=juuso.oikarinen@nokia.com \
    --cc=kalle.valo@iki.fi \
    --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).