Return-path: Received: from qw-out-2122.google.com ([74.125.92.25]:64468 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753399AbZGVQl7 (ORCPT ); Wed, 22 Jul 2009 12:41:59 -0400 Received: by qw-out-2122.google.com with SMTP id 8so162034qwh.37 for ; Wed, 22 Jul 2009 09:41:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <15B47C78534E094AA9A41F58FB8D74F30147BE67876F@SC1EXMB-MBCL.global.atheros.com> References: <20090722131957.GA5276@tuxdriver.com> <43e72e890907220916n6a5c76d3ydbfc0233f86e3546@mail.gmail.com> <15B47C78534E094AA9A41F58FB8D74F30147BE67876F@SC1EXMB-MBCL.global.atheros.com> From: "Luis R. Rodriguez" Date: Wed, 22 Jul 2009 09:41:39 -0700 Message-ID: <43e72e890907220941j70f5ca98g5af9d9372eeef2e@mail.gmail.com> Subject: Re: Update for regulatory database on 5GHz band for Thailand (TH) To: David Quan Cc: Phattanon Duangdara , "linux-wireless@vger.kernel.org" , Michael Green Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Jul 22, 2009 at 9:27 AM, David Quan wrote: > I am not sure what the question is here. > Our windows driver already have 5G turn on for Thailand. > Are you stating that it is not on the Linux Ath9K? David, just a heads up, a public list is being CC'd here. In the db.txt (from wireless-regdb) we currently have TH mapped as: country TH: (2402 - 2482 @ 40), (N/A, 20) This came from the regpair TH was mapped to, which does differ from FCC3_WORLD. TH was mapped to NULL1_WORLD which explains the lack of 5 GHz on TH on db.txt. > In Windows code, it is Thailand is mapped to FCC3_WORLD. OK this needs to be updated and the regulatory database as well. Only these countries map to FCC3_WORLD currently in ath.ko (the shared module between ath5k, ath9k and ar9170): {CTRY_BRAZIL, FCC3_WORLD, "BR"}, {CTRY_SOUTH_AFRICA, FCC3_WORLD, "ZA"}, {CTRY_SRI_LANKA, FCC3_WORLD, "LK"}, To get TH to map to FCC3_WORLD we need a one line change to ath.ko code and to the public db.txt to change to use the same regulatory information as "BR", "ZA", and "LK": country TH: (2402 - 2482 @ 20), (N/A, 20) (5170 - 5250 @ 20), (3, 17) (5250 - 5330 @ 20), (3, 20), DFS (5490 - 5710 @ 20), (3, 20), DFS (5735 - 5835 @ 20), (3, 30) I'll send the respective patch if you ACK TH should map to the above. Luis --- Below are BR, ZA and LK: country BR: (2402 - 2482 @ 20), (N/A, 20) (5170 - 5250 @ 20), (3, 17) (5250 - 5330 @ 20), (3, 20), DFS (5490 - 5710 @ 20), (3, 20), DFS (5735 - 5835 @ 20), (3, 30) country ZA: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 20), (3, 17) (5250 - 5330 @ 20), (3, 20), DFS (5490 - 5710 @ 20), (3, 20), DFS (5735 - 5835 @ 20), (3, 30) country LK: (2402 - 2482 @ 40), (N/A, 20) (5170 - 5250 @ 20), (3, 17) (5250 - 5330 @ 20), (3, 20), DFS (5490 - 5710 @ 20), (3, 20), DFS (5735 - 5835 @ 20), (3, 30)