Linux wireless drivers development
 help / color / mirror / Atom feed
From: Luciano Coelho <coelho@ti.com>
To: Ohad Ben-Cohen <ohad@wizery.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] wl12xx: fix roaming
Date: Fri, 01 Apr 2011 12:08:39 +0300	[thread overview]
Message-ID: <1301648919.1988.446.camel@cumari> (raw)
In-Reply-To: <1301495759-22507-1-git-send-email-ohad@wizery.com>

On Wed, 2011-03-30 at 16:35 +0200, Ohad Ben-Cohen wrote:
> The wl12xx device normally drops all frames coming from BSSID
> it is not joined with.
> 
> This behavior is configured today by the wl12xx driver in response
> to a handful of ieee80211_bss_change and ieee80211_conf_changed
> notification flags, such as BSS_CHANGED_ASSOC, BSS_CHANGED_BSSID,
> IEEE80211_CONF_CHANGE_IDLE, etc..
> 
> This breaks when we roam to a new BSSID, where authentication frames
> are sent before any BSS_CHANGED/CONF_CHANGED flags are received.
> When this happens the hardware silently drops the authentication
> responses, and the roaming fails.
> 
> Ideally this aggressive filtering behavior of the device should be disabled
> upon a notification from mac80211. Such notification will take place
> after multi-channel support will be added: mac80211 will likely send a
> remain-on-channel notification to drivers when entering sensitive
> states (like authentication), otherwise the firmware might jump to
> different channels (to serve a different role).
> 
> Until those notifications materialize, disable the hw BSSID filter
> when authentication requests are sent, so roaming would work.
> 
> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
> ---

Looks good!

Reviewed-by: Luciano Coelho <coelho@ti.com>

Applied to wl12xx.git.  Thanks!

-- 
Cheers,
Luca.


      reply	other threads:[~2011-04-01  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30 14:35 [PATCH] wl12xx: fix roaming Ohad Ben-Cohen
2011-04-01  9:08 ` Luciano Coelho [this message]

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=1301648919.1988.446.camel@cumari \
    --to=coelho@ti.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=ohad@wizery.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