From: Tzu-En Huang <[email protected]>
These patches update the way of working with the new firmware.
First, there are new information that driver can get from firmware. The
infomation are the supported power saving mode of the firmware, and the
synchronization approach of the firmware(by driver polling registers or
getting a firmware C2H).
Second, update the mechanism for synchronizing the state of power saving
with the firmware.
v2: add rtw88: prefix in the subject
Chin-Yen Lee (4):
rtw88: sync the power state between driver and firmware
rtw88: store firmware feature in firmware header
rtw88: add C2H response for checking firmware leave lps
rtw88: decide lps deep mode from firmware feature.
drivers/net/wireless/realtek/rtw88/fw.c | 6 +-
drivers/net/wireless/realtek/rtw88/fw.h | 11 +-
drivers/net/wireless/realtek/rtw88/mac80211.c | 2 +-
drivers/net/wireless/realtek/rtw88/main.c | 50 +++++--
drivers/net/wireless/realtek/rtw88/main.h | 5 +-
drivers/net/wireless/realtek/rtw88/ps.c | 135 ++++++++++++------
drivers/net/wireless/realtek/rtw88/ps.h | 3 +-
drivers/net/wireless/realtek/rtw88/wow.c | 5 +-
8 files changed, 155 insertions(+), 62 deletions(-)
--
2.17.1