From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796316273; b=AKbNw+JW9/cM+F1uFoK+6G7ImQ6A86A9WhBTZbQ+aUxt+cBq+DW3eLxbapFSfPEdAlHW 6/da7zTfOir0hn8GT3NsWpwvebB9+KF8bsizyz6foBNDE6c7AJjb8ORB+r69IdOaEYqCS 5RBw8JSUC06KeaPIBShWNw5L9loVsXH9xl34maVKyz5xD3tAQy+3NVADZdWdLQEUtoRZu 7yMK2/Nfd9zVl1rehQKXA5iT7WdJs6FGzVhV85Ca2Dg9rJ5YQVikxA9tuBbHkUl05f5ln lkuI5g10hoba/mE/fUgFYCnUonH/6rBaxccpsEmzYQ+jKA2ehuhOVf+UDveDNDQVO4A== 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=rxVF2Mkg/LfroVMwjquaxKJ7MJL0LSHHZr8ujUFsWWIOsN2ffjXwz91W0CNiooQU4/aW DqaB4IUDeZ9GC0nG/979qOi4w3PEmVw2Rbt++0OH38nCgdLqw5KZu4oUcqWPo9lc5/AQy 6bLQkfmfZj/ZUb+IL1bxsF4zOCIJ6fq3IXRFQqtYEkjNyNMKtcFdCcTiluDlpheTjB6K8 yjVCq+G4n9e5NZ1SCxWejr3w0m5Br3Ryge6Uv6n3QbRShC2ZrMcYeVA9ESgPCYerI/EQI vjTOnoiJGcOLjk/E5Cljqi6MogxWNdDib4Dyiw5AEjmftizjzXVpPTvDmVi5fTJRj7Q== 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.44 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 8C414606A330 for ; Thu, 3 Dec 2026 16:44:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8C414606A330 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-f44.google.com with SMTP id 98e67ed59e1d1-3ae1da332bcso13785a91.2 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=VrogJntfrN+W8Ght7wm/i3cGD0akXMa3PeO7VUU9LtvY1xI7SNfLKsaIlv3/gruxcy gbBjvRZYU/3CYW5XrMhr8u1B7XdkRwPVl7DpMZSD8xy6TZ46G3EVBXeUMRBiH7O6I4bS Rr4U+FfCMYhF4RGWKeu/2K35WVZc1FTD67A69joFWLhY8g9eyAE2MGv5WijoQZ64chbI a40oxcTncPU/9vEojP/OLYG3ejDTCpAm6fBssZMhOz9lQxrcPk7c7zzY+mFQE1rmt9j1 BoUK4SAKi7JuF8Ls7z4tBWMgutyqRFiZRMA8P3nxsP6QW0FBoSBkZ+fKfsefEM9v98km VhVg== X-Forwarded-Encrypted: i=1; AL+hErGR5V5J4ldZClDJd1CywRn/pgOhEW/RKci36Ojv/N4vC2Bn4bflhNQuivBQjBsfhbKrE3aVF28fHmOURF0+JQ==@vger.kernel.org X-Gm-Message-State: APuU4Z9M5aD7h0pA3Tf7htpbz2ll+cFYEzzqtrUGpqBP202A/uRzWPBg c7vtODrzZ2T545/A5DFyraJHhe/x3XiqbSdSoo/ZLkze0bGwybF4cP+H X-Gm-Gg: AZFdTZcWIJAytw2GwIBFCXLJ7Hp4+4v7ifIZ6anLoYQgww/noGMc5QyJehpO5KOWgkJ DEmdyLdMHvKCUoCrHz/CCG2IhstTYPRfPqaCp95AuX41ek8GBFj2HuJTjhkJ6kB5jVR8tus0p+y r6xNp9rTcnw+Sg05qxq3P6usD4DRbbH4mijy8/WeZciArNqOXJkAtuP05FpCtDYJtxeMlmTLJOJ 30dYbBlfQn1JXRpOUsei6jcaqylMYKo4jx4LvdVVuLCQVuJ1H/Bdk01s0PmeG3Y0a6x0IHnI7sL iiU0fvJIc4YGY2081aNtcjTGqpM6eP3Jf/bB/v+oxJ+EcYnFlDsWcDdNpPY9MABeytwl8Wu7FtL 4DQVZ+hhQ4d6SaFKZ46iLksJaQYkpC7N4+tAcRuuNAxqILmbLOyjD9HFXlaylnUWZKBJpeAGziE d9vP2MwhsuPPAlRvj0hfmLQc6H2g0FnLXti/W1Re3vEMlWw7np73o0lUvCltN4iBSXeVKuWy2CB nI0jV7oY2w/Fl4LSSQX8yS2B4cFEtJrNFy8Q/12vwYxAAaiVh3irR/+XSzxRQ6F+bEtc5bf4eWg s64MjZFoFkv3zLg4LDyceV/TOWukpjxm38eZVbNRbhqyEQwrNw== 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-wireless@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