From: Zhao Li <enderaoelyther@gmail.com>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: Hemanth Selam <hemanth.selam@gmail.com>,
Morning Star <alexbestoso@gmail.com>,
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 [thread overview]
Message-ID: <20261203164411.66521-1-enderaoelyther@gmail.com> (raw)
In-Reply-To: <f42a652dc4f64f72a5026bf709be74b3@realtek.com>
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
prev parent reply other threads:[~2026-12-03 16:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 16:35 [PATCH rtw-next 0/3] wifi: rtlwifi: don't mark unencrypted frames as decrypted Zhao Li
2026-11-21 16:35 ` [PATCH rtw-next 1/3] wifi: rtlwifi: rtl8192ce: " Zhao Li
2026-11-23 6:14 ` Ping-Ke Shih
2026-11-21 16:35 ` [PATCH rtw-next 2/3] wifi: rtlwifi: rtl8192se: " Zhao Li
2026-11-21 16:35 ` [PATCH rtw-next 3/3] wifi: rtlwifi: rtl8192cu: don't mark undecrypted " Zhao Li
2026-11-23 6:22 ` Ping-Ke Shih
2026-11-23 5:43 ` [PATCH rtw-next 0/3] wifi: rtlwifi: don't mark unencrypted " Ping-Ke Shih
2026-11-23 5:47 ` Ping-Ke Shih
2026-12-03 16:44 ` Zhao Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203164411.66521-1-enderaoelyther@gmail.com \
--to=enderaoelyther@gmail.com \
--cc=alexbestoso@gmail.com \
--cc=hemanth.selam@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox