netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>,
	Michael Wu <flamingice@sourmilk.net>,
	Simon Barber <simon@devicescape.com>,
	David Kimdon <david.kimdon@devicescape.com>,
	netdev@vger.kernel.org, Jiri Benc <jbenc@suse.cz>,
	"John W. Linville" <linville@tuxdriver.com>,
	Jean Tourrilhes <jt@hpl.hp.com>, Hong Liu <hong.liu@intel.com>
Subject: Re: [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211
Date: Thu, 26 Oct 2006 10:35:33 -0400	[thread overview]
Message-ID: <1161873333.2927.9.camel@localhost.localdomain> (raw)
In-Reply-To: <1161813628.8884.14.camel@johannes.berg>

On Thu, 2006-10-26 at 00:00 +0200, Johannes Berg wrote:
> On Wed, 2006-10-25 at 13:43 -0400, Luis R. Rodriguez wrote:
> 
> > I guess my hope was that d80211 would just be more than a softmac
> > implementation. When I hear wireless stack I don't think "softmac
> > implementation", I think a robust set of headers and device
> > definitions which all wireless devices can share.
> 
> Not just that, a bunch of library functions for example for crypto would
> be nice too. That's part of why I've been proposing that the tkip stuff
> be library functions that the drivers can call if required, instead of
> the bitfields.
> 
> Currently, there's lot of top-down stuff in d80211, it does things which
> depend on flags and then instructs the driver to do something. This is
> good for a bunch of things, but in some cases where devices vary wildly
> it may be better to go for library functions instead. IMHO the TKIP key
> computation is such a case, it's trivial for a driver to call phase1 and
> phase2 when required.
> 
> > Also I thought we'd ditch WE as it seems we keep fixing it with gum
> > (as seen by Linville's latest ABI compatibility fix). 
> 
> Well, that was sort of necessary.
> 
> > If that wasn't
> > the case then I'm suggesting it -- can we consider ditching WE?
> 
> Well, no. We can make it a second-class citizen like I did with the
> cfg80211 work where I made it just one userspace interface for cfg80211
> which admittedly sometimes strange behaviour, but it's still there and
> current operations should still work with it (and I'd consider not
> working a bug except if userspace never calls 'commit' and expects
> things to work)
> 
> > I'd say lets just go for a
> > userspace MLME as its already written but I seriously think we need to
> > ditch replace WE first.
> 
> It seems no one has a plan on what to do though.
> 
>  - Jiri's trying to fix the SMP issues. That's great.
>  - Jiri also would like to expand ieee80211_conf.c, the stuff I
>    started for cfg80211
>  - I'd like to see a header cleanup, it's necessary. Part of the problem
>    here is all the sub-ioctl WE foo. Clean that up by moving them into
>    cfg80211 as required, there's basically one user, wpa_supplicant (and
>    maybe hostapd), screw the others if there are any

While wpa_supplicant is certainly the main client for stuff directly
related to setting up a connection, there are quite a few other users of
general WE calls to pull information out of the card, or to receive scan
events.  So if you want maximum compatibility for a limited amount of
work, you can probably consider wpa_supplicant the only client of

(s = set, g = get)

1) [s|g] ENCODEEXT
2) [s|g] AUTH
3) [s|g] MLME
4) [s] RATE
5) [s] FREQ
6) [s] SENS
7) [s] AP
8) [s|g] RTS
9) [s|g] FRAG
10)[s|g] GENIE
11)[s|g] PMKSA

Notable exceptions:
1) [s|g] ENCODE
2) [s|g] MODE (other stuff turns on promiscuous mode)
3) [s|g] SCAN (other stuff needs to do this too)
4) [s|g] POWER (power management does this, not wpa_supplicant)

Of course lots of stuff needs to get RATE, ESSID, AP, FREQ, etc.

Dan

>  - fix people's minds to not expect a perfect solution immediately but
>    accept something that can be expanded on later. I think we need to
>    accept some breakage in our development trees to get anywhere at all.
> 
> Actually, the last point should be first.
> 
> Enough rant from me for today,
> johannes


  reply	other threads:[~2006-10-26 14:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23 22:41 [RFC] [PATCH 0/3] Add Regulatory Domain support to d80211 Luis R. Rodriguez
2006-10-23 23:32 ` Johannes Berg
2006-10-24  5:33   ` Luis R. Rodriguez
2006-10-24 12:03     ` John W. Linville
2006-10-24 17:41       ` Luis R. Rodriguez
2006-10-25  8:24         ` Jiri Benc
2006-10-25 16:18           ` Luis R. Rodriguez
2006-10-24  8:25 ` Johannes Berg
2006-10-24 17:31   ` Luis R. Rodriguez
2006-10-24 14:02 ` David Kimdon
2006-10-24 17:47   ` Luis R. Rodriguez
2006-10-24 20:03   ` Simon Barber
2006-10-24 22:03     ` Luis R. Rodriguez
2006-10-24 22:52       ` Michael Wu
2006-10-25 17:43         ` Luis R. Rodriguez
2006-10-25 22:00           ` Johannes Berg
2006-10-26 14:35             ` Dan Williams [this message]
2006-10-26 14:43               ` Johannes Berg
2006-10-26 15:04               ` Luis R. Rodriguez
2006-10-26 15:33                 ` Dan Williams
2006-10-26 21:41                   ` Simon Barber
2006-10-26 21:47                     ` Johannes Berg
2006-10-26 21:48                   ` Johannes Berg
2006-10-24 22:56       ` Simon Barber
2006-10-25  5:03         ` Dan Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161873333.2927.9.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=david.kimdon@devicescape.com \
    --cc=flamingice@sourmilk.net \
    --cc=hong.liu@intel.com \
    --cc=jbenc@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=jt@hpl.hp.com \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=simon@devicescape.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).