From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Invalid JP regulatory domain
Date: Mon, 26 Jan 2009 15:16:31 -0800 [thread overview]
Message-ID: <20090126231631.GD19242@tesla> (raw)
In-Reply-To: <200901261730.29555.herton@mandriva.com.br>
On Mon, Jan 26, 2009 at 11:30:28AM -0800, Herton Ronaldo Krzesinski wrote:
> Hi,
>
> While trying to set JP as regulatory domain I get in my kernel log:
> cfg80211: Calling CRDA for country: JP
> cfg80211: Invalid regulatory domain detected:
> cfg80211: Regulatory domain: JP
> (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> (2474000 KHz - 2494000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> (4910000 KHz - 4930000 KHz @ 10000 KHz), (N/A, 2300 mBm)
> (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
> (4930000 KHz - 4950000 KHz @ 10000 KHz), (N/A, 2300 mBm)
> (5030000 KHz - 5045000 KHz @ 10000 KHz), (N/A, 2300 mBm)
> (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
> (5050000 KHz - 5060000 KHz @ 10000 KHz), (N/A, 2300 mBm)
> (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2300 mBm)
>
> Looks like the check "freq_range->max_bandwidth_khz > freq_diff" fails in
> net/wireless/reg.c (is_valid_reg_rule function) for the second and third
> ranges. Got this with wireless-regdb-2009-01-15 and kernel 2.6.28.1
>
> Is there some error in regulatory domain ranges for JP, or kernel check
> missing something additional?
You are right, the bandwidth was the issue, I'll send a patch now. Thanks for
reporting this!
> I couldn't find proper information about the
> rules.
I'll try add documentation for that, thanks.
Luis
prev parent reply other threads:[~2009-01-26 23:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 19:30 Invalid JP regulatory domain Herton Ronaldo Krzesinski
2009-01-26 23:16 ` 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=20090126231631.GD19242@tesla \
--to=lrodriguez@atheros.com \
--cc=herton@mandriva.com.br \
--cc=linux-wireless@vger.kernel.org \
/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).