All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Ath Country Code Issue
@ 2010-09-09 16:32 Bill Jordan
  2010-09-13 17:01 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Jordan @ 2010-09-09 16:32 UTC (permalink / raw)
  To: ath9k-devel

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.

Bill Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100909/79a9c82c/attachment.htm 

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

end of thread, other threads:[~2010-09-13 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-09 16:32 [ath9k-devel] Ath Country Code Issue Bill Jordan
2010-09-13 17:01 ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.