linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath/regd.c: regdomain 0x8000 fails to retrieve a regulatory domain pair
@ 2009-05-11 10:49 Joerg Albert
  2009-05-11 19:06 ` Luis R. Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Joerg Albert @ 2009-05-11 10:49 UTC (permalink / raw)
  To: linux-wireless; +Cc: Christian Lamparter, Luis R. Rodriguez

Plugging in a WNDA3100 (ar9170usb) I get the error

ath: No regulatory domain pair found, cannot continue

Seems like the EEPROM of the stick initializes regulatory.current_rd 
to 0x8000, current_rd_ext to 0. Is this a valid setting?

Looked into ath/regd.c, ath_regd_init():

ath_get_regpair(regdmn)

is called with regdmn == 0x8000 and returns NULL.

Shall that regdmn value be dealt with by

         if (reg->country_code == CTRY_DEFAULT &&
             regdmn == CTRY_DEFAULT)
                 reg->country_code = CTRY_UNITED_STATES;
?

wireless-testing is git v2.6.30-rc4-22735-gbd48c47, I run 
compat-wireless with a 2.6.29.2 kernel.

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

end of thread, other threads:[~2009-05-22 13:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 10:49 ath/regd.c: regdomain 0x8000 fails to retrieve a regulatory domain pair Joerg Albert
2009-05-11 19:06 ` Luis R. Rodriguez
     [not found]   ` <618D4DE9D5223A45A46C48063FD640451098774889@TAEXMB-01.global.atheros.com>
2009-05-21 17:16     ` Luis R. Rodriguez
2009-05-21 18:19       ` Gábor Stefanik
2009-05-21 19:03         ` Luis R. Rodriguez
2009-05-21 23:22       ` Joerg Albert
2009-05-21 23:57         ` Luis R. Rodriguez
2009-05-22  0:11           ` Luis R. Rodriguez
2009-05-22 13:12             ` Joerg Albert

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