From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Luis Rodriguez <Luis.Rodriguez@Atheros.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
Tony Vroon <tony@linx.net>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
reinette chatre <reinette.chatre@intel.com>
Subject: Re: IWL5300, 2.6.29-rc4, CRDA 1.0.1: Missing out 802.11A frequency ranges
Date: Tue, 17 Feb 2009 11:06:46 -0800 [thread overview]
Message-ID: <20090217190646.GC4257@tesla> (raw)
In-Reply-To: <20090217184230.GA4257@tesla>
On Tue, Feb 17, 2009 at 10:42:30AM -0800, Luis Rodriguez wrote:
> On Mon, Feb 16, 2009 at 07:47:33AM -0800, John W. Linville wrote:
> > On Mon, Feb 16, 2009 at 12:08:44PM +0000, Tony Vroon wrote:
> > > Just to confirm, if I use my early-boot hook that I used for your iw
> > > list to set the regulatory domain manually (iw reg set GB) all is well.
> > > If I allow the driver stack to get to the association stage without
> > > setting a regulatory domain, I can never get my 802.11A spectrum back
> > > after the fact.
> > > Would you still see this as a bug or rather a specific requirement of
> > > the new interface that hasn't yet been documented?
> >
> > Seems like a bug, or at least an unintended consequence of intersection...?
Sorry for the blank e-mail.
You are reporting you are disabling OLD_REG and your 5 GHz on iwlagn is disabled
upon bootup. You also reported from your log:
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: calling CRDA failed - unable to update world regulatory domain, using static definition
This indicates to me your regulatory domain was simply never updated by CRDA. So what
would have happened is that iwlagn registers its device to mac80211 via ieee80211_register_hw()
then mac80211 registers it with cfg80211 via wiphy_register(). Upon that call cfg80211 will update
the device's regulatory ifnromation by calling
wiphy_update_regulatory(wiphy, REGDOM_SET_BY_CORE);
This in turn will check to see if it should ignore the request, and in your case
the check is:
if (!last_request)
return true;
if (setby == REGDOM_SET_BY_CORE &&
wiphy->custom_regulatory)
return true
Since iwlagn sets wiphy->custom_regulatory to true and since upon registration setby is
REGDOM_SET_BY_CORE the device will be ignored to change the regulatory domain. I see I
currently see no reason why your 5 GHz channels will be disabled unless I'm missing
something or the card's EEPROM disables them.
To debug this further we need more information. So please provide the output of both
the kernel *and*, 'iw list' _prior_ to associating to your AP. Before you do so please
recompile wireless-testing with these options enabled:
# Intel debug
CONFIG_IWL_DEBUG_INFO=y
# Cfg80211 regulatory debug
CONFIG_CFG80211_REG_DEBUG=y
So to re-iterate: I want both your kernel log _and_ 'iw list' output prior to association.
Luis
next prev parent reply other threads:[~2009-02-17 19: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
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 [this message]
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=20090217190646.GC4257@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).