Return-path: Received: from mail-yw0-f176.google.com ([209.85.211.176]:45316 "EHLO mail-yw0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754570Ab0AYRvN convert rfc822-to-8bit (ORCPT ); Mon, 25 Jan 2010 12:51:13 -0500 Received: by ywh6 with SMTP id 6so3309675ywh.4 for ; Mon, 25 Jan 2010 09:51:13 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B5CB7AB.7010105@bzz.no> References: <4B5CB7AB.7010105@bzz.no> Date: Mon, 25 Jan 2010 12:51:12 -0500 Message-ID: Subject: Re: Bug: 2.6.32 ath5k, unable to connect to AP on channel 13 From: Bob Copeland To: "John S. Skogtvedt" , "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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. > iw list output: > Wiphy phy0 > ? ? ? ?Band 1: > ? ? ? ? ? ? ? ?Frequencies: > ? ? ? ? ? ? ? ? ? ? ? ?* 2412 MHz [1] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2417 MHz [2] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2422 MHz [3] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2427 MHz [4] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2432 MHz [5] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2437 MHz [6] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2442 MHz [7] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2447 MHz [8] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2452 MHz [9] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2457 MHz [10] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2462 MHz [11] (20.0 dBm) > ? ? ? ? ? ? ? ? ? ? ? ?* 2467 MHz [12] (disabled) > ? ? ? ? ? ? ? ? ? ? ? ?* 2472 MHz [13] (disabled) > ? ? ? ? ? ? ? ? ? ? ? ?* 2484 MHz [14] (disabled) > ... > > > iw reg get output: > country US: > ? ? ? ?(2402 - 2472 @ 40), (6, 27) > ? ? ? ?(5170 - 5190 @ 40), (6, 23) > ? ? ? ?(5190 - 5210 @ 40), (6, 23) > ? ? ? ?(5210 - 5230 @ 40), (6, 23) > ? ? ? ?(5230 - 5330 @ 40), (6, 23) > ? ? ? ?(5735 - 5835 @ 40), (6, 30) > > I tried "iw reg set NO" without effect. CCed Luis in case he has anything to add. -- Bob Copeland %% www.bobcopeland.com