mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
wifi: rtw89: disable invalid phy reports for all ICs
Previously we only disable invalid reports for 52A, since we plan to support more ICs in the future, enable settings for those as well. Signed-off-by: Po-Hao Huang <phhuang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220610072610.27095-12-pkshih@realtek.com
This commit is contained in:
parent
37c6abc374
commit
47324ab67a
|
|
@ -3125,11 +3125,9 @@ static void rtw89_physts_enable_fail_report(struct rtw89_dev *rtwdev,
|
|||
|
||||
static void rtw89_physts_parsing_init(struct rtw89_dev *rtwdev)
|
||||
{
|
||||
const struct rtw89_chip_info *chip = rtwdev->chip;
|
||||
u8 i;
|
||||
|
||||
if (chip->chip_id == RTL8852A && rtwdev->hal.cv == CHIP_CBV)
|
||||
rtw89_physts_enable_fail_report(rtwdev, false, RTW89_PHY_0);
|
||||
rtw89_physts_enable_fail_report(rtwdev, false, RTW89_PHY_0);
|
||||
|
||||
for (i = 0; i < RTW89_PHYSTS_BITMAP_NUM; i++) {
|
||||
if (i >= RTW89_CCK_PKT)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user