]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: add interface config for 8822c
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Thu, 19 Dec 2019 08:58:12 +0000 (16:58 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:37:01 +0000 (17:37 +0200)
commita40f72127a847e1dd6a61b1d945923375a7046eb
treee03de8caa49df909e93c1259b1c9344fd8a4bf00
parent059900944c273901c7805a7c0d23c9532c09b58e
rtw88: add interface config for 8822c

Some devices need to configure interface/HCI related reigsters
in power on flow. Add interface_cfg for HCI for the settings.

The driver only supports RTL8822BE/RTL8822CE now, and since
RTL8822BE does not need to configure PCIE, the configuration
is only added for RTL8822CE. Without it, some of the RTL8822CE
device can crash and disconnected to host in suspend/wowlan mode.

Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/hci.h
drivers/net/wireless/realtek/rtw88/mac.c
drivers/net/wireless/realtek/rtw88/pci.c
drivers/net/wireless/realtek/rtw88/reg.h