Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp883613ybs; Mon, 25 May 2020 01:24:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzTSaJ5Ndoj3qF57Iy5zbL2yITb820XBrDX1NhOOGt0nkPPvXH336L797IK+SWhPVu1ktr X-Received: by 2002:a17:906:404a:: with SMTP id y10mr16858655ejj.130.1590395044024; Mon, 25 May 2020 01:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590395044; cv=none; d=google.com; s=arc-20160816; b=H75RH8kAwZu/xXn3RE6NG7CYr6B97G/QAtSUyuI8o5haYl8Ljvaj3/F4XDEffOB6wS D+oG+moWcQtk4zbOmkDePIu+Glv/w+s/XYuxrccXcWWX7VEZ99Pw1vveaE1YbufHY+Yv kI9fZaxeELncpRzYdC+Fa2CvQCnoupUWCTe+skvuSu7doKDUOyUydWL7L19joZoj43LL M3cWwpRj32zLMwmc1ZmKFOkWSA1Y/ztG3Sayjlk6YaolNHq7ZUeFdfWaycDn8AO2mppN VAQwEkeVj0T/Yyh52ieVnQZ7x76DrlgNm60VGlmfQHKe9kJqVUCO0cN7NNGIlMIt8KJY fTyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7ctD4JdugRUvp9jjtsiLCtv/Ut71sXFnAus04xopgA8=; b=b5a37rBGJkkAaHgdKmW4399B1q62eaox15pPQs2M0kgwoOWPauk7ULrz05y1grWbP+ sqRKtfQsIopDyONXZw+EVbwKdXFGVq4tIfsUWkB1KYB18YuRhgEY3CawEy/7WhMF/NDu h+JHD16zaKUzq8IwyUti2e+cJvPVIfhDkI213zmbfArGfHvUe8p727a6qOUBQydBEI/u 2GN0jFZ7WnSbP41hBZeIHDvoCNoaswE1kui2LAekshvxVPDOUvI8mmbO1p7nPnTn3F5O yf14AelMW0ONNU7ke/Czftj3FiBxEnM1nK+PFShgCHeoePdlrOTVQICVUX7kEXKuupx9 cMdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=PIrbd8BD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si3868476edq.147.2020.05.25.01.23.31; Mon, 25 May 2020 01:24:04 -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; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=PIrbd8BD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729370AbgEYIRr (ORCPT + 99 others); Mon, 25 May 2020 04:17:47 -0400 Received: from mx4.wp.pl ([212.77.101.12]:54662 "EHLO mx4.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbgEYIRq (ORCPT ); Mon, 25 May 2020 04:17:46 -0400 Received: (wp-smtpd smtp.wp.pl 10691 invoked from network); 25 May 2020 10:17:44 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1590394664; bh=7ctD4JdugRUvp9jjtsiLCtv/Ut71sXFnAus04xopgA8=; h=From:To:Cc:Subject; b=PIrbd8BDXZkv1Df6n08qb1uMiu7hpjmLH3bWbxCjjIUL7GWH59oW0nlJ8Hhd4Or46 63FarSEdWg3ji5O9lCuZJuwRhyNl0xbikeFwjeASL3Rg+6VK3WuQHjd576xUeRD4Vv BvJni2iymy1+i+xhm5raKG65FhQha1lboarEvm3o= Received: from unknown (HELO localhost) (stf_xl@wp.pl@[46.39.164.203]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 25 May 2020 10:17:44 +0200 Date: Mon, 25 May 2020 10:17:33 +0200 From: Stanislaw Gruszka To: Rui Salvaterra Cc: kvalo@codeaurora.org, Larry.Finger@lwfinger.net, linux-wireless@vger.kernel.org Subject: Re: [RFC PATCH] rt2800lib: unconditionally enable MFP Message-ID: <20200525081733.GA919245@wp.pl> References: <20200524094730.2684-1-rsalvaterra@gmail.com> <20200524111751.GA914918@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-WP-MailID: b9c22e936d5e82e9115eb092458a2943 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [EVPk] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello On Sun, May 24, 2020 at 04:07:23PM +0100, Rui Salvaterra wrote: > Hi, Stanislaw, > > On Sun, 24 May 2020 at 12:18, Stanislaw Gruszka wrote: > > > > AFICT more work need to be done to support MFP by HW encryption properly > > on rt2x00. See this message and whole thread: > > https://lore.kernel.org/linux-wireless/977a3cf4-3ec5-4aaa-b3d4-eea2e8593652@nbd.name/ > > > > Stanislaw > > This RT2790 has been working just fine with my patch for hours. No > hangs at all. What additional bad behaviour should I expect? If you use new cipher like WLAN_CIPHER_SUITE_AES_CMAC (what I think is default for MFP setups) things will work just fine, because all encryption will be done by software. For older ciphers that are offloaded to hardware, namely WLAN_CIPHER_SUITE_CCMP, management frames like Disassociate, Deauthenticate, Action, will not be sent properly encrypted. On quoted thread described visible problem was lag and performance drop due to failed A-MPDU aggregation session setup. Stanislaw