All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: Brian Prodoehl <bprodoehl@gmail.com>
Cc: Ben Greear <greearb@candelatech.com>,
	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: Tue, 24 May 2011 06:11:00 -0700	[thread overview]
Message-ID: <BANLkTinXHgXW4q=_ck7d3vwe+JcjPut8VA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTikvwq+0GYDxgEXNfhkcntjmpOdpPQ@mail.gmail.com>

On Tue, May 24, 2011 at 6:00 AM, Brian Prodoehl <bprodoehl@gmail.com> wrote:
> On Mon, May 23, 2011 at 2:52 PM, Ben Greear <greearb@candelatech.com> wrote:
>> On 05/23/2011 11:39 AM, Ben Greear wrote:
>>>
>>> On 05/23/2011 09:54 AM, Ben Greear wrote:
>>>>
>>>> On 05/23/2011 04:28 AM, Mohammed Shafi wrote:
>>>>>
>>>>> On Sat, May 21, 2011 at 3:52 AM, Ben Greear<greearb@candelatech.com>
>>>>> wrote:
>>>>>>
>>>>>> This is on 2.6.39-wl+
>>>>>>
>>>>>> All the 5Ghz channels are showing as passive scanning, which
>>>>>> makes them unusable for APs if nothing else.
>>>>>
>>>>> for me channels 36,40,44,48 are ok in 5ghz. used the latest
>>>>> wireless-testing just brought the card up as station mode.
>>>>
>>>> Most of my systems show the same, at least most of the time.
>>>>
>>>>
>>>>>> Any idea why this is happening?
>>>>>
>>>>> don't know, may be regulatory.
>>>>
>>>> After a reboot and an idle weekend, mine also look normal.
>>>> So, it's something transient it appears.
>>>
>>> Err, I mis-spoke..the 9380 system still shows passive
>>> scanning everywhere...
>>
>> Busted one:
>>
>> ath: EEPROM regdomain: 0x6a
>> ath: EEPROM indicates we should expect a direct regpair map
>> ath: Country alpha2 being used: 00
>> ath: Regpair used: 0x6a
>>
>> cfg80211: Calling CRDA for country: US
>> cfg80211: Regulatory domain changed to country: US
>> cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain,
>> max_eirp)
>> cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
>> cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
>> cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>> cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>> cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
>> cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
>>
>>
>> Bleh, seems my Sparklan 127 NIC is set to world-roam :(
>>
>> What a total pain in the arse!
>> Ben
>>
>> --
>> Ben Greear <greearb@candelatech.com>
>> Candela Technologies Inc  http://www.candelatech.com
>
>
> Strange.  This is what I get out of my WPEA-127N:
>
> ath: EEPROM regdomain: 0x0
> ath: EEPROM indicates default country code should be used
> ath: doing EEPROM country->regdmn map search
> ath: country maps to regdmn code: 0x3a
> ath: Country alpha2 being used: US
> ath: Regpair used: 0x3a
>
> Here's how my 5GHz channels look:
>                Frequencies:
>                        * 5180 MHz [36] (17.0 dBm)
>                        * 5200 MHz [40] (17.0 dBm)
>                        * 5220 MHz [44] (17.0 dBm)
>                        * 5240 MHz [48] (17.0 dBm)
>                        * 5260 MHz [52] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5280 MHz [56] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5300 MHz [60] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5320 MHz [64] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5500 MHz [100] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5520 MHz [104] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5540 MHz [108] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5560 MHz [112] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5580 MHz [116] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5600 MHz [120] (disabled)
>                        * 5620 MHz [124] (disabled)
>                        * 5640 MHz [128] (disabled)
>                        * 5660 MHz [132] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5680 MHz [136] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5700 MHz [140] (20.0 dBm) (passive scanning, no IBSS, radar detection)
>                        * 5745 MHz [149] (30.0 dBm)
>                        * 5765 MHz [153] (30.0 dBm)
>                        * 5785 MHz [157] (30.0 dBm)
>                        * 5805 MHz [161] (30.0 dBm)
>                        * 5825 MHz [165] (30.0 dBm)
>
> This is running 2.6.37 with compat-wireless from sometime in March,
> probably.  I'll try with 2.6.39 and latest compat-wireless when I get
> a chance.

What's the problem? You ahve DFS requirements on the channels listed
with DFS. You can initiate radiation on the others. We lack master
support for DFS yet so you cannot initiate radiation on those
channels.

  Luis

  reply	other threads:[~2011-05-24 13:11 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
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 [this message]
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='BANLkTinXHgXW4q=_ck7d3vwe+JcjPut8VA@mail.gmail.com' \
    --to=mcgrof@gmail.com \
    --cc=bprodoehl@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.