Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp652315ybs; Sun, 24 May 2020 17:07:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzN9r57V0jujCqcEHVnnvfQF6Bz4mYQpySLDeQbX0b09KCZhGf95YMj0cVcNkfZyMN8FisW X-Received: by 2002:aa7:c5d3:: with SMTP id h19mr13580837eds.112.1590365224024; Sun, 24 May 2020 17:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590365224; cv=none; d=google.com; s=arc-20160816; b=CYSm7yHbE1bY8saiEEpmQGNKXyvER6/qw9RjyFM5G6PeHXSY4cE/DErOiJlBuaCpaQ BU4Neaz8Jb3SrVQJL9yfSL2VRXtYhQvV9R0XF4y+v7Uty5fXsBnK7E8q4b5ngrXzlEDO +Y/Jj3U5ZhxbyNxh8unq+i+gYO9hGvCLAqkb2NMNXRxjmLSX6sv079GPp7XvgzC5+gEG XQFAhJjemkmfJowkWGJx0kYIxRXoRUvCpG1huJFkAX+HKN3F1azHDa75Aw0VFJ1j0SUb 5Zb7YVq0+XS0wTlhAFgGZISLGKX614JWkMnvjblpdzy3ouL49nG39zTIK0+Sikzb7ToF +BAA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=n9Vx9NvGMoEY67+PuuJAu6T2gQaNrvsedW9NpfMHlHM=; b=0UuOZME7fiGAzbtKBu1ECsy7SQQYDobfRppyPEh8NZ9r1CICt371HibWmNllOnGYHJ 82qeAloGZ5et9Qg8n1TxyHZERe9jKDB+4BE8AOrSWW9UKWDouNj8u28hI4D442kFmeks K1NiEyjPPRIIzWEwvjh2rviN8U96JRV5MZ4Nz367aBmQCTPEPI772eXePyX3Y+hqhVqS 8DQcrMRYoBHtkT/Dw9Bt7x46b7EAY+On1Svgt98fmPvxFSrwwF0HBSe6Dt68bSbuierv ej9hmgFPHthCWvEi/FCMgQzaRMB8bZ+4jcODd3gmc3yqNsDjbwYHOaVsMbU9fojZNKJQ A/DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=c5bs4d4b; 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 cx19si8662583edb.89.2020.05.24.17.06.24; Sun, 24 May 2020 17:07: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=fail header.i=@gmail.com header.s=20161025 header.b=c5bs4d4b; 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 S2388300AbgEYAC7 (ORCPT + 99 others); Sun, 24 May 2020 20:02:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388149AbgEYAC7 (ORCPT ); Sun, 24 May 2020 20:02:59 -0400 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E998C061A0E for ; Sun, 24 May 2020 17:02:58 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id d26so12631548otc.7 for ; Sun, 24 May 2020 17:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=n9Vx9NvGMoEY67+PuuJAu6T2gQaNrvsedW9NpfMHlHM=; b=c5bs4d4bIEO5FeLdAJBv5MP+ora7SI0zbGmD0a+y/G7myWZboEepuKVQzBnV1iGbcI JXL6/YRCr61Ptq3MjxNYkLPVMOa3KrRpscyaDQFdW+dKYTBYwdfmwema4GjiX3gAplmG +l24qL7mMjPcKK6j+ZJV7dt8vDLeh9J2jOEoKimZdM5jeM7VC0Fl3xAnGDp5WHFQxBFd eF/nVEUZ6b+T75dpeRnXQQ3R4eLey+tXyZWn+HMyMjnxMyNAl02sbA4FCho6NB+c98l2 rYFfnkcSzitJFHkEm40JRGH/zOvvbN1V1nVa08OBGmOZsau/j2S2CJpJQg/gfFs4OuQX EzYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=n9Vx9NvGMoEY67+PuuJAu6T2gQaNrvsedW9NpfMHlHM=; b=LRv34+Nkrnu/Od4RkvedMYgB1D3jIVu2xSES2n7dsWBPYhhDTVzxH0a6m0BzMRl73h FJewouHLHkfZeGjFJdU6+ttJaVgauYP1SvA+2El+IBkqaGYVnrT6Lbs2OUov/Jp+v7j1 +LRv9xrxgxJdCY7vs38XEo+5OrDhbyu5A4QoMIB4oewZx82T9yYKHFVmzXv4heUIvokP QgWag1BygC4LVkpRkLrfgXgK5Y2chXuyOgvxoPs/QXT/GXcbzZWICgXHbH/zTzhpGLbl b7LtnzfEPY9uqC1iWywhdZzcFdpbSSHESjKpQ0+s8UPdKX9wIxcl2cVYK0MShrYGJfBO M/cw== X-Gm-Message-State: AOAM530kG27MV+sJG57PXbK2iBQGLVlcBzZPOFr0ZtDEaxOtDRzXYtLa 2JeCPdzjovJJ4KTliPXiJ4kYJ2o/ X-Received: by 2002:a05:6830:400a:: with SMTP id h10mr17594849ots.105.1590364977255; Sun, 24 May 2020 17:02:57 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id c12sm4844834oib.22.2020.05.24.17.02.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 May 2020 17:02:56 -0700 (PDT) Subject: Re: [RFC PATCH] rt2800lib: unconditionally enable MFP To: Rui Salvaterra , Stanislaw Gruszka Cc: kvalo@codeaurora.org, linux-wireless@vger.kernel.org References: <20200524094730.2684-1-rsalvaterra@gmail.com> <20200524111751.GA914918@wp.pl> From: Larry Finger Message-ID: <12222a10-e5d9-514e-7667-0602919a4866@lwfinger.net> Date: Sun, 24 May 2020 19:02:55 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 5/24/20 10:07 AM, 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? I read the above thread. It seems that the best thing to do with b43 is to send the MFP_CAPABLE only when nohwcrypt is set as a module option. I wish it could have worked the other way, but I think the potential for keys getting out of sync should be avoided.I still need to find a place the log something when ciphers are present and the option is not set. Larry