Search Linux Wireless

Re: ath/regd.c: regdomain 0x8000 fails to retrieve a regulatory domain pair

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 11, 2009 at 03:49:20AM -0700, Joerg Albert wrote:
> 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.

Thanks for reporting this.

Stephen do ar9170 cards get sold with a regulatory domain set to 0x8000?
If so we need to deal with this in the common ath.ko module and set the regulatory
domain as intended.

If we are not sure we can simply default to one of the world regulatory domains for
this specific case, 0x64, for example.

Thanks,

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux