Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1255091lqt; Tue, 19 Mar 2024 19:04:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUpb9Tbwjrawn/AtiGE7dn3DGMWMEA/g57Us8e8TLOprqxHUgGcf8CaU6Ye10ylOUUO/9lBXUj3DojlO02FpuRFNBKxiw0BjqL2fEoVNg== X-Google-Smtp-Source: AGHT+IE0SHUGyXKcudhi5CwdPCeifHAUZxAE53yoag22eq9HXY83vRngM6bIdt7Y+wVVbxjgR8Np X-Received: by 2002:a05:6358:65a3:b0:17b:ee6f:b6ae with SMTP id x35-20020a05635865a300b0017bee6fb6aemr4979141rwh.9.1710900276249; Tue, 19 Mar 2024 19:04:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710900276; cv=pass; d=google.com; s=arc-20160816; b=rTLffWmnPXb0NQiCAsxIQmlI5Mm5+cpxIxpiE2vupKeMhFDKr92aQbmZEXGeyRXsTo xSXD7VppQtsOWSrXcA6tOexSz76xtb8DvEcfrA35oU+6cCdUJZP0gjGaxHMz32TR6ftU ZAdJJk6q4Inwn8rSD3LjHCa3nNwO8YX1f3HB+uceNnkXIqYAN87szSL+PSL3Pc4giKKH LXIM0/1obM2yYY6cAqYAkOmhIrokLyr5Xu8cijnoFgiSkQPj7sPFJobqAbP/xJiYIM9E kX7JeZDJm179jJfOFjziyer1wn0AwXk41n5OmhN6RLQo49NECNK2SEJuYFe5j8zD7RCd sZww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:in-reply-to:subject:cc:to:from; bh=P2x4Isffq0yUcLJIVoxnS9de64F36JQni30IdEMlgzc=; fh=DZAgja83OkTDvZaeQy255cSCKYwqRdjG9C5uP8FBJ5M=; b=VtwIGwL2Pauf8lw/2Qc8QEZFCinyrZ4+7m9o8/Sr+v2S2y+YYm7qs6Db5VXs1Yxcg0 eOSwZpVQgQymQxkK8xHKBliIDPMvqC8zdayr5v73Qvc6/LAEXJoMMCKoQ/kANd0qzEpB FJUuFfcshMG5c/ZP8Aqfm0mFtL/N4nA6HHIchsT6yOBqAdSg5SCSsutk3ZcRKJTkl23S NXvA5EDJ+9sVNbl3/ej0qRmVBzt0QILtRp7u8Vq+niM6Fihk4Kr1+uYQd0VW30D3B+oP XMrRin1KfZ7TlPjiWwnwMorbwAWv3M2Ej6tktP5pjKcwzB2Y09tARYnjhze5fINi51IE y/NQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-4940-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4940-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q15-20020a635c0f000000b005dc12137745si11066181pgb.151.2024.03.19.19.04.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 19:04:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4940-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-4940-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4940-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DE3AC2852AF for ; Wed, 20 Mar 2024 02:04:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B4768C0B; Wed, 20 Mar 2024 02:04:17 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4FB77489 for ; Wed, 20 Mar 2024 02:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710900257; cv=none; b=dcv+932cL8lMpt2XV98qM8g93PynDS0YNcAKS3shSAt20HpMw48PE1+iBN+88Lus0O4rjz0Z8ihw1nCf/1ppwIapIySLiNQmvjGjQ5HsOf5HA+qb7dRP4l/FDDp30mVq+E5cVDxPTtlUnjdkSOfLBpeG+wBGoNz/Rc7tdkA+g0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710900257; c=relaxed/simple; bh=SHa113Ate6V9jWx3JHJkM8Vd8NUaAW8PAJeYonjZTCs=; h=From:To:CC:Subject:In-Reply-To:References:MIME-Version: Content-Type:Message-ID:Date; b=QRMp+QvqTJtqMq80pUFfaWIz6O7W1NUz1X2Sv/MIvcsRLrInoq2+1tOIFCxYmNQSKsIO69xccgs/vLHqyAFWhZq6n+MOm6fy95rH0t06E/mro1DyyRmJvcfeytIgSZoKD+JRBrc3iqfL/VSxl/c42J4ZUWykXOL8FCOOVa5ZKtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 42K23qgD6162607, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 42K23qgD6162607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Mar 2024 10:03:53 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 20 Mar 2024 10:03:52 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 20 Mar 2024 10:03:51 +0800 From: Ping-Ke Shih To: Martin Kaistra , CC: Jes Sorensen Subject: Re: [PATCH] wifi: rtl8xxxu: enable MFP support In-Reply-To: <20240314164850.86432-1-martin.kaistra@linutronix.de> References: <20240314164850.86432-1-martin.kaistra@linutronix.de> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Message-ID: Date: Wed, 20 Mar 2024 10:03:51 +0800 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback Martin Kaistra wrote: > In order to connect to networks which require 802.11w, add the > MFP_CAPABLE flag and let mac80211 do the actual crypto in software. > > When a robust management frames is received, rx_dec->swdec is not set, > even though the HW did not decrypt it. Extend the check and don't set > RX_FLAG_DECRYPTED for these frames in order to use SW decryption. > > Signed-off-by: Martin Kaistra > Reviewed-by: Ping-Ke Shih 1 patch(es) applied to rtw-next branch of rtw.git, thanks. 77f5924fc41c wifi: rtl8xxxu: enable MFP support --- https://github.com/pkshih/rtw.git