From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Tue, 27 Jan 2009 19:17:01 -0800 Subject: [ath9k-devel] Reg domain won't change and forced to CO (I'm in US) In-Reply-To: <31A1D18C-62A4-4813-B1FC-EAC860E32FCE@groovy.org> References: <31A1D18C-62A4-4813-B1FC-EAC860E32FCE@groovy.org> Message-ID: <20090128031701.GB6174@tesla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Tue, Jan 27, 2009 at 06:55:20PM -0800, Chris Kennedy wrote: > I have a DWA-552 and am in the US, using the newest wireless testing > as of an hour ago. > I have things working from the Jan 20th wireless testing, but since > then these newer > ones have not let me change the reg domain (even with newest version > containing the > fix). I have attached my boot up log and trying to change the reg > domain to US, iw --debug > output. It just won't use anything but the CO reg domain, can't > change it from that for some > odd reason. I'm trying to use AP mode, but just booting up and > trying set the reg domain > properly to US doesn't happen, and I can't use it because all > channels are invalid I try (even > when having hostapd not fail when the set reg domain call returns an > error). Something > seems wrong, if my card has the regdomain wrong and set to CO, that > seems like it's useless > unless that value is ignored, but works great as an AP in pre Jan 16 > versions. > > Thanks, > Chris Chris, It seems you do not have CRDA or the wireless-regdb installed, please install these as they are now required, otherwise a minimal world regulatory domain is set (what you are seeing). By shifting code to userspace we have reduced the size of ath9k, and since CRDA is no part of the regulatory support for Linux in general distributions in general will be shipping it soon. http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2009.01.15.tar.bz2 Once in the directory just do (no need to build): sudo make install http://wireless.kernel.org/download/crda/crda-1.0.1.tar.bz2 crda requires proper building: make sudo make install http://wireless.kernel.org/en/developers/Regulatory That should correct your info to match your Colombia regulatory domain: country CO: (2402 - 2472 @ 40), (3, 27) (5170 - 5250 @ 20), (3, 17) (5250 - 5330 @ 20), (3, 23), DFS (5735 - 5835 @ 20), (3, 30) Here is your card's reg info: -- ath9k: Country alpha2 being used: CO Regpair detected: 0x10 -- Here is your channel info because you lack CRDA (seems you have single 2.4 GHz band card): -- Frequencies: * 2412 MHz [1] (20.0 dBm) (passive scanning, no IBSS) * 2417 MHz [2] (20.0 dBm) (passive scanning, no IBSS) * 2422 MHz [3] (20.0 dBm) (passive scanning, no IBSS) * 2427 MHz [4] (20.0 dBm) (passive scanning, no IBSS) * 2432 MHz [5] (20.0 dBm) (passive scanning, no IBSS) * 2437 MHz [6] (20.0 dBm) (passive scanning, no IBSS) * 2442 MHz [7] (20.0 dBm) (passive scanning, no IBSS) * 2447 MHz [8] (20.0 dBm) (passive scanning, no IBSS) * 2452 MHz [9] (20.0 dBm) (passive scanning, no IBSS) * 2457 MHz [10] (20.0 dBm) (passive scanning, no IBSS) * 2462 MHz [11] (20.0 dBm) (passive scanning, no IBSS) * 2467 MHz [12] (disabled) * 2472 MHz [13] (disabled) * 2484 MHz [14] (disabled) -- Luis