wifi: rtw89: add mac_gen pointer to access mac port registers

Using mac_gen pointer to reuse the code with WiFi 7 chips, and define
MAC ports registers for 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/20230911082049.33541-7-pkshih@realtek.com
This commit is contained in:
Ping-Ke Shih 2023-09-11 16:20:49 +08:00 • committed by Kalle Valo
commit 7c8a55dd26
4 changed files with 223 additions and 24 deletions