wifi: rtw89: mac: use mac_gen pointer to access about efuse

Use function pointers to abstract efuse access, and introduce an new
function to convert efuse power state that is needed by WiFi 7 chips.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231117024029.113845-3-pkshih@realtek.com
This commit is contained in:
Ping-Ke Shih 2023-11-17 10:40:25 +08:00 • committed by Kalle Valo
commit 88e6a923bb
5 changed files with 29 additions and 9 deletions