xref: /linux/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.h (revision 9410645520e9b820069761f3450ef6661418e279)
16b069898SPing-Ke Shih /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
26b069898SPing-Ke Shih /* Copyright(c) 2019-2022  Realtek Corporation
36b069898SPing-Ke Shih  */
46b069898SPing-Ke Shih 
56b069898SPing-Ke Shih #ifndef __RTW89_8852B_RFK_H__
66b069898SPing-Ke Shih #define __RTW89_8852B_RFK_H__
76b069898SPing-Ke Shih 
86b069898SPing-Ke Shih #include "core.h"
96b069898SPing-Ke Shih 
1010298b53SPing-Ke Shih void rtw8852b_rck(struct rtw89_dev *rtwdev);
11*50b3da25SZong-Zhe Yang void rtw8852b_dack(struct rtw89_dev *rtwdev, enum rtw89_chanctx_idx chanctx_idx);
12*50b3da25SZong-Zhe Yang void rtw8852b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
13*50b3da25SZong-Zhe Yang 		  enum rtw89_chanctx_idx chanctx_idx);
14*50b3da25SZong-Zhe Yang void rtw8852b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
15*50b3da25SZong-Zhe Yang 		     enum rtw89_chanctx_idx chanctx_idx);
165b8471acSPing-Ke Shih void rtw8852b_dpk_init(struct rtw89_dev *rtwdev);
17*50b3da25SZong-Zhe Yang void rtw8852b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
18*50b3da25SZong-Zhe Yang 		  enum rtw89_chanctx_idx chanctx_idx);
195b8471acSPing-Ke Shih void rtw8852b_dpk_track(struct rtw89_dev *rtwdev);
20*50b3da25SZong-Zhe Yang void rtw8852b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
21*50b3da25SZong-Zhe Yang 		   bool hwtx_en, enum rtw89_chanctx_idx chanctx_idx);
22*50b3da25SZong-Zhe Yang void rtw8852b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,
23*50b3da25SZong-Zhe Yang 			const struct rtw89_chan *chan);
247f18a70dSPing-Ke Shih void rtw8852b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start,
25*50b3da25SZong-Zhe Yang 			       enum rtw89_phy_idx phy_idx,
26*50b3da25SZong-Zhe Yang 			       enum rtw89_chanctx_idx chanctx_idx);
276b069898SPing-Ke Shih void rtw8852b_set_channel_rf(struct rtw89_dev *rtwdev,
286b069898SPing-Ke Shih 			     const struct rtw89_chan *chan,
296b069898SPing-Ke Shih 			     enum rtw89_phy_idx phy_idx);
306b069898SPing-Ke Shih 
316b069898SPing-Ke Shih #endif
32