wifi: rtw89: consolidate registers of mac port to struct
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 11 Sep 2023 08:20:48 +0000 (16:20 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 18 Sep 2023 14:29:27 +0000 (17:29 +0300)
commit651298138e42555be2824ae8a9f69db8a2185537
tree275a612dd1784ed26a29e77c4f83d979c194d93b
parentc8b9a49f7a3dc2eafe61f8d4bd7924b328e1a260
wifi: rtw89: consolidate registers of mac port to struct

MAC port is a design to support virtual interface on single MAC hardware.
For next generation chips, register addresses are changed but definitions
are the same, so move registers together to be easier to reuse codes.

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-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/mac.c