Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp911317ybs; Mon, 25 May 2020 02:18:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2QFvM/dLwdqOjyCrfoteVouf4HyZYmio+SSSO2kZco30BZBeBVl3u4zSTgPI1b5iflBRA X-Received: by 2002:a17:906:1d55:: with SMTP id o21mr17481916ejh.491.1590398310514; Mon, 25 May 2020 02:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590398310; cv=none; d=google.com; s=arc-20160816; b=vGpi4MDCzKf8nwXSdX+AWuQ/R3DVeUoZ41dMJKQ+Whb3wnbejk7eg10WIFUJZfI6B+ O3zQHuKy+9OGOQRfOiQ8UZ2xvWEpVe+5mkCsG86N+WNnBBd0hbTvnXVi6wpkjJHpBBrn h7vha5R62KGAIsMR6OzAOOvF1EC8bcBdtai8Aq35bolq1RIdZXCzjuwtjrGhgWwgkfTV KrRKoWDiPS6Tjm4gSwZ5hu08iUVOcuw8nKCJLZUNromr3SVMpjAFBj0wRpbd6XLhmrnA a7gvWcjrzoJDcAGsc4xl5Wy15yMYenW+opAAYMfuOizV4B0YJkWS7EC9FZI7HEO5ajyj 1WuQ== 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=RDDNpdOYmbCfTP++r1Bp1Fp/ji36frYVseMx8LyLm5c=; b=wjRbUdjDjIA63JVhm9bvN6QK8joJE6skfKzWMgiirHbnKawIbsnstZA4JKzUXnm0vf qKKDwoGaUv6wU+ZEpRwyxQYgiZTudBXYoSDZZfTKaN6ccQxQ+gql9eyhrAIzcIWeMFcw Af9ffPtJ8Vmfw3flLX3c+L9yFXpLxzH6lIeEWoPRSNIwdueqS3AM/He8hD13o6KmxI6W g0Oi0g5aKuj+NIYfp52IEVEDD0mi7Py7120d2XMVAKOSXT80Xpu6Nnfl9pHA3VAAnn2B Z21szZwnnzDnmb7lhjiyYqiKZsKtOihg/8uoXdoEnIIB7De8CfqpiGUN5cvekgeFqkPN rqIQ== 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 u10si9198952ejg.377.2020.05.25.02.18.06; Mon, 25 May 2020 02:18:30 -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 S2389105AbgEYJPm (ORCPT + 99 others); Mon, 25 May 2020 05:15:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbgEYJPm (ORCPT ); Mon, 25 May 2020 05:15:42 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B1E1C061A0E for ; Mon, 25 May 2020 02:15:42 -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 1jd9Ck-002bNF-Cy; Mon, 25 May 2020 11:15:30 +0200 Message-ID: <640c254edb9fdaec2fd8987d1f2d345bd1d9276c.camel@sipsolutions.net> Subject: Re: [RFC PATCH] rt2800lib: unconditionally enable MFP From: Johannes Berg To: Stanislaw Gruszka , Julian Calaby Cc: Rui Salvaterra , Kalle Valo , Larry Finger , linux-wireless@vger.kernel.org Date: Mon, 25 May 2020 11:15:29 +0200 In-Reply-To: <20200524123931.GA915983@wp.pl> (sfid-20200524_143937_630812_BD080B34) References: <20200524094730.2684-1-rsalvaterra@gmail.com> <20200524111751.GA914918@wp.pl> <20200524123931.GA915983@wp.pl> (sfid-20200524_143937_630812_BD080B34) 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 On Sun, 2020-05-24 at 14:39 +0200, Stanislaw Gruszka wrote: > > > And once mac80211 is smart enough to make those decisions, couldn't we > > just enable MFP by default? For the record, I don't think we'd really want to add such a thing to mac80211 ... easier done in the driver. > If we will have indicator from mac80211 that MFP is configured, we can > just return -EOPNOTSUPP from rt2x00mac_set_key() for CCMP and that will > make MFP work without specifying nohwcrypt module parameter - software > encryption will be used anyway. Not sure mac80211 really knows? Hmm. johannes