On Sat, Mar 5, 2011 at 11:50 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Sat, 2011-03-05 at 11:40 -0800, Javier Cardona wrote: >> On Sat, Mar 5, 2011 at 6:06 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: >> > I have a more generic question since I haven't seen the userspace bits: > >> 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. >> >> > How does userspace know when to authenticate with a new peer? > >> 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 -- 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