Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Ath Country Code Issue
Date: Mon, 13 Sep 2010 10:01:09 -0700	[thread overview]
Message-ID: <20100913170109.GD1824@tux> (raw)
In-Reply-To: <AANLkTi=wP=adD_WzLkriirvgKPuCey8X6LsjMAPUsQdv@mail.gmail.com>

On Thu, Sep 09, 2010 at 09:32:02AM -0700, Bill Jordan wrote:
> I have a system with 2 radios installed: an ath5k and an ath9k. The drivers are all compiled into the kernel, so the cards are initialized very early. I do not have udev running (yet); I'm doing things manually. When I run "COUNTRY=US crda", I get an intersection of 00 and US instead of just US.
> 
> I've got some debug enabled:
> 
> 
> PCI: enabling device 0000:00:01.0 (0340 -> 0342)
> ath5k 0000:00:01.0: registered as 'phy0'
> ath: EEPROM regdomain: 0x0
> ath: EEPROM indicates default country code should be used
> ath: doing EEPROM country->regdmn map search
> ath: country maps to regdmn code: 0x3a
> ath: Country alpha2 being used: US
> ath: Regpair used: 0x3a
> ath5k phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
> cfg80211: Calling CRDA for country: US
> PCI: enabling device 0000:00:02.0 (0340 -> 0342)
> ath: EEPROM regdomain: 0x0
> ath: EEPROM indicates default country code should be used
> ath: doing EEPROM country->regdmn map search
> ath: country maps to regdmn code: 0x3a
> ath: Country alpha2 being used: US
> ath: Regpair used: 0x3a
> cfg80211: Calling CRDA for country: US
> phy1: Atheros AR9160 MAC/BB Rev:0 AR5133 RF Rev:b0 mem=0xc48c0000, irq=27
> 
> sh# iw reg get
> country 00:
>     (2402 - 2472 @ 40), (6, 20)
>     (2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS
>     (2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
>     (5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
>     (5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
> sh# COUNTRY=US crda
> cfg80211: Current regulatory domain intersected:
>     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
>     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>     (2457000 KHz - 2472000 KHz @ 15000 KHz), (300 mBi, 2000 mBm)
>     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
>     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
> sh# iw reg get
> country 98:
>     (2402 - 2472 @ 40), (3, 20)
>     (2457 - 2472 @ 15), (3, 20), PASSIVE-SCAN, NO-IBSS
>     (5170 - 5250 @ 40), (3, 17), PASSIVE-SCAN, NO-IBSS
>     (5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
> 
> Since both radios are US, shouldn't I end up with the full US setting instead of an intersection?
> 
> If I remove one of the radios, I get the US domain settings.

Thank you for reporting this, this is a known bug, I will try to address soon,
unless someone beats me to it.

  Luis

      reply	other threads:[~2010-09-13 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 16:32 [ath9k-devel] Ath Country Code Issue Bill Jordan
2010-09-13 17:01 ` 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=20100913170109.GD1824@tux \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.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