From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Tony Vroon <tony@linx.net>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
reinette chatre <reinette.chatre@intel.com>,
"John W. Linville" <linville@tuxdriver.com>
Subject: Re: IWL5300, 2.6.29-rc4, CRDA 1.0.1: Missing out 802.11A frequency ranges
Date: Mon, 9 Feb 2009 18:07:08 -0800 [thread overview]
Message-ID: <20090210020708.GC4386@tesla> (raw)
In-Reply-To: <1234230689.3793.15.camel@localhost>
On Mon, Feb 09, 2009 at 05:51:29PM -0800, Tony Vroon wrote:
> On Mon, 2009-02-09 at 17:39 -0800, Luis R. Rodriguez wrote:
> > In Intel's case the first regulatory domain is ignored (world). To see,
> > before associating to an AP try running 'iw list'.
>
> I will remove NetworkManager & gdm from the default runlevel and try
> that, yes.
>
> > I noticed that, what ends up happening then is the static world regulatory
> > domain is used from the kernel. I take it you used an initramfs with the
> > sda driver in there?
>
> No. There's an initramfs, but it's only used to unlock the encrypted
> root filesystem. The actual driver for sda (ata_piix) is in the kernel.
Intersting -- this is the first case I hear about this.
> > I've been using initramfs too but for some reason
> > on my system udev triggers the request eventually after the drive
> > is mounted. So this is the first time I hear of this.
>
> I have another user reporting it on PowerPC, without an encrypted root.
Are they also disabling OLD_REG? Note that the only routine I see
failing then in the initial:
err = __regulatory_hint(NULL, REGDOM_SET_BY_CORE, "00", 0, ENVIRON_ANY);
Is a kmalloc() (unlikely) or call_crda() failing, and call_crda() will
only fail if kobject_uevent_env() fails and last I checked that would
fail only if the kernel failed to build and emit the udev event (it doesn't mean
CRDA was not present, it should mean udev never got the udev event IIRC).
> > I also noticed though:
> >
> > cfg80211: Calling CRDA for country: GB
> > cfg80211: Current regulatory intersected:
> > (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> > (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> >
> > This seems to indicate to me you manually ran:
> >
> > sudo iw reg set GB
> >
> > Is that the case?
>
> Eventually, yes.
Oh? Hmm.. if we leave the channel intact before applying the intersected
regulatory domain and if 'iw list' shows the 5 GHz channels it should mean
they are left enabled, I'm a bit puzzled myself, unless I'm missing something.
> To see if that would clear things up, but it didn't.
> Even if I just leave the AP 802.11d info to fill in the regulatory
> information (which you can see higher up, as it has the information
> slightly wrong and includes channel 14 together with very high radio
> power) the 5GHz channels are not included.
Heh :)
> As said, will do an iw list with no other software having fiddled with
> anything yet. The Cisco APs are in the vicinity so I may not be able to
> stop them picking up the 80211d info though.
Actually we don't follow country IE hints in Linux until we associate
to an AP so you should be good.
Luis
next prev parent reply other threads:[~2009-02-10 2:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 18:09 IWL5300, 2.6.29-rc4, CRDA 1.0.1: Missing out 802.11A frequency ranges Tony Vroon
2009-02-09 18:20 ` Luis R. Rodriguez
2009-02-09 18:22 ` Luis R. Rodriguez
2009-02-09 18:23 ` Tony Vroon
2009-02-09 18:39 ` John W. Linville
2009-02-09 19:21 ` Tony Vroon
2009-02-09 19:35 ` Tony Vroon
2009-02-10 1:39 ` Luis R. Rodriguez
2009-02-10 1:51 ` Tony Vroon
2009-02-10 2:07 ` Luis R. Rodriguez [this message]
2009-02-11 19:19 ` Tony Vroon
2009-02-11 21:46 ` Luis R. Rodriguez
2009-02-13 10:55 ` Tony Vroon
2009-02-14 4:52 ` Luis R. Rodriguez
2009-02-14 5:02 ` Luis R. Rodriguez
2009-02-16 12:08 ` Tony Vroon
2009-02-16 15:47 ` John W. Linville
2009-02-17 18:42 ` Luis R. Rodriguez
2009-02-17 19:06 ` Luis R. Rodriguez
2009-02-20 6:12 ` Luis R. Rodriguez
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=20090210020708.GC4386@tesla \
--to=lrodriguez@atheros.com \
--cc=Luis.Rodriguez@Atheros.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=reinette.chatre@intel.com \
--cc=tony@linx.net \
/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).