All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: Ben Greear <greearb@candelatech.com>
Cc: Mohammed Shafi <shafi.wireless@gmail.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: ath9k 9380: All 5Ghz channels flagged as passive-scanning
Date: Mon, 23 May 2011 13:59:39 -0700	[thread overview]
Message-ID: <BANLkTimSUvfSzAHXQJppZ=7T2TKMuP37fQ@mail.gmail.com> (raw)
In-Reply-To: <4DDAC8DC.5060803@candelatech.com>

On Mon, May 23, 2011 at 1:51 PM, Ben Greear <greearb@candelatech.com> wrote:
> On 05/23/2011 01:25 PM, Luis R. Rodriguez wrote:
>>
>> On Mon, May 23, 2011 at 1:09 PM, Ben Greear<greearb@candelatech.com>
>>  wrote:
>>>
>>> Makes it basically useless as a 5Ghz AP though, eh?
>>
>> Um yup. The card is a world roaming card... not an AP card. For AP
>> mode of functionality vendors have to go through a regulatory test
>> specific to 3 regions, and depending on which region they get
>> certification for they will have then programmed in the values
>> required for regulatory on the CTLs. The EEPROM would be configured
>> for the region the card was being tested for.
>
> Well, if you have an AP on a 5Ghz channel, and associate a station
> interface, that one channel becomes
> usable, and then you can start hostapd, as far as I can tell.
> You just can't use an un-used channel, which is of course
> a pain if you want to do some 5Ghz AP testing on a clean
> channel!

You don't even need to associate, you just need to scan, that's it. It
is a pain to test AP functionality but that is not how vendors test AP
functionality -- remember you are using a world roaming card, the fact
that you can even get away with beaconing modes of operation on some
channels is actually a feature.

The issue here comes from the fact that people think using AP mode of
functionality is a freedom they are entitled to with any 802.11 card
on any channel. Its obviously more complicated than that and figuring
out a proper way to do this is part of our own effort to enable APs
with Linux properly and in a regulatory compliant manner.

>>> Guess it's time to go find a hack to over-ride eeprom
>>> settings :(
>>
>> Good luck with support from anyone for any further questions ;) [1].
>
> I can certainly disable the module parameter and have it bug for bug
> compatible with upstream code.  I'm not going to
> write to the eeprom or anything funny like that.

I'm just letting you know, I nor a lot of developers approve of
promoting code which goes out of regulatory compliance [1]

[1] http://wireless.kernel.org/en/developers/Regulatory/statement

Understanding the regulatory considerations and actually trying to
find decent solutions is the hard part, but I do believe solutions are
possible, they just take time. The dynamic regulatory selection thing
I think will be the future we need a tight solution covering all
grounds of the calibration and CTL process at least for Atheros cards.

>> The real solution to these issues is for regulatory agencies to start
>> warming up to the idea about dynamic regulatory selection but for this
>> you will also then need to ensure each card gets properly tested for
>> each regulatory region -- or we'd have to restrict the card to work in
>
> What kinds of things could fail in one region and not
> another?

Atheros cards are optimized to output as much power in the middle area
of a spectrum, towards the ends of the spectrum regulatory agencies
sometimes require a bit tighter power constraints and cards are
required to meet certain power curve constraints. This is one of the
reasons for the EEPROM CTLs on the Atheros cards. This is one example
of such considerations.

> Are there any known regions of the world where
> the AR9380 actually fails to function in any mode?

Huh? AR9380 will work in any region so long as its tested for that
region and the CTLs get programmed as such.

  Luis

  reply	other threads:[~2011-05-23 20:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-20 22:22 ath9k 9380: All 5Ghz channels flagged as passive-scanning Ben Greear
2011-05-23 11:28 ` Mohammed Shafi
2011-05-23 16:54   ` Ben Greear
2011-05-23 18:39     ` Ben Greear
2011-05-23 18:52       ` Ben Greear
2011-05-23 19:26         ` Luis R. Rodriguez
2011-05-23 20:09           ` Ben Greear
2011-05-23 20:25             ` Luis R. Rodriguez
2011-05-23 20:51               ` Ben Greear
2011-05-23 20:59                 ` Luis R. Rodriguez [this message]
2011-05-23 21:19                   ` Ben Greear
2011-05-23 21:28                     ` Luis R. Rodriguez
2011-05-23 21:38                       ` Ben Greear
2011-05-23 21:42                         ` Luis R. Rodriguez
2011-05-23 21:46                           ` Luis R. Rodriguez
2011-05-23 21:59                             ` Ben Greear
2011-05-23 22:15                               ` Luis R. Rodriguez
2011-05-24  4:48                                 ` Ben Greear
2011-05-24 11:33                                   ` Luis R. Rodriguez
2011-05-24 13:00         ` Brian Prodoehl
2011-05-24 13:11           ` Luis R. Rodriguez
2011-05-24 13:18             ` Brian Prodoehl
2011-05-24 21:39               ` Luis R. Rodriguez
2011-05-24 14:06             ` Mohammed Shafi
2011-05-24 14:08           ` Mohammed Shafi
2011-05-24 15:05             ` Ben Greear

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='BANLkTimSUvfSzAHXQJppZ=7T2TKMuP37fQ@mail.gmail.com' \
    --to=mcgrof@gmail.com \
    --cc=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=shafi.wireless@gmail.com \
    /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.