linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Seth Forshee <seth.forshee@canonical.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "Arend van Spriel" <arend@broadcom.com>,
	"Jonathan Nieder" <jrnieder@gmail.com>,
	Camaleón <noelamac@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"sgruszka@redhat.com" <sgruszka@redhat.com>
Subject: Re: brcmsmac still woes, possible regression?
Date: Wed, 16 May 2012 15:15:21 -0500	[thread overview]
Message-ID: <20120516201521.GA22946@thinkpad-t410> (raw)
In-Reply-To: <20120511173149.GA20232@ubuntu-mba>

On Fri, May 11, 2012 at 10:31:49AM -0700, Seth Forshee wrote:
> > > I've sent RFC patches that strip out the vast majority of this code in
> > > favor of better integration with the protocol-level regulatory support.
> > > The piece that's under discussion here is a behavior I maintained in my
> > > changes, which mutes tx on passive scan channels until data is received
> > > on a given channel. But in my opinion, if this sort of behavior is
> > > desired it ought to be implemented at the protocol level instead of in
> > > the driver, so I'd really prefer to see it removed from brcmsmac.
> > 
> > This isn't implemented in mac80211, and since some HW (e.g. ours)
> > implements it in lower levels, I don't think you can just generally say
> > it has to be in mac80211 now.
> 
> I guess I need to familiarize myself with the situation for other
> hardware then, which I will do next week when I'm not at a conference.
> It just seems to me that if we want to enforce consistent regulatory
> behavior for all HW then mac80211 is the logical place to implement it.

I had a look at iwlwifi, and I see how passive channels are being
handled. I don't understand though how having this functionality in
mac80211 would hurt iwlwifi, but perhaps we can find an acceptible
solution.

Actually the support already present for regulatory beacon hints would
probably suit this purpose fairly well, and in fact it already does seem
to work for some channels. But for reasons I don't understand the beacon
hints are only processed for channels with IEEE80211_CHAN_RADAR cleared,
making it ineffective for most of the 5 GHz band. If this was changed to
at least give the driver some indication that a beacon has been seen on
the channel (even just setting chan->beacon_found) then drivers should
be able to use it to know when tx can be enabled on passive channels.

Cheers,
Seth


  reply	other threads:[~2012-05-16 20:15 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24  8:55 brcmsmac still woes, possible regression? Camaleón
2012-03-24  9:27 ` Arend van Spriel
2012-03-24 10:04   ` Camaleón
2012-03-24 11:21     ` Camaleón
2012-03-26  9:23       ` Arend van Spriel
2012-03-26  9:43         ` Camaleón
2012-03-26 10:10           ` Arend van Spriel
2012-03-26 21:28             ` Camaleón
2012-03-27  8:47               ` Arend van Spriel
2012-03-28 11:19                 ` Arend van Spriel
2012-03-28 11:26                   ` Camaleón
2012-03-28 12:23                     ` Arend van Spriel
2012-03-28 21:59                       ` Camaleón
2012-03-29 11:56                         ` Arend van Spriel
2012-03-29 13:38                           ` Camaleón
2012-04-02 13:29                             ` Camaleón
2012-04-02 21:50                               ` Jonathan Nieder
2012-04-03  6:25                                 ` Camaleón
2012-04-03 15:30                                 ` Arend van Spriel
2012-05-09  9:41                                   ` Jonathan Nieder
2012-05-09 10:23                                     ` Arend van Spriel
2012-05-09 10:29                                       ` Jonathan Nieder
2012-05-09 10:32                                         ` Arend van Spriel
2012-05-09 17:41                                       ` Seth Forshee
2012-05-09 18:01                                         ` Arend van Spriel
2012-05-09 18:10                                           ` Johannes Berg
2012-05-10 16:35                                             ` Seth Forshee
2012-05-11  9:32                                               ` Johannes Berg
2012-05-11 17:31                                                 ` Seth Forshee
2012-05-16 20:15                                                   ` Seth Forshee [this message]
2012-05-29  7:16                                                     ` Johannes Berg
2012-03-26 14:32         ` Seth Forshee
2012-03-26 16:54           ` Arend van Spriel
2012-03-26 17:13             ` Seth Forshee
2012-03-26 17:15               ` 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=20120516201521.GA22946@thinkpad-t410 \
    --to=seth.forshee@canonical.com \
    --cc=arend@broadcom.com \
    --cc=johannes@sipsolutions.net \
    --cc=jrnieder@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=noelamac@gmail.com \
    --cc=sgruszka@redhat.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).