wifi: rtw89: mac: use pointer to access functions of hardware engine and quota
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 24 Nov 2023 07:17:02 +0000 (15:17 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 1 Dec 2023 12:39:29 +0000 (14:39 +0200)
commit39e9b5691921a886e19c80be47f492efef14d00f
treeea35da4d619edd07dad24645d69ce8d6659fcb90
parent0d16d8fbffb3fec128ec563b6f8cd512ebcec315
wifi: rtw89: mac: use pointer to access functions of hardware engine and quota

To share flow with WiFi 7 chips, abstract functions related hardware
engines and their quota, so use pointer to access them. This doesn't change
logic at all.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231124071703.132549-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/debug.c
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h