From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> This set enables PCI CLKREQ and ASPM for power save. Basically they should be enabled through PCI configuration space, but for some reasons (see comments in pci.c), they are disabled by default. So driver requires to check the configuration space and then enable them properly. v1 -> v2 * slightly modify code flow to look cleaner Yan-Hsuan Chuang (4): rtw88: pci: use macros to access PCI DBI/MDIO registers rtw88: pci: use for loop instead of while loop for DBI/MDIO rtw88: pci: enable CLKREQ function if host supports it rtw88: allows to enable/disable HCI link PS mechanism drivers/net/wireless/realtek/rtw88/hci.h | 6 + drivers/net/wireless/realtek/rtw88/pci.c | 155 ++++++++++++++++++++--- drivers/net/wireless/realtek/rtw88/pci.h | 16 +++ drivers/net/wireless/realtek/rtw88/ps.c | 6 + 4 files changed, 165 insertions(+), 18 deletions(-) -- 2.17.1