wifi: rtw88: rtw8822b: Implement RTL8822BS (SDIO) efuse parsing
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 18 Feb 2023 15:29:43 +0000 (16:29 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 22 Feb 2023 12:31:37 +0000 (14:31 +0200)
commit9e688784b8a13515ee186d0ee1cfab12b6d05241
tree15ba94b8f028516e2c92e544ae97de8fead334c4
parent64e9d564653566812dfade36d20f1794407e6ca1
wifi: rtw88: rtw8822b: Implement RTL8822BS (SDIO) efuse parsing

The efuse of the SDIO RTL8822BS chip has only one known member: the mac
address is at offset 0x11a. Add a struct rtw8822bs_efuse describing this
and use it for copying the mac address when the SDIO bus is used.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230218152944.48842-5-martin.blumenstingl@googlemail.com
drivers/net/wireless/realtek/rtw88/rtw8822b.c
drivers/net/wireless/realtek/rtw88/rtw8822b.h