wifi: rtw88: rtw8821c: Implement RTL8821CS (SDIO) efuse parsing
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 18 Feb 2023 15:29:42 +0000 (16:29 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 22 Feb 2023 12:31:37 +0000 (14:31 +0200)
commit64e9d564653566812dfade36d20f1794407e6ca1
tree97265046afbd2bf51fe757e859d5c324e261a13b
parent8599ea40582d49afe437badde76e31bd7429c607
wifi: rtw88: rtw8821c: Implement RTL8821CS (SDIO) efuse parsing

The efuse of the SDIO RTL8821CS chip has only one known member: the mac
address is at offset 0x11a. Add a struct rtw8821cs_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-4-martin.blumenstingl@googlemail.com
drivers/net/wireless/realtek/rtw88/rtw8821c.c
drivers/net/wireless/realtek/rtw88/rtw8821c.h