wifi: rtw89: mac: move code related to hardware engine to individual functions
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 24 Nov 2023 07:17:01 +0000 (15:17 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 1 Dec 2023 12:39:29 +0000 (14:39 +0200)
commit0d16d8fbffb3fec128ec563b6f8cd512ebcec315
tree06588e855eafac47874634d78c54a0767f8ece21
parent27ea6be913f42ebeecac43916be3ed43025b2dca
wifi: rtw89: mac: move code related to hardware engine to individual functions

WiFi 7 chips will use the same functionalities but different registers to
control hardware components, so move these stuff into functions, and then
we can implement these for WiFi 7 chips later. This patch doesn't change
logic.

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