Return-path: Received: from mail-io0-f179.google.com ([209.85.223.179]:44399 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751638AbdINTeG (ORCPT ); Thu, 14 Sep 2017 15:34:06 -0400 Received: by mail-io0-f179.google.com with SMTP id v36so3246428ioi.1 for ; Thu, 14 Sep 2017 12:34:06 -0700 (PDT) Subject: Re: ROAM/CONNECT event with PORT_AUTHORIZED To: Johannes Berg , Arend van Spriel , Arend van Spriel , Jouni Malinen Cc: Avraham Stern , linux-wireless References: <1505378361.31630.2.camel@sipsolutions.net> <1505389462.31630.6.camel@sipsolutions.net> <1505416658.31630.15.camel@sipsolutions.net> From: Denis Kenzior Message-ID: <9219316a-5556-6acf-30de-e9aa65a05706@gmail.com> (sfid-20170914_213410_614937_791E65A4) Date: Thu, 14 Sep 2017 14:34:04 -0500 MIME-Version: 1.0 In-Reply-To: <1505416658.31630.15.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/14/2017 02:17 PM, Johannes Berg wrote: > On Thu, 2017-09-14 at 13:37 -0500, Denis Kenzior wrote: > >> The question is whether all APs are actually sane after a >> roam. E.g. can the STA assume that the same IP address, DHCP lease, >> etc is still valid? I heard from various people that this might not >> be the case, but we haven't had a chance to verify those claims... > > I think you pretty much have to assume that, otherwise there's no point > in roaming at all - you want your connections to stay, possibly voice > calls to continue, etc. I'm all for using this assumption. I just wonder if real world disagrees? :) > However, I'm not really convinced (any more) that this is actually > correct. If I'm reading the supplicant code correctly, then it sets > IF_OPER_UP only once the connection is *completed*, so it's already > doing what I thought it should be doing and couldn't. > Yes. For a new connection it does something like: New Key Set Key New Key (group) Set Station (Authorized) (which fails on some drivers) Set OperState to UP Regards, -Denis