]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: rtw89: 8852b: set proper configuration before loading NCTL
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 5 Oct 2022 08:32:09 +0000 (16:32 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 11 Oct 2022 16:45:19 +0000 (19:45 +0300)
commitd0c820cc5bcf768598ca3e9f6e29f3e4e5589827
treee05ec65ac28c6144f9a3a6efa786c39ea625f9f3
parent0935bb1527d711b1af8e89d4ba200c302fb5ab2b
wifi: rtw89: 8852b: set proper configuration before loading NCTL

Before loading RF NCTL table, we need to configure IQK/DPK clock and reset
them, and then polling NCTL state ready. Since 8852BE needs additional
one setting, add it by this patch. Also, give them proper names.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221005083212.45683-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/reg.h