Return-path: Received: from yx-out-2324.google.com ([74.125.44.28]:50316 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751818AbYIZFj3 (ORCPT ); Fri, 26 Sep 2008 01:39:29 -0400 Received: by yx-out-2324.google.com with SMTP id 8so138978yxm.1 for ; Thu, 25 Sep 2008 22:39:28 -0700 (PDT) Message-ID: <43e72e890809252239g2a6207f9r581b970388d9df14@mail.gmail.com> (sfid-20080926_073933_545007_D9AEA3D9) Date: Thu, 25 Sep 2008 22:39:28 -0700 From: "Luis R. Rodriguez" To: "Zhu Yi" Subject: Re: [PATCH] iwl3945: added channel sysfs entry Cc: "Johannes Berg" , "linville@tuxdriver.com" , "linux-wireless@vger.kernel.org" , "Kolekar, Abhijeet" , "Dan Williams" In-Reply-To: <1222406884.2510.534.camel@debian.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 References: <1222235866-19805-1-git-send-email-yi.zhu@intel.com> <1222245882.18015.62.camel@johannes.berg> <1222328058.2510.470.camel@debian.sh.intel.com> <1222334592.10563.59.camel@johannes.berg> <1222401242.2510.519.camel@debian.sh.intel.com> <43e72e890809252113h624a8d91jd859935ae5afed10@mail.gmail.com> <1222406884.2510.534.camel@debian.sh.intel.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Sep 25, 2008 at 10:28 PM, Zhu Yi wrote: > You brought it up. And I also want to discuss it. We do want to support > it. But the 3945/4965/5000 hardwares doesn't have the alpha2 information > in their EEPROMs (btw, 2100/2200 does support that). Instead, they have > a band/channel table including freq, tx power, etc in the EEPROM. So a > simple regulatory_hint() API doesn't work. We need a way to export the > channel details to CRDA. Yes, this detail of information was conveyed to me at OLS by Guy. This is why we decided to add support for letting the driver not pass an alpha2 but to just build the regulatory domain structure itself and pass it. I even provided an example of how to do this in the Documentation/networking/regulatory.txt and tested it myself. Essentially this was added with your drivers in mind :) Let me know if you run into any issues. Luis