Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: > On 23/10/2024 04:57, Ping-Ke Shih wrote: > > Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: > >> diff --git a/drivers/net/wireless/realtek/rtw88/rx.c b/drivers/net/wireless/realtek/rtw88/rx.c > >> index 1de93fc9efe9..90fc8a5fa89e 100644 > >> --- a/drivers/net/wireless/realtek/rtw88/rx.c > >> +++ b/drivers/net/wireless/realtek/rtw88/rx.c > >> @@ -234,10 +234,14 @@ static void rtw_rx_fill_rx_status(struct rtw_dev *rtwdev, > >> else > >> rx_status->bw = RATE_INFO_BW_20; > >> > >> - rx_status->signal = pkt_stat->signal_power; > >> - for (path = 0; path < rtwdev->hal.rf_path_num; path++) { > >> - rx_status->chains |= BIT(path); > >> - rx_status->chain_signal[path] = pkt_stat->rx_power[path]; > >> + if (pkt_stat->phy_status) { > > > > When only pkt_stat->phy_status is set, driver calls rtwdev->chip->ops->query_phy_status() > > to get PHY status. Have you reviewed all places accessing PHY fields > > also check pkt_stat->phy_status? > > > > Yes, I think this was the only place that didn't check pkt_stat->phy_status. > Great! Thanks for the confirmation.