xref: /linux/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2019-2022  Realtek Corporation
3  */
4 
5 #ifndef __RTW89_8852B_RFK_H__
6 #define __RTW89_8852B_RFK_H__
7 
8 #include "core.h"
9 
10 void rtw8852b_rck(struct rtw89_dev *rtwdev);
11 void rtw8852b_dack(struct rtw89_dev *rtwdev, enum rtw89_chanctx_idx chanctx_idx);
12 void rtw8852b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
13 		  enum rtw89_chanctx_idx chanctx_idx);
14 void rtw8852b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
15 		     enum rtw89_chanctx_idx chanctx_idx);
16 void rtw8852b_dpk_init(struct rtw89_dev *rtwdev);
17 void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
18 		  enum rtw89_chanctx_idx chanctx_idx);
19 void rtw8852b_dpk_track(struct rtw89_dev *rtwdev);
20 void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
21 		   bool hwtx_en, enum rtw89_chanctx_idx chanctx_idx);
22 void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
23 			const struct rtw89_chan *chan);
24 void rtw8852b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
25 			       enum rtw89_phy_idx phy_idx,
26 			       enum rtw89_chanctx_idx chanctx_idx);
27 void rtw8852b_set_channel_rf(struct rtw89_dev *rtwdev,
28 			     const struct rtw89_chan *chan,
29 			     enum rtw89_phy_idx phy_idx);
30 
31 #endif
32