]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw88: 8821a/8812a: Set ptct_efuse_size to 0
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Wed, 18 Dec 2024 00:16:11 +0000 (02:16 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 23 Dec 2024 07:58:35 +0000 (15:58 +0800)
commit74a72c367573ad521becf6cc4d649e14387b3c64
tree98b48a85c4f5371391429b787050b6a18d5a9d63
parent59ab27a9f20f8de6f7989e8a8c3d97c04ed8199c
wifi: rtw88: 8821a/8812a: Set ptct_efuse_size to 0

Some RTL8812AU devices fail to probe:

[   12.478774] rtw_8812au 1-1.3:1.0: failed to dump efuse logical map
[   12.487712] rtw_8812au 1-1.3:1.0: failed to setup chip efuse info
[   12.487742] rtw_8812au 1-1.3:1.0: failed to setup chip information
[   12.491077] rtw_8812au: probe of 1-1.3:1.0 failed with error -22

It turns out these chips don't need to "protect" any bytes at the end of
the efuse.

The original value of 96 was copied from rtw8821c.c.

No one reported any failures with RTL8821AU yet, but the vendor driver
uses the same efuse reading code for both chips.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/1a477adb-60c3-463c-b158-3f86c94cb821@gmail.com
drivers/net/wireless/realtek/rtw88/rtw8812a.c
drivers/net/wireless/realtek/rtw88/rtw8821a.c