Return-path: Received: from mail-pf0-f169.google.com ([209.85.192.169]:45582 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbdIOMup (ORCPT ); Fri, 15 Sep 2017 08:50:45 -0400 Received: by mail-pf0-f169.google.com with SMTP id q76so1396541pfq.2 for ; Fri, 15 Sep 2017 05:50:45 -0700 (PDT) Subject: Re: ROAM/CONNECT event with PORT_AUTHORIZED To: Johannes Berg , Arend van Spriel , Jouni Malinen Cc: Avraham Stern , linux-wireless References: <1505378361.31630.2.camel@sipsolutions.net> <14eb89c4-680b-a1b9-c430-9f92a72bb86c@gmail.com> <1505414172.31630.13.camel@sipsolutions.net> <6f177c6d-ff79-bc9b-6ed6-e91a1ad96899@gmail.com> <1505416964.31630.17.camel@sipsolutions.net> <7210eb81-be88-8554-deb8-1926606ef64b@gmail.com> <1505418093.31630.21.camel@sipsolutions.net> <94a01366-1af7-4728-59e4-847bfd8476e0@gmail.com> <1505459955.31630.26.camel@sipsolutions.net> From: Denis Kenzior Message-ID: (sfid-20170915_145048_802128_DC00E62F) Date: Fri, 15 Sep 2017 07:50:42 -0500 MIME-Version: 1.0 In-Reply-To: <1505459955.31630.26.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Johannes, On 09/15/2017 02:19 AM, Johannes Berg wrote: > On Thu, 2017-09-14 at 14:54 -0500, Denis Kenzior wrote: > >> If you want roaming to keep oper state UP in all cases, then >> yes. Does this work on full mac cards as well? > > I don't see why not. > >> E.g. if I CMD_CONNECT to AP1, then pre-authenticate to AP2 and issue >> a CMD_CONNECT to AP2? > > That's not something you can do with full-MAC cards? Err, why not? Pre-Authentication runs over a 0x88c7 protocol. So we should get these just like regular PAE frames. But forget pre-authentication, one can still force a roam between BSSes within the same ESS by specifying NL80211_ATTR_PREV_BSSID. At least that's what the docs say ;) > > And even mac80211 doesn't really support pre-authentication (unless you > mean over-the-DS) > There's only one kind of preauthentication? Are you confusing this with FT? We use FT-over-Air just fine on mac80211 and on real hardware. We even have an autotest for this based on mac80211_hwsim. FT-over-DS should work as well. Full macs don't support FT due to lack of CMD_ASSOCIATE/CMD_AUTHENTICATE. Can we fix that btw? Regards, -Denis