Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1114233lqb; Wed, 17 Apr 2024 23:48:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+/xgaScP0Ysm2pAfKPHCUi/dXzNQluG5fdFOwFLzm5kFnDNxSLuSHBHC4gSq4wZQ4hV6CjnA9OPT6jmtVrvdbyB14l84z52OquOlD7w== X-Google-Smtp-Source: AGHT+IGR2P92S/D68DmDDLGF4Md8LjJySp+R0NkX+SGyQVa6I7wWgdRxcJYPmG5hMG/qbazf622Z X-Received: by 2002:a05:6a20:6a03:b0:1a7:a564:14db with SMTP id p3-20020a056a206a0300b001a7a56414dbmr2492722pzk.24.1713422892785; Wed, 17 Apr 2024 23:48:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713422892; cv=pass; d=google.com; s=arc-20160816; b=OBwHdgzUpzSfXWkhwkZ6VxV7ruFFQLADnkD7d8YrolQvZ98I6AJ3noryQ8RhBqg2qi cHW38EpucpUycX7mV5uVSOvvkq2NFgTQVgN0HPO6p3vPDRLxH0T6NZVZhPlqSFe9sjHi ZZuK0BLuD2fqdyhGBDHPFg/nbxSSC0kXIiz7Uhh9ZJ2X61aMSHo1O++FTSr4JUdX9rmv eSSGo4NHWKn1auqCWJJKy/XYQ7yKb1MtrBGFqFMqPIzriUI2c0kckgPU5egkWtdAD9m+ LypD37P+eMRh4CTRmOge/n4dIJvVFfcsh6ia0Or+6HdHTIfazDM2MTfmNVD2k/jtrg7z DTzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature :dkim-signature:message-id; bh=U/FMRRhZOgYFkdYDsjKnSzxaUyT83xh8rf7YnnW3dWM=; fh=qH/UV4/1wa0IrewGbvJyEFEL/6kwucVquynTFRJkjoM=; b=jGy2kJms+HuiuQLp7+Tx6D8AV0Qogu0YT4nQYmy3lnGWk/n2DN4KrHKmHLgXKuO+EE SyiA6mJzXVeSvEzuzQyiZje8ZJ1mMceZSJUNscrMee1FXjCRdsQI4f0b2MPpVEqtQrhv JWbM0FRfoUQ7vfRQloMgxB1XYyFEVjbmGMeY+Xboe+6SaK1sVm78ynRrxluYH8Nn9br6 PsNPkseW4FBE3plHVi2oICcRAboNPsqCiINGpBv1B+YlpeaCZ/uDT92pXZ6q0qenRrXB iwx0N6W/ivtP7wP31ml0HLfHSZNwZyjEWByg++DQ2hrCXy0ueYKOJmWlcPtzcc9N1xMK y6xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=P4J551ql; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-wireless+bounces-6496-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j5-20020a170902da8500b001e458b6e229si881363plx.245.2024.04.17.23.48.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:48:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6496-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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=P4J551ql; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-wireless+bounces-6496-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 AC6D5282480 for ; Thu, 18 Apr 2024 06:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DB2639FDD; Thu, 18 Apr 2024 06:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="P4J551ql"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="lh9guobA" X-Original-To: linux-wireless@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2530381CC; Thu, 18 Apr 2024 06:47:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422855; cv=none; b=t8ZYOlqXdhilNPm121JnfiQ3qxVNy5lqVdRiEhssPgi/EYOXAyAh0F5f+DkdMzamWKuEQFzvdR+PMZ7l78ePQhjB01w277bmcJLRu8NIc4xdkknMdnm5W9foCAzZ+CN/PXXbAOowR6qj95j9V12YO5bc4VWCrq5h0pnACob6SPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713422855; c=relaxed/simple; bh=yYirnyn1Rz0m0IOArDH012oqC2U07n7jEdGYlLv2ll0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JvZDSTvDrfOI6U17U+lymPvU8iH5DSegTEpKZ/vtaha2bCgkKfbkpEOJf1kIufys2iZnR0GKgJ+Zeb7338lcFnE6lxMhogLBAUHD/JS2NOM82i9cF/plGWQLEZlR8+mIGmjLngpuU1FivB2epINZZgju15VadHQj3Dgg5f7BApo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=P4J551ql; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=lh9guobA; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Message-ID: <137a9ecb-d5de-4471-bbc1-32986b735f28@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1713422851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U/FMRRhZOgYFkdYDsjKnSzxaUyT83xh8rf7YnnW3dWM=; b=P4J551qlI/ttMRlrZTJq0KLT1ZvkMp5q6kKHPH9fhzcw1qVvCm42BFT+jwkDumoHmRKsDt 5zzc+1nbxdHyZwv4PoaH+mBjMidWvBGOxQgeO9ByrfvQ/pN3KPqKjCWhMvKqCBmiSKV6IR 3LnTMk2a4WhjDXviv4iRHBs88Jrw43i1xGEawhmxGO7KViETc0gZsoVqZuP9qnVldLfUpg 1awPRGsBcLOUl79KT0DJ1Rp8IcXjgbnLHKbWFo+OeGw75hG6GuvxWZQjXl+pu8h05bJqtz 8AV8/raIF0F3I4jgyNFHTesPb3DUbtMgqzkIhCpfLDT82isBTCKFUvT+Wb38Fg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1713422851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U/FMRRhZOgYFkdYDsjKnSzxaUyT83xh8rf7YnnW3dWM=; b=lh9guobAWLFJ2MOcFFwzD4H7YDvL20RZ5ez681MpBmbecxhVPHwrudprxkUoPON128WBbw uJ05Zr8VJsxUTKAw== Date: Thu, 18 Apr 2024 08:47:31 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 2/2] wifi: rtl8xxxu: enable MFP support To: Ping-Ke Shih , "linux-wireless@vger.kernel.org" Cc: Jes Sorensen , Bitterblue Smith , Sebastian Andrzej Siewior , "stable@vger.kernel.org" References: <20240417093352.1840632-1-martin.kaistra@linutronix.de> <20240417093352.1840632-3-martin.kaistra@linutronix.de> <6a1571aadad1486eb83a19437e1d2437@realtek.com> Content-Language: de-DE From: Martin Kaistra In-Reply-To: <6a1571aadad1486eb83a19437e1d2437@realtek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 18.04.24 um 02:19 schrieb Ping-Ke Shih: > 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 frame 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. >> >> Use the security flag in the RX descriptor for this purpose, like it is >> done in the rtw88 driver. >> >> Cc: stable@vger.kernel.org >> Signed-off-by: Martin Kaistra > > I would like to change subject to > "wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor", > because the same subject as former patch cause confusing. I can change that > during committing. > > Others are good to me. > ok, subject change is fine for me. I just noticed though, that I named the enum "rtw_rx_desc_enc" instead of the probably more appropriate "rtl8xxxu_rx_desc_enc". Should I change that? Martin