Return-path: Received: from mail-pw0-f42.google.com ([209.85.160.42]:48125 "EHLO mail-pw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042Ab0AYT6j convert rfc822-to-8bit (ORCPT ); Mon, 25 Jan 2010 14:58:39 -0500 Received: by pwi21 with SMTP id 21so2486103pwi.21 for ; Mon, 25 Jan 2010 11:58:38 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B5DF06C.60000@bzz.no> References: <4B5CB7AB.7010105@bzz.no> <69e28c911001251030p79f00ea1j23f95b5e2f8571a3@mail.gmail.com> <4B5DF06C.60000@bzz.no> From: "Luis R. Rodriguez" Date: Mon, 25 Jan 2010 11:58:18 -0800 Message-ID: <43e72e891001251158g308e69c1u424934823798f4ff@mail.gmail.com> Subject: Re: Bug: 2.6.32 ath5k, unable to connect to AP on channel 13 To: "John S. Skogtvedt" Cc: =?UTF-8?Q?G=C3=A1bor_Stefanik?= , linux-wireless@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2010/1/25 John S. Skogtvedt : > Gábor Stefanik skrev: >> On Mon, Jan 25, 2010 at 6:51 PM, Bob Copeland wrote: >>> On Sun, Jan 24, 2010 at 4:12 PM, John S. Skogtvedt wrote: >>>> Hello, >>>> >>>> As the subject says, using ath5k on 2.6.32 I am not able to connect to >>>> an AP on channel 13 (i.e. wpa_supplicant doesn't find the AP and thus >>>> fails to associate). I'm in Norway, and the card is bought in Norway. >>>> dmesg output: >>>> [    7.205952] cfg80211: Using static regulatory domain info >>>> [    7.205956] cfg80211: Regulatory domain: US >>>> [    7.206243] cfg80211: Calling CRDA for country: US >>> Well, there's your problem, AFAICT.  You have >>> CONFIG_WIRELESS_OLD_REGULATORY=y?  And ieee80211_regdom=EU doesn't work? >>> >>>> [    7.887265] ath: EEPROM regdomain: 0x80d0 >>>> [    7.887267] ath: EEPROM indicates we should expect a country code >>>> [    7.887270] ath: doing EEPROM country->regdmn map search >>>> [    7.887272] ath: country maps to regdmn code: 0x37 >>>> [    7.887275] ath: Country alpha2 being used: DK >>>> [    7.887277] ath: Regpair used: 0x37 >>>> [    8.288352] ath5k phy0: Atheros AR2414 chip found (MAC: 0x79, PHY: 0x45) >>>> [    8.288607] cfg80211: Calling CRDA for country: DK >>> Denmark, which should allow the channels in question. >> >> However, does the DK regdomain really get set? Is CRDA installed? >> > > Thank you, with CRDA installed it does work. > (Debian doesn't currently package it, but I found a source package in > the RFP bug report: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536502 > ) > > However, shouldn't it work without CRDA with > CONFIG_WIRELESS_OLD_REGULATORY=y and ieee80211_regdom=EU? No, Atheros cards by default abide by a custom strict world regulatory domain if CRDA is not present. Luis