RE: [PATCH rtw-next 2/5] wifi: rtlwifi: rtl8192d: report no signal for frames without PHY status
From: Ping-Ke Shih
Date: Sun Nov 08 2026 - 21:51:50 EST
Jie Feng <hjf3108@xxxxxxxxx> wrote:
> On Sun, 8 Nov 2026 at 11:13, Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote:
> >
> > Ho Jie Feng <hjf3108@xxxxxxxxx> wrote:
> > > Only the first frame of an A-MPDU comes with the PHY status.
> > > This makes mac80211 report the correct value when queried from iw.
> > >
> > > Test results (2.4 GHz):
> > > before after
> > > TX 6.1 5.2
> > > RX 29.1 27.1
> >
> > How does improper RX_FLAG_NO_SIGNAL_VAL affect throughput?
> I included the throughput numbers as a regression test, to show that it does not
> cause any speed regressions. It should not affect throughput.
Remove the numbers. Or at least mention it doesn't affect throughput.
> > >
> > > Signed-off-by: Ho Jie Feng <hjf3108@xxxxxxxxx>
> > > ---
> > > drivers/net/wireless/realtek/rtlwifi/rtl8192d/trx_common.c | 3 +++
> > > 1 file changed, 3 insertions(+)
> > >
> > > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192d/trx_common.c
> > > b/drivers/net/wireless/realtek/rtlwifi/rtl8192d/trx_common.c
> > > index 9f9a34492030c6..a8910cdbfa0979 100644
> > > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192d/trx_common.c
> > > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192d/trx_common.c
> > > @@ -425,6 +425,9 @@ bool rtl92d_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,
> > > stats->rx_bufshift);
> > > _rtl92d_translate_rx_signal_stuff(hw, skb, stats, pdesc,
> > > p_drvinfo);
> > > + } else {
> > > + /* Only the first frame of an A-MPDU has the PHY status. */
> >
> > It is clear that this branch is !phystatus, so no need comment.
> Will be removed in v2 of the patch series.
Wait a while, since patchwork and lore for wireless are broken. It is hard
to me to trace patches...
>
> > > + rx_status->flag |= RX_FLAG_NO_SIGNAL_VAL;
> > > }
> > > /*rx_status->qual = stats->signal; */
> > > rx_status->signal = stats->recvsignalpower + 10;
> > > --
> > > 2.53.0
> >