From: Ping-Ke Shih <pkshih@realtek.com>
To: "Antonio Martínez Ramírez" <antoniomartinezramirez@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: RE: [PATCH rtw-next] wifi: rtlwifi: rtl8192ce: report no signal for frames without PHY status
Date: Tue, 1 Dec 2026 02:17:19 +0000 [thread overview]
Message-ID: <533b6cd58ced4875832bb2518ab9348b@realtek.com> (raw)
In-Reply-To: <20261130094232.8734-1-antoniomartinezramirez@gmail.com>
Antonio Martínez Ramírez <antoniomartinezramirez@gmail.com> wrote:
> Without PHY status, rtl92ce_rx_query_desc() skips the PHY translator but
> still assigns recvsignalpower + 10 to the RX signal. The PCI RX loop
> reuses stats and clears rx_status for each descriptor, so a missing
> measurement can be reported as a valid signal value.
This description is almost enough.
>
> Tracing the original driver on RTL8192CE hardware recorded one RX
> descriptor with no PHY status, zero recvsignalpower before and after
> the query, signal +10 dBm and RX_FLAG_NO_SIGNAL_VAL unset.
Plus "... RX_FLAG_NO_SIGNAL_VAL unset" to paragraph 1.
>
> Set RX_FLAG_NO_SIGNAL_VAL when PHY status is absent and retain the
> historical +10 assignment. Follow Ho Jie Feng's RTL8192D change,
> d25adca7a8d5 ("wifi: rtlwifi: rtl8192d: report no signal for frames
> without PHY status"). Limit this follow-up to RTL8192CE, for which
> physical hardware and the original-driver observation are available.
No need to reference other patch.
>
> All eight rtl8192ce C files compiled and rtl8192ce.o linked with
> W=1 and no warnings. A full module build and runtime testing of the
> modified driver have not been completed.
>
> ChatGPT and OpenAI Codex assisted with RX-path analysis, adapting the
> RTL8192D change, temporary tracing and drafting. The requests were to
> investigate this hardware and keep the proposed change minimal.
These are not necessary.
>
> Link:
> https://lore.kernel.org/linux-wireless/20261130005208.3375-1-antoniomartinezramirez@gmail.com/
> Link: https://github.com/pkshih/rtw/commit/d25adca7a8d556f24816b67e6b8e5aab62e920de
No need these two links.
> Signed-off-by: Antonio Martínez Ramírez <antoniomartinezramirez@gmail.com>
---
If you want to share information, add them here after a "---" delimiter.
> ---
> drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c
> b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c
> index 9947205..005093c 100644
> --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c
> +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.c
> @@ -331,6 +331,8 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw,
> _rtl92ce_translate_rx_signal_stuff(hw,
> skb, stats, pdesc,
> p_drvinfo);
> + } else {
> + rx_status->flag |= RX_FLAG_NO_SIGNAL_VAL;
> }
>
> /*rx_status->qual = stats->signal; */
>
> base-commit: ae6b9e98b9045e47f609ec2a8197a3f3109627cb
pw-bot: cr
prev parent reply other threads:[~2026-12-01 2:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 9:42 [PATCH rtw-next] wifi: rtlwifi: rtl8192ce: report no signal for frames without PHY status Antonio Martínez Ramírez
2026-11-30 13:21 ` Jie Feng
2026-11-30 13:24 ` Antonio Martínez Ramírez
2026-12-01 2:18 ` Ping-Ke Shih
2026-12-01 2:17 ` Ping-Ke Shih [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=533b6cd58ced4875832bb2518ab9348b@realtek.com \
--to=pkshih@realtek.com \
--cc=antoniomartinezramirez@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/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