wifi: rtw89: correct enable functions of HCI/PCI DMA
authorChin-Yen Lee <timlee@realtek.com>
Mon, 12 Sep 2022 07:17:05 +0000 (15:17 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 10:03:01 +0000 (13:03 +0300)
commit52f127054bf09a9df991b9150d3306188706965e
treef3fd7472dcc77ea83387b67eb69be51a6bad8c46
parent6ff178792907198d7c800fe1cc447ba212a778df
wifi: rtw89: correct enable functions of HCI/PCI DMA

Some PCI and MAC registers are changed for different
chips and correct them accordingly. And HCI MAD functions
belongs to MAC core, so move it to mac.h/.c.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220912071706.13619-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h
drivers/net/wireless/realtek/rtw89/pci.c
drivers/net/wireless/realtek/rtw89/pci.h