Return-path: Received: from mail.candelatech.com ([208.74.158.172]:43249 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751886Ab1EWUJR (ORCPT ); Mon, 23 May 2011 16:09:17 -0400 Message-ID: <4DDABEE9.9090608@candelatech.com> (sfid-20110523_220921_098609_06E661E6) Date: Mon, 23 May 2011 13:09:13 -0700 From: Ben Greear MIME-Version: 1.0 To: "Luis R. Rodriguez" CC: Mohammed Shafi , "linux-wireless@vger.kernel.org" Subject: Re: ath9k 9380: All 5Ghz channels flagged as passive-scanning References: <4DD6E9B5.3020905@candelatech.com> <4DDA913B.1060002@candelatech.com> <4DDAA9ED.1050606@candelatech.com> <4DDAACF3.3050705@candelatech.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 05/23/2011 12:26 PM, Luis R. Rodriguez wrote: > On Mon, May 23, 2011 at 11:52 AM, Ben Greear 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 >>>>> 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! > > Its what the card was designed and programmed for. The only thing you > can do with world roaming cards then is just scan, and if you find a > beacon on a channel which is a non-DFS channel beaconing will be > enabled then. Makes it basically useless as a 5Ghz AP though, eh? Guess it's time to go find a hack to over-ride eeprom settings :( Ben > > Luis -- Ben Greear Candela Technologies Inc http://www.candelatech.com