From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796316273; b=UsfWjMzuwG+muFn2sq6h9y/+pFxCsjegMcPzIQQoxlcIJJEkIvsYWZUoxoMFxkTIlK4D hkHfD3p+XMdgqFdQUdbDQnWaU99c2g5VlhEw8nd3Y9V/Qwg7tJQfEJvtUlBC3mrc0DBUR bnuwr01lxy2F6ZcN8xRbBUhQbSVqEZ1p29knmZmCMsCHcXXFn0aeuqol7SZSFmPfcGZvP HGv2dOrzWx7r9quNO1jMEprWYp2cHxx5etlsLot9BTcONmqjIohXl7ZSFxDWS2WHmdGZW /v/xni/su4E1XFji/93rgxBhZuONxy00y9ud0TvP9bU5jfkGnlGOD/WeDIlgG/LXpAg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796316273; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=wS9UrGEp/uGklhKpzgrREbbGiXpVWHoF+0b6sw/E4oQ=; b=rqIHT1YT96IYL5vekqOmVp4mPEFlr2ExdsDaGJZ3bQnXa8dejxLyIZY4OP1kRLl9gZ/G zafgrZ7x7uQksWRX8NaC6Mzt32MXUG3AwNZLbyjGmSunO8AFjMkHJroPRhiitBLryfEFO OQai6V6fVvJY81yZQvXaMQO2jfbqEGN75/m/t5gWetBpG+hrwU26E/iuk4FOdpWifSihT euD+0pUX1vqXZ6EbkURubyptaVITCuxCaq2oVOt6aKYAvQTjZzPFjTQinr1gy3rEqFrac XEpaB+lKi78EniieyZdYtNxsHhS0x1jt8Eb6mBxidT/ngQhDWl6sCGah9qqCOID4WGQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=QTPmFEVy; arc=none smtp.remote-ip=209.85.216.42 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 861A3606A32D for ; Thu, 3 Dec 2026 16:44:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 861A3606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=QTPmFEVy Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-3b4cd193b50so16182a91.1 for ; Thu, 03 Dec 2026 08:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796316273; x=1796921073; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=wS9UrGEp/uGklhKpzgrREbbGiXpVWHoF+0b6sw/E4oQ=; b=QTPmFEVy4nQqs6F4tuWsYU6tqLw9rnFMIAsrSTXy3A3wWDtz8wAXDb3FLhtIKL/bUu 0FgUs6j+2hAoOOncKVyuga9HGXYPD7bVehMf7wZh+LLA1dFJAeUyiknIRGJ4/lOsBIGU w9fkiVtdNVzyffdpcvQ2F6CWZu5+JUO9s1XjFJow3aPnfiiAjfrbnYsZ+W9DFmdh0kmG jrlMrRp6dwkJUeYdkfesXb1ODVWmU+sB/G71qppQPvNJxqA/Y5FMa4bc2zRrNXnwlSvs OGZ3avH1TJtJFtsPaW+IR7o5wW9OA51yRJqxmRpfz+FW0Udxbf22yOAJAKRQGDm2o+z8 i99Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796316273; x=1796921073; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=wS9UrGEp/uGklhKpzgrREbbGiXpVWHoF+0b6sw/E4oQ=; b=E6lZ0UBXNx976olSMTy3I+uXIIEVAdTD/9ET6L8yAgEo3advgXF40CmO9AiG9CaVG0 nmXEsJUPJ19TUWXAYFJtpBBQSAaevfLL+QSEQXe7yrJzTTrZbCQ0q3LXwei85m0BoWZe 26ToxwYNndvHoHSygbzT2qNgknzSoGek0utWjARdxrFXwXjwJedpyXqQclIZm7FGGa5i JtV3WZ/lnvyM2mOX7P1zBnF3R2+8bfy3MFy+wmZlK2izeIFS6TjerUipGLnP2pbjByIS 4aaAOuyi61omrg20HIankPLzxnYTEVKjv2n7s0zJS/xzLEFTVm0m/CKn11g+9UDBGbpJ 0XHA== X-Forwarded-Encrypted: i=1; AL+hErF5z4JavAzYMcyxidWPtqGxBzwiqMjThEu6f0uvMe2yEwECrX02iVAbffFHzj8NvkIH2nRlEdZJorCP9Mo=@vger.kernel.org X-Gm-Message-State: APuU4Z+TnmMne4VdMpaaELJhVQFtklGJ01LR+O4olf3/W4LN2ADr9DH2 9HzWo0QU73pBCanqzdCXMszs2iyPJB/11oM/BdbwCZWDr4ds87nwxjSG X-Gm-Gg: AZFdTZcwccY0nZSRlyitfGYO8nr5NNpI1ntpu0C+VWg+bUhQAfk3yUoC5o1s/cZ79Gv Q7jG+OKofwZYiF7GDll+xDA/ZdTY5aPGkAu3XeDnFxHWsM1exPkZ7sLdoVZ8GisDlGysdMLe9dj FcBQ/kMmoSkfX24eSU/da21AOY8Uu7PkqSFscDrMnl0bKk9QC5Cq0+DIc/OIgSuk5lPfZI5NwcE Bjg5S3faQNtLKQ5yQuom9XDEDILV8t9aJkUikNFIf+5j/NC5NwFaTe8eeozeFz2Zp4Up5/HHvKu AQGwO7rMjqZs3tsYvctHoMThpUejd6Y2l2vxXowmg/XiVwP/l7y3MUiqpwtQwQnVOfTlxLTbYDg j3hFF998KOXhlfwy048hZXUmgcix0erdF4/t9gKfhYlnNFH//N+VSUkcmLBp8OH9lwAO28LNJ7I CPJceOwVLjtWoOxG4REB/xSttzRY/6GIqIh32eDyiKXvPRkE4FevraQfCPhL/cFV8X/FUX25kWe 9izlcJ5iI93L5JQyhmVhEU+4FZZ0F3fECQvJg5IbeweQmQy67vkQsLbbS/aZj5tmEEoqVvzqz5K kJeoVvw+BAebMJ2i93RRiuKuFnB3RUK1RCyOMaqAt+ldP0TiGw== X-Received: by 2002:a17:90b:4483:b0:3ac:bc3d:6fe8 with SMTP id 98e67ed59e1d1-3b41c92f8f9mr42669228a91.34.1796316272616; Thu, 03 Dec 2026 08:44:32 -0800 (PST) Received: from G7XWH7K1F3 ([139.177.225.224]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7d9c004sm5077089a91.17.2026.12.03.08.44.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Dec 2026 08:44:32 -0800 (PST) From: Zhao Li To: Ping-Ke Shih Cc: Hemanth Selam , Morning Star , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH rtw-next 0/3] wifi: rtlwifi: don't mark unencrypted frames as decrypted Date: Fri, 4 Dec 2026 00:44:11 +0800 Message-ID: <20261203164411.66521-1-enderaoelyther@gmail.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: References: <20261121163547.37019-1-enderaoelyther@gmail.com> <9125d3868f9e463f8639f3449cc7db2e@realtek.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Ping-Ke, On Mon, Nov 23, 2026 at 05:47:27AM +0000, Ping-Ke Shih wrote: > Looking into patch 1/3, I'm not sure the sw dec part: > > /* hw will set stats->decrypted true, if it finds the > * frame is open data frame or mgmt frame. > * So hw will not decryption robust management frame > * for IEEE80211w but still set status->decrypted > * true, so here we should set it back to undecrypted > * for IEEE80211w frame, and mac80211 sw will help > * to decrypt it > */ > > I think a real hardware is needed to check the status. Thanks for confirming the rtl8192d behavior and for the review across patches 1/3 and 3/3. I am ordering RTL8192CE, RTL8192SE, and RTL8192CU hardware to test how each chip reports SWDEC and decryption status on both unprotected and protected data and management frames. Once I have verified the actual descriptor behavior on hardware, I will follow up on your questions in patch 1/3 and send a v4 that restores the hardware comment, trims the commit messages, aligns the header pointer style, and unifies the RX_FLAG_DECRYPTED helper if the hardware behavior matches across chips. Thanks, Zhao