From: Johannes Berg <johannes@sipsolutions.net>
To: Dan Williams <dcbw@redhat.com>
Cc: netdev <netdev@vger.kernel.org>, Jiri Benc <jbenc@suse.cz>,
"John W. Linville" <linville@tuxdriver.com>,
Larry Finger <Larry.Finger@lwfinger.net>,
Jouni Malinen <jkm@devicescape.com>, Thomas Graf <tgraf@suug.ch>
Subject: Re: [RFC] cfg80211 and nl80211
Date: Wed, 04 Oct 2006 16:19:20 +0200 [thread overview]
Message-ID: <1159971561.2817.87.camel@ux156> (raw)
In-Reply-To: <1159947674.2817.19.camel@ux156>
On Wed, 2006-10-04 at 09:41 +0200, Johannes Berg wrote:
> I don't really have an explicit ToDo list, but here are a few points
> that come to mind
> * notification support when parameters change multicast a netlink
> message to all subscribers of that group
I think we'll want at least two groups here:
- scan results
- configuration changes
can anyone think of more? NM might like to listen for config changes and
scan events, but most tools won't be that much concerned about config
changes... current wireless events are subsumed here as well.
> * transmit status notification support for packet injection (sort of
> ties in with the first point)
This should be a matter of saving the socket id of the requesting
nl80211 packet in the request structure, and having d80211/the driver
keep track of it and pass it back with the tx status structure to an
cfg80211_transmit_status(). Maybe a second cookie would be good too if
we ever gain packet injection capabilities over something other than
netlink. Thoughts?
> * scan results (also somewhat related to the first point)
Should cfg80211 do the chore of keeping track of the whole scan results?
On the other hand, that doesn't seem to be doable with legacy hardware
that does all the scanning. So probably one call for
cfg80211_notify_scan()
that takes a new scan result structure (taking a single BSSID etc.) and
notifies all listeners.
The same structure is used for get_scan() from the wiphy ops in an
iterator interface like some other calls.
> * crypto and auth support
I really need someone to help me out with this one. So far I've seen
that we have commands for
* getting crypto capabilities (several orthogonal issues, crypto
algorithms as well as auth algorithms as well as key management?)
* setting keys for both rx and tx
- up to 4 default keys
- setting WPA key(s?)
- setting sta pairwise key (AP)
- setting group key (AP, same as for STA?)
* setting the WPA IE(s)
* authentication (WE sticks so much into that call that I can't pull it
apart, what exactly is needed?) looks like it needs (sub)commands for
- allowed wpa versions (why is this AUTH??)
- setting pairwise and group ciphers (again.. AUTH??)
- setting key management (again.. AUTH??)
- authentication algorithm (whew, something that really is auth)
- roaming control (haha, already covered)
* more?
johannes
next prev parent reply other threads:[~2006-10-04 14:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 9:23 [RFC] cfg80211 and nl80211 Johannes Berg
2006-09-29 21:10 ` James Ketrenos
2006-09-30 3:00 ` Michael Wu
2006-10-02 9:08 ` Johannes Berg
2006-09-30 3:14 ` Michael Wu
2006-10-02 16:15 ` Dan Williams
2006-10-02 17:01 ` Dan Williams
2006-10-04 7:41 ` Johannes Berg
2006-10-04 14:19 ` Johannes Berg [this message]
2006-10-04 17:57 ` Dan Williams
2006-10-05 7:59 ` Johannes Berg
2006-10-05 13:13 ` Stuffed Crust
2006-10-05 15:46 ` Jouni Malinen
2006-10-05 16:20 ` Jouni Malinen
2006-10-06 9:41 ` Johannes Berg
2006-10-05 7:47 ` Johannes Berg
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=1159971561.2817.87.camel@ux156 \
--to=johannes@sipsolutions.net \
--cc=Larry.Finger@lwfinger.net \
--cc=dcbw@redhat.com \
--cc=jbenc@suse.cz \
--cc=jkm@devicescape.com \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
--cc=tgraf@suug.ch \
/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