summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtw88/sec.h
diff options
context:
space:
mode:
authorYan-Hsuan Chuang <yhchuang@realtek.com>2019-10-02 05:31:27 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-10-02 07:33:49 +0300
commit04b786e00987c5495dd9a374deb9c9d7f650a9da (patch)
tree92a710a04a1a369a3075689eb673a5721203a74d /drivers/net/wireless/realtek/rtw88/sec.h
parentd3be4d115be05b1b4323286bc69de9e577fc9a0f (diff)
downloadlinux-04b786e00987c5495dd9a374deb9c9d7f650a9da.tar.xz
rtw88: add deep PS PG mode for 8822c
Compare with LCLK mode, PG mode saves more power, by turning off more circuits. Therefore, to recover from PG mode, driver needs to backup some information into rsvd page. Such as CAM entries, DPK results. As CAM entries can change, it is required to re-download CAM entries after set_key. Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/sec.h')
-rw-r--r--drivers/net/wireless/realtek/rtw88/sec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw88/sec.h b/drivers/net/wireless/realtek/rtw88/sec.h
index 8c50a895c797..efcf45433999 100644
--- a/drivers/net/wireless/realtek/rtw88/sec.h
+++ b/drivers/net/wireless/realtek/rtw88/sec.h
@@ -34,6 +34,7 @@ void rtw_sec_write_cam(struct rtw_dev *rtwdev,
void rtw_sec_clear_cam(struct rtw_dev *rtwdev,
struct rtw_sec_desc *sec,
u8 hw_key_idx);
+u8 rtw_sec_cam_pg_backup(struct rtw_dev *rtwdev, u8 *used_cam);
void rtw_sec_enable_sec_engine(struct rtw_dev *rtwdev);
#endif