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 17:39:41 -0800 [thread overview]
Message-ID: <20090210013941.GA4386@tesla> (raw)
In-Reply-To: <1234208152.6694.4.camel@localhost>
On Mon, Feb 09, 2009 at 11:35:52AM -0800, Tony Vroon wrote:
> Do correct me if I'm missing something here, but:
> cfg80211: Leaving channel 5180 MHz intact on phy0 - no rule found in
> band on Country IE
Looks good.
> How will leaving the channel intact help, if the static world domain
> turned it off in the first place?
In Intel's case the first regulatory domain is ignored (world). To see,
before associating to an AP try running 'iw list'.
> (Note that the CRDA request for the
> world domain is emitted by the kernel before /dev/sda is even attached,
> so needless to say that goes unserviced)
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? 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 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? If so then that would explain your 5 GHz channels
going missing. Technically we should not allow this though as the country
IE already had GB, I can send a patch for that but you could also not set
one up with iw manually and see the output if 'iw list'. Reason they would
have gone missing is that cfg80211 already has the intersected regulatory
domain present and if you issue a a user that you the country you are in
we will perform an intersection with what we have already and that of
the country you specificy and in that case the intersection yields no 5 GHz
channels. The band exception only occurs on country IEs. But regardless
trying to set the reg domain to manually if the country IE already had that
should result in a no-op. Will have to fix that.
Luis
next prev parent reply other threads:[~2009-02-10 1:40 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 [this message]
2009-02-10 1:51 ` Tony Vroon
2009-02-10 2:07 ` Luis R. Rodriguez
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=20090210013941.GA4386@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).