Search Linux Wireless

Re: CRDA question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 5 Dec 2008 16:19:56 -0800, "Luis R. Rodriguez" wrote:
> 
> <snip>
> 
> It makes zero sense for you to package CRDA for 2.6.27 unless you want
> to help users of compat-wireless or wireless-testing.

True, but I'm new to this bleeding-edge development stuff so give me a
break :)

> 
> <snip>
> 
> Userspace applications which *do* want to test against a feature can do
> tests
> like:
> 
> #ifdef NL80211_NEW_STUFF
> #endif
> 
> as wpa_supplicant does it, but that's up to each developer.

My goal is writing a new driver for an unsupported chipset and advancing
the mac80211 effort so that things like wpa_supplicant can be made
obsolete sooner rather than later.

> Here are the #ifdef'able features:
> 
> NL80211_CMD_SET_BSS
> 
> NL80211_ATTR_HT_CAPABILITY
> NL80211_ATTR_BSS_BASIC_RATES
> NL80211_ATTR_WIPHY_TXQ_PARAMS
> NL80211_ATTR_WIPHY_FREQ
> NL80211_ATTR_WIPHY_SEC_CHAN_OFFSET
> 
> In CRDA's case I'm sticking to the packaged nl80211.h.

Thanks for the list.  As for CRDA and IW, I'm sticking to my local
patches that get rid of that local header file.  I can think of no other
project that does that, save for the old wireless extensions.

> 
> <snip>
> 
> We had a long discussion about this a long time ago and my first
> approach was to do it all in-kernel, then people complained and we moved
> it to userspace. Now its there and it works well. If you are so
> concerned about the size of the database then trim it yourself, make
> your let CRDA use it, or go ahead and customize the kernel and define
> statically your *one* single regulatory domain.
> 
> Supporting regulatory considerations on STA/AP for different countries
> requires that you do have some sort of regulatory information somewhere.
> Some people keep it in firmware, some in the driver, and some in a
> combination of EEPROM and driver or even some info from Windows registry
> files.
> We've generalized what we can from all drivers. If you think you can do a
> better job please send patches and go through the review cycle.

I have read all those discussions in the archives.  My intent isn't to
re-hash old arguments or open up that debate again.  For now I'm going
to accept it for what it is since my development system isn't as
constrained for resources as the ultimate embedded Linux system will be.
 The CRDA code itself is excellent and makes a great example for how to
do things with nl80211 and cfg80211.

> If you have actual issues to point out then please point them out or
> better yet just send a patch for the solution.

Indeed.  I envision an alternative scheme that can be optionally
selected as part of a "reduced footprint for embedded systems" patch
set/git branch, but that's a ways off.  Right now I just want to get my
driver working and advance the userspace tools needed to help develop,
test, and validate its operation.  Hopefully I can contribute along the
way to the cfg80211/nl80211 development effort.

Thanks for your comments.  You've obviously been doing a lot of work in
this area.  I'm still climbing the learning curve, so I value your
insight and experience tremendously.

[OT: Is it correct to reply TO your email addy and CC the list address,
or is it better to "Reply All"?  I have to install a real email client
and ditch the webmail interface soon for git purposes.]

--
Dan

-- 
http://www.fastmail.fm - IMAP accessible web-mail

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux