From: Alexander Simon <simon_alex@web.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Country code setting issue
Date: Wed, 8 Dec 2010 14:03:07 +0100 [thread overview]
Message-ID: <201012081403.07350.simon_alex@web.de> (raw)
In-Reply-To: <AANLkTinQxCxND4fabhhdPxRVXjoCLLdDgKiaDPUz2gB8@mail.gmail.com>
> No. ath9k cards always respect the regulatory domain programmed into
> the hardware's EEPROM, the APIs for users only let the user help
> compliance further, never to allow more channels.
Which is a really stupid behaviour as the country code never is correctly set.
I have never seen any card in my country with the correct country code in its
eeprom.
Additionally, most card have 00 in their eeprom which means "default".
Personally i would interprete "default" as "ask cfg80211" or "dont give a
driver hint", but some braindead programmer intrepreted it as "United States".
If you get the message when loading "EEPROM indicates default country code
should be used", iw reg get will show you US!
The most easiest fix for this case is to look for
reg->country_code = CTRY_UNITED_STATES;
in drivers/net/wireless/ath/regd.c and change it to your country from regd.h.
next prev parent reply other threads:[~2010-12-08 13:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-06 6:33 [ath9k-devel] Country code setting issue mason
2010-12-07 2:25 ` Luis R. Rodriguez
2010-12-08 13:03 ` Alexander Simon [this message]
2010-12-08 18:06 ` Luis R. Rodriguez
2010-12-09 12:35 ` Alexander Simon
2010-12-09 18:19 ` Luis R. Rodriguez
2010-12-09 22:25 ` Peter Stuge
2010-12-09 22:35 ` Luis R. Rodriguez
2010-12-09 22:43 ` Peter Stuge
2010-12-09 22:47 ` Luis R. Rodriguez
2010-12-10 5:47 ` Peter Stuge
2010-12-10 7:37 ` 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=201012081403.07350.simon_alex@web.de \
--to=simon_alex@web.de \
--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 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.