linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Celejar <celejar@gmail.com>, Dan Williams <dcbw@redhat.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
	"Luis R. Rodriguez" <mcgrof@gmail.com>,
	wireless <linux-wireless@vger.kernel.org>,
	bcm43xx-dev <bcm43xx-dev@lists.berlios.de>,
	Luis Rodriguez <Luis.Rodriguez@Atheros.com>
Subject: Re: Can't connect to AP with hidden essid with 2.6.27-rc6
Date: Fri, 19 Sep 2008 13:49:01 -0700	[thread overview]
Message-ID: <20080919204901.GE7027@tesla> (raw)
In-Reply-To: <20080919160115.c591532c.celejar@gmail.com>

On Fri, Sep 19, 2008 at 01:01:15PM -0700, Celejar wrote:
> I think the problem I had was that on boot, the b43 / 80211 modules get
> loaded, but they don't seem to be calling CRDA, and I can't access my
> hidden essid AP.  Doing the module removal and reloading that Luis
> suggested causes CRDA to be called, and then things work fine.

b43 drivers don't yet use regulatory_hint() so you get stuck with the
defualt regulatory domain, which is world. To get out of world you
can use iw to set the regulatory domain as follows:

iw reg set US

this would be for the United States regulatory domain. To find your
alpha2 please check:

http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Our current database can be viewed here:

Web view:

http://wireless.kernel.org/en/developers/Regulatory/Database

gitweb:

http://git.kernel.org/?p=linux/kernel/git/mcgrof/crda.git;a=blob;f=db.txt;hb=HEAD

(Note: this database will soon be moved to another separate tree apart
from crda)

If you have updates for this database please read this:

http://wireless.kernel.org/en/developers/Regulatory#Sendingupdatestotheregulatorydatabase

Please note though that you *don't have to reload the module* to fix
this issue, all you have to do is to use iw to set the regulatory domain.
Eventually what can be done is userspace networking applets like
NetworkManager can send the same nl80211 request to the wireless core
after bootup. A country can then be configurable by the user through the
applet.

Another alternative is for distributions to call the iw command on the
country alpha2 based on the locale. Basically there's many ways to do
it. Drivers can also just call the regulatory hint based on their
EEPROM, an example driver doing this already is zd1211rw.

  Luis

      reply	other threads:[~2008-09-19 20:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080916220904.75283811.celejar@gmail.com>
     [not found] ` <48D06B9E.70307@lwfinger.net>
     [not found]   ` <20080918004509.23a4bdc9.celejar@gmail.com>
     [not found]     ` <48D1E42C.70904@lwfinger.net>
     [not found]       ` <20080918015202.8c5f6381.celejar@gmail.com>
     [not found]         ` <48D24911.80101@lwfinger.net>
     [not found]           ` <20080918160957.94ea063d.celejar@gmail.com>
     [not found]             ` <48D2D728.6070105@lwfinger.net>
     [not found]               ` <20080919001050.d9ed273a.celejar@gmail.com>
2008-09-19 16:13                 ` Can't connect to AP with hidden essid with 2.6.27-rc6 Larry Finger
2008-09-19 18:05                   ` Luis R. Rodriguez
2008-09-19 18:27                     ` Celejar
2008-09-19 18:33                       ` Luis R. Rodriguez
2008-09-19 19:18                       ` Larry Finger
2008-09-19 20:01                         ` Celejar
2008-09-19 20:49                           ` Luis R. Rodriguez [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=20080919204901.GE7027@tesla \
    --to=lrodriguez@atheros.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=Luis.Rodriguez@Atheros.com \
    --cc=bcm43xx-dev@lists.berlios.de \
    --cc=celejar@gmail.com \
    --cc=dcbw@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@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).