Re: [PATCH 0/4 v2] {mac|nl}80211: Support for SAE mesh authentication in userspace
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-03-05 20:23:37
On Sat, 2011-03-05 at 12:01 -0800, Javier Cardona wrote:
quoted
quoted
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.
Right. But in any case, the secure flag doesn't really need to mean "secure", it can simply mean "userspace manages stations". I was thinking first that maybe there's something else that triggers this in a secure case, but of course that can't be true since it's symmetric. Therefore, I think we should allow userspace the flexibility to say it manages stations even when the RSN information isn't there, no? johannes