linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] nl80211 key handling improvements
@ 2009-07-07  2:02 Johannes Berg
  2009-07-07  2:02 ` [RFC 1/2] nl80211: introduce new key attributes Johannes Berg
  2009-07-07  2:02 ` [RFC 2/2] cfg80211: rework key operation Johannes Berg
  0 siblings, 2 replies; 3+ messages in thread
From: Johannes Berg @ 2009-07-07  2:02 UTC (permalink / raw)
  To: linux-wireless; +Cc: j

I dislike the current situation in nl80211, you
cannot connect to any protected network without
wpa_supplicant, but nl80211 can't _properly_ be
used to set keys either...

These patches implement my new plan. According
to that plan, static key configuration is passed
directly to CONNECT or JOIN_IBSS along with the
privacy flag, or the privacy flag itself is used
to indicate that the application will later set
the keys appropriately.

Internally, we store all the keys and call the
add_key() function after we have joined the IBSS
or connected to the AP (this could be changed if
there are drivers that need static keys during
connect(), but that seems rather unlikely). The
only complication is shared key auth -- but this
can be handled by simply passing the required
WEP key directly to ->auth() or ->connect().

This might break iwm wrt. shared key auth if that
currently works, but I couldn't figure out how it
actually works now, if at all.

johannes


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-07  2:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07  2:02 [RFC 0/2] nl80211 key handling improvements Johannes Berg
2009-07-07  2:02 ` [RFC 1/2] nl80211: introduce new key attributes Johannes Berg
2009-07-07  2:02 ` [RFC 2/2] cfg80211: rework key operation Johannes Berg

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).