All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frans Pop <elendil@planet.nl>
To: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [regression] ath5k: Overrides regulatory domain set for cfg80211
Date: Wed, 8 Jul 2009 23:40:06 +0200	[thread overview]
Message-ID: <200907082340.07787.elendil@planet.nl> (raw)

In /etc/modprobe.d I have a file containing:
options cfg80211 ieee80211_regdom=EU

During boot this results in:
<snip>
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: EU
	(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
	(2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
	(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
	(5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: EU
</snip>

But with 2.6.31-rc2 I then get (the lines marked with "!" are not there 
with .30):
<snip>
  ath5k 0000:02:00.0: enabling device (0000 -> 0002)
  ath5k 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
  ath5k 0000:02:00.0: registered as 'phy0'
! ath: EEPROM regdomain: 0x30
! ath: EEPROM indicates we should expect a direct regpair map
! ath: Country alpha2 being used: AM
! ath: Regpair used: 0x30
  phy0: Selected rate control algorithm 'minstrel'
  ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
  ath5k phy0: RF2112B 2GHz radio found (0x46)
! cfg80211: Calling CRDA for country: AM
</snip>

So it looks as if ath5k has started to override the regdomain I want.

Cheers,
FJP

WARNING: multiple messages have this Message-ID (diff)
From: Frans Pop <elendil-EIBgga6/0yRmR6Xm/wNWPw@public.gmane.org>
To: linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [regression] ath5k: Overrides regulatory domain set for cfg80211
Date: Wed, 8 Jul 2009 23:40:06 +0200	[thread overview]
Message-ID: <200907082340.07787.elendil@planet.nl> (raw)

In /etc/modprobe.d I have a file containing:
options cfg80211 ieee80211_regdom=EU

During boot this results in:
<snip>
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: EU
	(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
	(2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
	(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
	(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
	(5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: EU
</snip>

But with 2.6.31-rc2 I then get (the lines marked with "!" are not there 
with .30):
<snip>
  ath5k 0000:02:00.0: enabling device (0000 -> 0002)
  ath5k 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
  ath5k 0000:02:00.0: registered as 'phy0'
! ath: EEPROM regdomain: 0x30
! ath: EEPROM indicates we should expect a direct regpair map
! ath: Country alpha2 being used: AM
! ath: Regpair used: 0x30
  phy0: Selected rate control algorithm 'minstrel'
  ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
  ath5k phy0: RF2112B 2GHz radio found (0x46)
! cfg80211: Calling CRDA for country: AM
</snip>

So it looks as if ath5k has started to override the regdomain I want.

Cheers,
FJP
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2009-07-08 21:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 21:40 Frans Pop [this message]
2009-07-08 21:40 ` [regression] ath5k: Overrides regulatory domain set for cfg80211 Frans Pop
2009-07-08 22:08 ` Luis R. Rodriguez
2009-07-08 22:08   ` Luis R. Rodriguez
2009-07-09  1:11   ` Frans Pop
2009-07-09  2:07     ` Luis R. Rodriguez
2009-07-09  2:07       ` Luis R. Rodriguez
2009-07-10 11:43       ` Frans Pop
2009-07-10 11:43         ` Frans Pop
2009-07-10 15:24         ` Luis R. Rodriguez
2009-07-09  7:11     ` Holger Schurig
2009-07-09  7:11       ` Holger Schurig
2009-07-09  7:05   ` Holger Schurig
2009-07-09  7:05     ` Holger Schurig
2009-07-09  7:10     ` Luis R. Rodriguez

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=200907082340.07787.elendil@planet.nl \
    --to=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.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 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.