← Back to team overview

kernel-packages team mailing list archive

[Bug 1366494] Re: CRDA - Resetting country when adapter is hard-coded in PROM

 

Running Ubuntu 12.04.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to wireless-crda in Ubuntu.
https://bugs.launchpad.net/bugs/1366494

Title:
  CRDA - Resetting country when adapter is hard-coded in PROM

Status in “wireless-crda” package in Ubuntu:
  New

Bug description:
  I have 3 wireless adapters.  One is built in and present on boot
  (ath5k).  This adapter respects the REGDOMAIN= setting in
  /etc/default/crda.  I then plug in a USB adapter, an Alpha with a
  RTL8187 chipset (AWUS036H).  REGDOMAIN is still respected.  Finally, I
  plug in another USB adapert, another Alpha but this one with a AR9271
  chipset (AWUS036NHA).  This adapter has the regulatory domain set in
  the EEPROM, which for some reason is set to GB. The problem is that
  when plugged in, the regulatory domain for all of my adapters are now
  being set to GB.  To correct the problem I have to do a "iw reg set
  xx" and then "iwconfig yyy txpower=z" to get the first two adapters
  back to their proper power levels.

  Plugging in that final adapter should not effect the settings for
  first two!

  The key lines in dmesg read:

  ath: EEPROM regdomain: 0x833a
  ath: EEPROM indicates we should expect a country code
  ath: doing EEPROM country->regdmn map search
  ath: country maps to regdmn code: 0x37
  ath: Country alpha2 being used: GB
  ath: Regpair used: 0x37

  after which cfg80211 does the reset.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wireless-crda/+bug/1366494/+subscriptions


References