Re: [RFC] First CRDA integration work

Luis R. Rodriguez
2008-06-11T10:57:41Z

On Wed, Jun 11, 2008 at 3:29 AM, Luis R. Rodriguez
<lrodriguez@atheros.com> wrote:
> On Tue, Jun 10, 2008 at 9:04 PM, Luis R. Rodriguez
> <lrodriguez@atheros.com> wrote:
>>
>> Release, review early. First work patch for integration of
>> CRDA work. Nukes old regulatory work, adds CRDA-like data structures
>> to cfg80211, adds a world regdom and uses it by default,
>> and start nl80211 definitions. The fun part, nl80211_get_reg()
>> and nl80211_set_reg() are pending. Hoping the second
>> shift <cough Johannes> can take over as I'm going to bed now.
>>
>> At least it compiles, and should give an idea of where this is
>> going. This wasn't tested either :)
>>
>> CRDA stuff can be checked out from:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git
>>
>> For those who like diagrams:
>>
>> http://wireless.kernel.org/crda.png
>
> OK well it doesn't crash, lucky me. I'm on it now.
>
> Also credit where its due: Thanks to Johannes for whipping up the
> userspace API really quickly and so well :) Not to mention already
> having set up mac80211 to make this patch easy :)

OK some issues: we don't handle yet the case where
power_rule->max_antenna_gain is 0 which is designed to mean "Not
available" in those cases the original antenna gain of the channel
(set by the EEPROM mapping for example) should be left alone.

Now for the netlink hooks and CRDA to query back.

Luis