Re: [PATCH 0/4 v2] {mac|nl}80211: Support for SAE mesh authentication in userspace
From: Javier Cardona <hidden>
Date: 2011-03-05 20:02:18
On Sat, Mar 5, 2011 at 11:50 AM, Johannes Berg [off-list ref] wrote:
On Sat, 2011-03-05 at 11:40 -0800, Javier Cardona wrote:quoted
On Sat, Mar 5, 2011 at 6:06 AM, Johannes Berg [off-list ref] wrote:quoted
I have a more generic question since I haven't seen the userspace bits:quoted
There's a working prototype here: https://github.com/cozybit/authsae/blob/master/linux/meshd-nl80211.c The intent is to merge that functionality into wpa_supplicant at some point.quoted
How does userspace know when to authenticate with a new peer?quoted
Authentication is triggered by the reception of a beacon or presp from a compatible mesh peer with security enabled.Ok ... so I read from this that it actually parses out the beacon frames from scan results? It seems that it should rather signal beacon frames for unknown peers to userspace somehow, so userspace doesn't have to poll scan results?
Discovery (and much more) on that prototype can certainly be improved. Not sure what you mean from "signal beacon frames for unknown peers" but yes, the current polled approach is probably not what we want. The mesh stack should trigger an event when a mesh beacon is received from a station that has not been created. -- Javier Cardona cozybit Inc. http://www.cozybit.com