Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp157955ybs; Tue, 26 May 2020 06:11:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX3rrmJdMRm4SBL3VPfqqPppRqMsWCOTYgQ9Wz4IbK+sXzYdYu44yURlZBIyjUabGw/pEN X-Received: by 2002:a05:6402:1775:: with SMTP id da21mr20301827edb.271.1590498683705; Tue, 26 May 2020 06:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590498683; cv=none; d=google.com; s=arc-20160816; b=IJ0FQW8RcmXRq3J1ldD9Nzkzss6TC5j+pXzL/PFaPAX1VUE+DtRA6pIXH/FUi3IL+A 75VMLUs4i29GGaQfbtApcKnEzRvuqK6p0Xcn6FroWkR25znZX3gQUwKRn6Sc9JbHQcjw dOeZa3WX0vmeqWq60GpALeOCRfUyBhFjBtUwI5TybtOTfar4tSc9cyL2+35Yjpn8+3pT YZMI31NbCCha5fY6CdNlgcppv+nASq41UVNIzrOS2vYdKZybN5cehF8xzr/2xsmxeNzq CgULKKoiNF/gKhBqqJmnhHrTxyoFXQrzuhjC8e6GSZpdXx7Qbb9lkG5pPZiJ+qR3N2le NNuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=sfbFOjW3Y+ftdrVRLY7gQNY7WAgDejUJXnxGOFTqjrk=; b=rDLoRv1CvsNQekSZnk2TwBMTeztCFbpYQEk0fGZUz/QVzs6A9TnSCb+dk4CRnXMvGk ny7OoAmVwbI/85njVBbUfa8KWygPV3u/wrI/av8XhnQr+3L8PklM52EaDO8xvTKdGSic INUnopz2UkXEYwoVo7khdYIAzpT9mrKHuoC6kypyYddmzkS7J1j7nQsfX+E/9g8sJafJ 7Fdl/2ag7Tsxc7AZ3U+GzzfKY6+hpQFSJp5lcJwFOs0eLlU+KS8zLBzhSNCkzJF/p7qj Y031x3WLhTWGIZWOubJIN+T64/kxMhjRK4VSRftnwJPXVbNS4y3IJY1oImkleZjmANtu H++w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr2si1292311ejb.221.2020.05.26.06.10.49; Tue, 26 May 2020 06:11:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389183AbgEZMkD (ORCPT + 99 others); Tue, 26 May 2020 08:40:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388497AbgEZMkD (ORCPT ); Tue, 26 May 2020 08:40:03 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B6B4C03E96D for ; Tue, 26 May 2020 05:40:03 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1jdYsD-003QIX-J3; Tue, 26 May 2020 14:40:01 +0200 Message-ID: <2dfd11dfc1b202d28cfa8a7a5a2a18297386b6b8.camel@sipsolutions.net> Subject: Re: [PATCH] nl80211: fix PORT_AUTHORIZED wording to reflect behavior From: Johannes Berg To: James Prestwood , linux-wireless@vger.kernel.org Cc: Arend van Spriel Date: Tue, 26 May 2020 14:40:00 +0200 In-Reply-To: <20200413162053.3711-1-prestwoj@gmail.com> (sfid-20200413_182103_758052_769BF68A) References: <20200413162053.3711-1-prestwoj@gmail.com> (sfid-20200413_182103_758052_769BF68A) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.2 (3.36.2-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Arend, On Mon, 2020-04-13 at 09:20 -0700, James Prestwood wrote: > The CMD_PORT_AUTHORIZED event was described as an event which indicated > a successfully completed 4-way handshake. But the behavior was > not as advertized. The only driver which uses this is brcmfmac, and > this driver only sends the event after a successful 8021x-FT roam. > > This prevents userspace applications from knowing if the 4-way completed > on: > > 1. Normal 8021x connects > 2. Normal PSK connections > 3. FT-PSK roams > > wpa_supplicant handles this incorrect behavior by just completing > the connection after association, before the 4-way has completed. > If the 4-way ends up failing it disconnects at that point. Can you comment on this? We do have an (still out-of-tree, and probably will remain that way since the firmware never really took off) driver that sends it in all the cases that we documented ... johannes