All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ath9k bug in country domain handling
@ 2012-06-17 18:16 Xose Vazquez Perez
  2012-06-18 12:25 ` Erwin Van de Velde
  0 siblings, 1 reply; 11+ messages in thread
From: Xose Vazquez Perez @ 2012-06-17 18:16 UTC (permalink / raw)
  To: erwin.vandevelde, linux-wireless

Erwin Van de Velde wrote:

> I have 802.11n cards with an atheros chipset with no default country domain.
> Upon initialization, crda is set to US domain, after which I try to change it
> to another domain, the driver only accepts further limitations: i.e. if a
> channel is allowed in the US but not in Belgium, it is disabled, but the other
> way round: if a channel is not allowed in the US, but is allowed in Belgium it
> is not enabled.

"no default country domain" :-???

# dmesg | grep ath:

look for:
ath: EEPROM regdomain: XXX
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: XX
ath: Regpair used: XXX


This is a Atheros *driver* feature.
Channels are restricted based on the EEPROM value.
And crda/wireless-regdb only can makes things _worse_.

Solutions:
- modify the driver
- reprogramming of the EEPROM
- buy another board and keep away from Atheros chipsets

You should read:
http://wireless.kernel.org/en/users/Drivers/ath#Regulatory
http://marc.info/?l=linux-wireless&m=125072768530674
http://marc.info/?l=linux-wireless&m=125078520924477
http://wiki.openwrt.org/doc/howto/wireless.utilities?s[]=regulatory#iw  see "Note:"

In linux source code, see regd* files:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/net/wireless/ath

^ permalink raw reply	[flat|nested] 11+ messages in thread
* ath9k bug in country domain handling
@ 2012-06-13 11:17 Erwin Van de Velde
  2012-06-15 19:00 ` Schrober
  0 siblings, 1 reply; 11+ messages in thread
From: Erwin Van de Velde @ 2012-06-13 11:17 UTC (permalink / raw)
  To: linux-wireless

Dear all,

I have 802.11n cards with an atheros chipset with no default country domain. 
Upon initialization, crda is set to US domain, after which I try to change it 
to another domain, the driver only accepts further limitations: i.e. if a 
channel is allowed in the US but not in Belgium, it is disabled, but the other 
way round: if a channel is not allowed in the US, but is allowed in Belgium it 
is not enabled. 

Regards,
Erwin


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

end of thread, other threads:[~2012-06-21  0:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-17 18:16 ath9k bug in country domain handling Xose Vazquez Perez
2012-06-18 12:25 ` Erwin Van de Velde
2012-06-18 22:31   ` Xose Vazquez Perez
2012-06-18 23:46   ` Julian Calaby
2012-06-20 22:30     ` Xose Vazquez Perez
2012-06-21  0:23       ` Julian Calaby
  -- strict thread matches above, loose matches on Subject: below --
2012-06-13 11:17 Erwin Van de Velde
2012-06-15 19:00 ` Schrober
2012-06-15 21:51   ` Erwin Van de Velde
2012-06-17  2:15     ` Julian Calaby
2012-06-17 17:12       ` Erwin Van de Velde

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.