Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:60201 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753525Ab1CEUCS (ORCPT ); Sat, 5 Mar 2011 15:02:18 -0500 Received: by vws12 with SMTP id 12so2846609vws.19 for ; Sat, 05 Mar 2011 12:02:17 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1299354655.29845.8.camel@jlt3.sipsolutions.net> References: <1299288252-28314-1-git-send-email-thomas@cozybit.com> <1299333960.3826.6.camel@jlt3.sipsolutions.net> <1299354655.29845.8.camel@jlt3.sipsolutions.net> From: Javier Cardona Date: Sat, 5 Mar 2011 12:01:57 -0800 Message-ID: Subject: Re: [PATCH 0/4 v2] {mac|nl}80211: Support for SAE mesh authentication in userspace To: Johannes Berg Cc: Thomas Pedersen , "John W. Linville" , devel@lists.open80211s.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, Mar 5, 2011 at 11:50 AM, Johannes Berg wrote: > On Sat, 2011-03-05 at 11:40 -0800, Javier Cardona wrote: >> On Sat, Mar 5, 2011 at 6:06 AM, Johannes Berg 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