Return-path: Received: from yw-out-2324.google.com ([74.125.46.28]:14621 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753609AbYJNJap (ORCPT ); Tue, 14 Oct 2008 05:30:45 -0400 Received: by yw-out-2324.google.com with SMTP id 9so488456ywe.1 for ; Tue, 14 Oct 2008 02:30:44 -0700 (PDT) Message-ID: <43e72e890810140230j1a97f431gcc9eb0cc530ebcab@mail.gmail.com> (sfid-20081014_113049_479404_DF1D908D) Date: Tue, 14 Oct 2008 02:30:44 -0700 From: "Luis R. Rodriguez" To: "Zhu Yi" Subject: Re: New Regulatory Domain Api. Cc: "Kolekar, Abhijeet" , "linux-wireless@vger.kernel.org" In-Reply-To: <1223976211.2570.177.camel@debian.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 References: <20081009154547.GB13349@tesla> <1223608949.2510.1061.camel@debian.sh.intel.com> <43e72e890810100949i78c1d813x1b66c6bc0239ef28@mail.gmail.com> <1223967581.2570.144.camel@debian.sh.intel.com> <43e72e890810140004k6bfa72edsf39acbafcf317fa6@mail.gmail.com> <1223969808.2570.153.camel@debian.sh.intel.com> <43e72e890810140204ne135e72kefe379dd3d26f7bc@mail.gmail.com> <43e72e890810140213w291d729cl6c1bd1149109320d@mail.gmail.com> <1223976211.2570.177.camel@debian.sh.intel.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Oct 14, 2008 at 2:23 AM, Zhu Yi wrote: > On Tue, 2008-10-14 at 02:13 -0700, Luis R. Rodriguez wrote: >> I believe your issue is that your "regulatory domain" is not a >> regulatory domain but hw capabilities so this is why you asked me what >> values to add in case 2, please correct me if I'm wrong. In that case >> -- yes, you should add regulatory rules even if the card is only >> single band; but you can't because you don't have that information in >> your driver. So you should just go with what you have and that is to >> only provide the hardware capabilities. In that case a single band >> card will report according to its regulatory info it can only work on >> the 2 GHz band while a dual band card will report both 2 GHz and 5 >> GHz. The intersection is still 2 GHz. > > Yes, this is exact my problem. Do you any better way to solve it? I'd follow Johannes' advice. Luis