summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtw89/ps.h
diff options
context:
space:
mode:
authorDian-Syuan Yang <dian_syuan0116@realtek.com>2022-09-22 03:04:35 +0200
committerKalle Valo <kvalo@kernel.org>2022-09-24 14:36:28 +0200
commitf4a43c3b95a0c422cea5dea2e0377728e8ea4475 (patch)
treeca32c58bcb5d12dd286301a82e59590ac42d5bd2 /drivers/net/wireless/realtek/rtw89/ps.h
parentwifi: rtw89: support WMM-PS in P2P GO mode (diff)
downloadlinux-f4a43c3b95a0c422cea5dea2e0377728e8ea4475.tar.xz
linux-f4a43c3b95a0c422cea5dea2e0377728e8ea4475.zip
wifi: rtw89: support for processing P2P power saving
Support P2P client to process Notice of Absence (NoA) mechanism when it connects with P2P GO applying an NoA schedule. We define some action types including init, update, remove and terminate in h2c function to enable/disable NoA schedule. Signed-off-by: Dian-Syuan Yang <dian_syuan0116@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220922010435.12167-6-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/ps.h')
-rw-r--r--drivers/net/wireless/realtek/rtw89/ps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/ps.h b/drivers/net/wireless/realtek/rtw89/ps.h
index 7d371293d6bc..0feae3991623 100644
--- a/drivers/net/wireless/realtek/rtw89/ps.h
+++ b/drivers/net/wireless/realtek/rtw89/ps.h
@@ -12,5 +12,6 @@ void rtw89_leave_ps_mode(struct rtw89_dev *rtwdev);
void rtw89_enter_ips(struct rtw89_dev *rtwdev);
void rtw89_leave_ips(struct rtw89_dev *rtwdev);
void rtw89_set_coex_ctrl_lps(struct rtw89_dev *rtwdev, bool btc_ctrl);
+void rtw89_process_p2p_ps(struct rtw89_dev *rtwdev, struct ieee80211_vif *vif);
#endif