wifi: rtw88: rtw8822c: Implement RTL8822CS (SDIO) efuse parsing
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 18 Feb 2023 15:29:44 +0000 (16:29 +0100)
committerKalle Valo <kvalo@kernel.org>
Wed, 22 Feb 2023 12:31:37 +0000 (14:31 +0200)
commitad0a677bce20c7fa2e8af3fd7f23c0686018202b
tree0d0e277f59586898f30301f7c082433d89bd7d97
parent9e688784b8a13515ee186d0ee1cfab12b6d05241
wifi: rtw88: rtw8822c: Implement RTL8822CS (SDIO) efuse parsing

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