Return-path: Received: from mow302.securemx.jp ([210.130.202.52]:48815 "EHLO mow.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753639Ab1CHMjC (ORCPT ); Tue, 8 Mar 2011 07:39:02 -0500 Date: Tue, 08 Mar 2011 21:39:47 +0900 From: Takashi Kawamoto To: linux-wireless@vger.kernel.org Subject: AR9271 doesn't work on 12ch and 13ch Cc: Yoshitaka Imura Message-Id: <20110308211855.AF33.9AD4E5EB@silex.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-wireless-owner@vger.kernel.org List-ID: Dear All, AR9271 cannot connect to an AP which operates on 12ch and 13ch. As long as I see the EEPROM content of my module, 0x8188 (CTRL_JAPAN1) seems to be configured to the region domain code area. [EEPROM dump] ------------------------------------------------------- 78 1 99 B4 F E0 2 0 88 81 2A 0 5C 33 8E 65 74 C1 1 1 0 0 0 0 0 0 0 7F 8 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2C 20 0 E2 0 D 0 2 E 1C BA C 1 0 0 6 55 5 1 E E FF 0 0 2C 0 0 5 4 6 B0 0 60 0 0 0 1 0 0 0 80 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 70 8E AC B 22 2A 3D 53 4B 54 5E 6A 74 5 10 17 2F 6E 2C 3B 55 83 B0 D 24 2A 3E 52 4C 54 60 6B 71 7 11 17 36 71 30 40 5F 93 AF E 13 2A 3E 51 4B 53 5F 6B 6E 7 A 18 38 70 2C 44 62 9A AC 70 22 22 22 22 B8 22 22 22 22 FF 0 0 0 0 70 22 22 20 1E 89 22 22 20 1E AC 22 22 20 1E 70 22 22 22 22 22 22 20 1E 89 22 22 22 22 22 22 20 1E AC 22 22 22 22 22 22 20 1E 70 1E 1E 1E 1E 1E 1E 1E 1C 89 1E 1E 1E 1E 1E 1E 1E 1C AC 1E 1E 1E 1E 1E 1E 1E 1C 11 12 15 17 41 42 45 47 31 32 35 37 70 22 75 62 A2 22 0 0 70 22 75 62 A2 21 0 0 70 1A 75 62 A2 1E 0 0 7A 12 7F 5C 93 5C 98 16 70 3C 75 7C AC 3C B8 3C 70 3C 75 7C AC 3C 0 0 70 3C 75 7C AC 3C 0 0 7A 3C 7F 7C 93 7C A2 3C 70 22 75 62 AC 22 0 0 70 22 75 62 AC 22 0 0 70 22 75 62 AC 22 0 0 7A 1E 7F 5E 93 5E A2 1E 0 ------------------------------------------------------- The version of compat-wireless I use is 2011-01-30. I investigated the issue further, and found that priv->hw->wiphy->bands includes from 1ch to 14ch (ath9k_set_hw_capab() in htc_drv_init.c), but wdev->wiphy->bands includes from 1ch to 11ch (cfg80211_wext_giwrange() in wext-compat.c). I still don't know why and when 12ch, 13ch and 14ch are removed from the channel list. Anyone has any idea? Best Regards, Takashi Kawamoto ================================================== Takashi Kawamoto (E-Mail : tkawamoto@silex.jp) silex technology,Inc. Software Engineering Division Phone:+81-774-98-3877 FAX:+81-774-98-3678 ==================================================