linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* regulatory domain settings overwritten
@ 2012-11-27  7:50 Erich Titl
  2012-11-27  9:55 ` Julian Calaby
  0 siblings, 1 reply; 13+ messages in thread
From: Erich Titl @ 2012-11-27  7:50 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 2836 bytes --]

Hello

I am trying to set up wireless support on an embedded X86 based device
(PCengines WRAP) using an atheros based CM-9 card manufactured by
Wistron Neweb.

I am using cfg80211 with the internal regulatory domain database. I am
observing the following with dmesg

[  133.324451] cfg80211: Calling CRDA to update world regulatory domain
[  133.344421] cfg80211: World regulatory domain updated:
[  133.346021]     (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[  133.347622]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[  133.348902]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi,
2000 mBm)
[  133.349842]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi,
2000 mBm)
[  133.350455]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[  133.351736]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[  133.353431] cfg80211: Calling CRDA for country: CH
[  133.443881] cfg80211: Regulatory domain changed to country: CH
[  133.444568]     (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[  133.445486]     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  133.446397]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  133.447630]     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  133.448863]     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[  141.971982] ath5k 0000:00:0d.0: registered as 'phy0'
[  142.453824] ath: EEPROM regdomain: 0x0
[  142.453881] ath: EEPROM indicates default country code should be used
[  142.453940] ath: doing EEPROM country->regdmn map search
[  142.454009] ath: country maps to regdmn code: 0x3a
[  142.454062] ath: Country alpha2 being used: US
[  142.454109] ath: Regpair used: 0x3a
[  146.738786] phy0: Selected rate control algorithm 'minstrel'
[  146.838666] ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[  146.839284] ath5k phy0: RF5112B multiband radio found (0x36)
[  146.842202] cfg80211: Calling CRDA for country: US
[  146.936338] cfg80211: Current regulatory domain intersected:
[  146.937470]     (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[  146.938415]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  146.939290]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 1700 mBm)
[  146.940525]     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  146.941758]     (5490000 KHz - 5600000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[  146.942702]     (5650000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2000 mBm)

Although I specify a country code CH at module loading, it appears that
the athk5 driver is calling cfg80211 with a default country code. Why is
US the default country code and why is it called at all.

Thanks

Erich Titl


[-- Attachment #2: S/MIME Kryptografische Unterschrift --]
[-- Type: application/pkcs7-signature, Size: 1877 bytes --]

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

end of thread, other threads:[~2012-11-28 22:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27  7:50 regulatory domain settings overwritten Erich Titl
2012-11-27  9:55 ` Julian Calaby
2012-11-27 10:27   ` Christian Lamparter
2012-11-27 10:30     ` Julian Calaby
2012-11-27 12:53   ` Erich Titl
2012-11-27 22:55     ` Julian Calaby
2012-11-28  7:11       ` Erich Titl
2012-11-28  8:18         ` Julian Calaby
2012-11-28 14:43           ` Erich Titl
2012-11-28 22:01             ` Julian Calaby
2012-11-28 22:11               ` Erich Titl
2012-11-28 14:31         ` Bob Copeland
2012-11-28 14:47           ` Erich Titl

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