linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Invalid JP regulatory domain
@ 2009-01-26 19:30 Herton Ronaldo Krzesinski
  2009-01-26 23:16 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Herton Ronaldo Krzesinski @ 2009-01-26 19:30 UTC (permalink / raw)
  To: linux-wireless

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? I couldn't find proper information about the 
rules.

--
[]'s
Herton

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-26 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 19:30 Invalid JP regulatory domain Herton Ronaldo Krzesinski
2009-01-26 23:16 ` Luis R. Rodriguez

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).