linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Seth Forshee <seth.forshee@canonical.com>
To: linux-wireless@vger.kernel.org
Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>,
	Johannes Berg <johannes@sipsolutions.net>
Subject: Re: Problems with regulatory domain support and BCM43224
Date: Thu, 8 Mar 2012 11:41:02 -0600	[thread overview]
Message-ID: <20120308174101.GB28133@ubuntu-macmini> (raw)
In-Reply-To: <20120307194001.GA2506@ubuntu-macmini>

Adding some Cc's.

On Wed, Mar 07, 2012 at 01:40:01PM -0600, Seth Forshee wrote:
> I set up an AP recently in the 5 GHz band and noticed that a MacBook Air
> with BCM43224 wireless can't see it. iw shows that the 5260-5700 MHz
> frequency range is disabled. I compared this to an Intel Centrino 6205
> card which shows passive scanning is allowed in this range. Both show
> that they're using the world regulatory domain, and I can get the
> BCM43224 to see my AP when I force the domain to US.
> 
> I've been going through the regulatory code trying to understand what's
> happening, and while I haven't fully grokked it yet it seems to me the
> difference is that iwlwifi is setting WIPHY_FLAG_CUSTOM_REGULATORY and
> brcmsmac is not. iwlwifi isn't supplying a regulatory hint, and mac80211
> doesn't end up applying any regulatory settings due to the flag.
> brcmsmac supplies a hint using the country code it reads from its srom,
> "X0" (which Google tells me is an interim code that Apple uses while the
> actual country code is unknown). Since this code is bogus the world
> domain gets applied.
> 
> mac80211 doesn't appear to update the regulatory domain from the beacons
> unless connected to an AP that happens to be providing the country IE,
> so we're left in the unfortunate situation of being unable to scan
> certain frequencies unless the user connects to such an AP or sets the
> domain manually.

As I understand it, the DFS channels aren't included in the world domain
because Linux does not yet fully support DFS. But I can then specify a
domain that's known to require DFS on these channels, and they are
enabled. This seems illogical. If passive scanning is okay when we know
DFS is required, why can't it be enabled in the world domain when we
simply don't know if it's required?

Thanks,
Seth


  reply	other threads:[~2012-03-08 17:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 19:40 Problems with regulatory domain support and BCM43224 Seth Forshee
2012-03-08 17:41 ` Seth Forshee [this message]
2012-03-08 18:53   ` Luis R. Rodriguez
2012-03-08 19:07     ` Quan, David
2012-03-08 19:36       ` Luis R. Rodriguez
2012-03-08 19:45         ` Quan, David
2012-03-08 19:51           ` Luis R. Rodriguez
2012-03-08 20:07             ` Seth Forshee
2012-03-08 20:17               ` Luis R. Rodriguez
2012-03-08 21:01               ` Arend van Spriel
2012-03-08 21:06                 ` Luis R. Rodriguez
2012-03-08 21:31                   ` Arend van Spriel
2012-03-08 21:42                     ` Seth Forshee
2012-03-20 22:07                   ` Seth Forshee
2012-03-21 11:05                     ` Arend van Spriel
2012-03-21 14:19                       ` Seth Forshee
2012-03-21 17:51                         ` Arend van Spriel
2012-03-21 18:17                           ` Luis R. Rodriguez
2012-03-21 19:37                             ` Seth Forshee
2012-03-22  0:27                               ` Luis R. Rodriguez
2012-03-26 19:36                                 ` Seth Forshee
2012-04-04  2:46                                   ` Seth Forshee
2012-04-04  7:03                                     ` Arend van Spriel
2012-04-10 16:28                                     ` Seth Forshee
2012-04-11 10:16                                       ` Arend van Spriel
2012-04-11 13:39                                         ` Seth Forshee
2012-04-11 16:52                                           ` Arend van Spriel
2012-03-08 21:59             ` Seth Forshee
2012-03-08 22:12               ` Luis R. Rodriguez
2012-03-08 22:30                 ` Seth Forshee

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=20120308174101.GB28133@ubuntu-macmini \
    --to=seth.forshee@canonical.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@qca.qualcomm.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).